You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, let me congratulate you for this great tool 👍
I'm using MacOSX 10.12 at work and once I cd /path/to/my/python2/only/environment
and try to import numpywhich is not installed so these lines below behave as I expected :
/path/to/my/python2/only/environment : $ python -c "import numpy"
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named numpy
If I want to come back to my original environment (where numpy is already installed) with source deactivate I still get the same error :
/path/to/my/python2/only/environment : $ source deactivate
/path/to/my/python2/only/environment : $ python -c "import numpy"
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named numpy
If I cd .. or just cd and then type source deactivate, then the $ python -c "import numpy" works fine.
Can you have a look ?
The text was updated successfully, but these errors were encountered:
sebma
changed the title
"source deactivate" does not work once env has been activated with your script on MacOSX
"source deactivate" does not work once then environment has been activated with your script on MacOSX
Sep 12, 2017
sebma
changed the title
"source deactivate" does not work once then environment has been activated with your script on MacOSX
"source deactivate" does not work inside the environment once it has been activated with your script on MacOSX
Sep 12, 2017
Hi,
First, let me congratulate you for this great tool 👍
I'm using MacOSX 10.12 at work and once I
cd /path/to/my/python2/only/environment
and try to
import numpy
which is not installed so these lines below behave as I expected :If I want to come back to my original environment (where
numpy
is already installed) withsource deactivate
I still get the same error :If I
cd ..
or justcd
and then typesource deactivate
, then the$ python -c "import numpy"
works fine.Can you have a look ?
The text was updated successfully, but these errors were encountered: