Created
December 20, 2010 16:01
-
-
Save konryd/748554 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
gunvor:~ konryd$ cd /tmp | |
gunvor:tmp konryd$ mkdir someenv | |
gunvor:tmp konryd$ cd someenv | |
gunvor:someenv konryd$ virtualenv . | |
New python executable in ./bin/python | |
Installing setuptools............done. | |
gunvor:someenv konryd$ bin/pip install mock | |
Downloading/unpacking mock | |
Downloading mock-0.7.0b4.zip (310Kb): 310Kb downloaded | |
Running setup.py egg_info for package mock | |
Installing collected packages: mock | |
Running setup.py install for mock | |
Successfully installed mock | |
Cleaning up... | |
gunvor:someenv konryd$ python -c "import mock" | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
ImportError: No module named mock | |
gunvor:someenv konryd$ bin/python -c "import mock" # wersja Pythona wygenerowana w tym środowisku | |
gunvor:someenv konryd$ echo $? | |
0 | |
gunvor:someenv konryd$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment