Setting up Python virtualenv: Difference between revisions

From HPCwiki
Jump to navigation Jump to search
Phase 1 § 5 P1.5.5: content merged into Python (built-in venv supersedes virtualenv/pyvenv) (via update-page on MediaWiki MCP Server)
Tag: New redirect
 
(37 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
#REDIRECT [[Python#Virtual environments]]
 
=== Make IPython work under virtualenv === 
 
<code>
    File "/usr/bin/ipython", line 11
    print "Could not start qtconsole. Please install ipython-qtconsole"
                                                                      ^
</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'>
ln -s /path/to/virtenv/bin/ipython3 /path/to/virtenv/bin/ipython
</source>

Latest revision as of 14:01, 16 June 2026