New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In IPython for Python 3, system site-packages comes before user site-packages #2891
Comments
It's certainly a problem, but off the top of my head, it's not something we're doing. Does the hashbang of IPython definitely point to the same Python executable that you're using? |
Almost - the ipython script has:
but
However, even if I start up
I get:
so it seems that IPython is adding the two extra paths at the top. One of the weird things is that one of the paths it adds it doesn't really add, but just moves it to the top ( |
If I print |
Actually, I'm having difficulties reproducing this, so ignore me for now - I will investigate further and report back |
With no report back, shall we assume this is addressed? Go ahead and reopen if it's still an Issue. |
I noticed the following strange behavior with IPython for Python 3: if I have e.g. Numpy 1.6.2 installed in my system installation (e.g. MacPorts) then if I install the latest dev Numpy (1.8.0.dev) into my
--user
directory,python
will correctly pick up Numpy 1.8.0.dev as having priority, but IPython does not. Here's what I get forsys.path
in both:Python:
IPython:
This does not occur with Python 2, only Python 3. You can see that in IPython there are two extra entries at the top (starting with
/opt/local/
). This is causing all kinds of issues, so I think it's a bug.Just to clarify,
/opt/local/
is MacPorts (system install) and/Volumes/Raptor/
is my home directory.The text was updated successfully, but these errors were encountered: