[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
python [2017/10/13 12:08]
bojar [Virtual environments]
python [2017/10/17 09:19] (current)
belohlavek [Virtual environments]
Line 34: Line 34:
    ​virtualenv my-project-name    ​virtualenv my-project-name
    ​source my-project-name/​bin/​activate    ​source my-project-name/​bin/​activate
 +   
 +==== IPython in virtual envs. ====
 +When using virtuaenvs, ipython is (in some versions) confused uses incorrect python interpreter. The following alias fixes this issue:
 +<​code>​
 +alias ipython="​python -c '​import IPython; IPython.terminal.ipapp.launch_new_instance()'"​
 +</​code>​
  
 ===== Installing directly from Git ===== ===== Installing directly from Git =====

[ Back to the navigation ] [ Back to the content ]