Last active
February 27, 2018 08:44
-
-
Save nils-werner/d98aff2b865dac9375570340ce635844 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bash test.sh | |
Running virtualenv with interpreter /usr/local/bin/python3 | |
Using base prefix '/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6' | |
New python executable in /Users/me/sotest/virtenv3/bin/python3.6 | |
Also creating executable in /Users/me/sotest/virtenv3/bin/python | |
Installing setuptools, pip, wheel...done. | |
Running virtualenv with interpreter /usr/local/bin/python2 | |
New python executable in /Users/me/sotest/virtenv2/bin/python2.7 | |
Also creating executable in /Users/me/sotest/virtenv2/bin/python | |
Installing setuptools, pip, wheel...done. | |
Collecting toml | |
Installing collected packages: toml | |
Successfully installed toml-0.9.4 | |
Collecting toml | |
Installing collected packages: toml | |
Successfully installed toml-0.9.4 | |
Collecting toml | |
Installing collected packages: toml | |
Successfully installed toml-0.9.4 | |
ok | |
ok | |
ok | |
ok | |
ok | |
ok |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import toml | |
print("ok") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -rf virtenv3 virtenv2 venv3 | |
virtualenv -p python3 virtenv3 | |
virtualenv -p python2 virtenv2 | |
python3 -mvenv venv3 | |
( | |
source virtenv3/bin/activate | |
pip install toml | |
) | |
( | |
source virtenv2/bin/activate | |
pip install toml | |
) | |
( | |
source venv3/bin/activate | |
pip install toml | |
) | |
( | |
source virtenv3/bin/activate | |
python test.py | |
) | |
( | |
source virtenv2/bin/activate | |
python test.py | |
) | |
( | |
source venv3/bin/activate | |
python test.py | |
) | |
virtenv3/bin/python test.py | |
virtenv2/bin/python test.py | |
venv3/bin/python test.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment