Setting up Python virtualenv: Difference between revisions

From HPCwiki
Jump to navigation Jump to search
Line 8: Line 8:
                                                                       ^
                                                                       ^
</code>
</code>
 
This can be resolved by adding a soft link with the name <code>ipython</code> to the <code>bin</code> directory in the virtual environment folder.
<source lang='bash'>
<source lang='bash'>
ln -s /path/to/virtenv/bin/ipython3 /path/to/virtenv/bin/ipython
ln -s /path/to/virtenv/bin/ipython3 /path/to/virtenv/bin/ipython
</source>
</source>

Revision as of 21:17, 24 November 2013


Make IPython work under virtualenv

   File "/usr/bin/ipython", line 11
   print "Could not start qtconsole. Please install ipython-qtconsole"
                                                                     ^

This can be resolved by adding a soft link with the name ipython to the bin directory in the virtual environment folder. <source lang='bash'> ln -s /path/to/virtenv/bin/ipython3 /path/to/virtenv/bin/ipython </source>