Last active
April 25, 2017 04:09
-
-
Save knzm/00922a91c8d645b0e9e5590473893ece 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
$ python2.7 virtualenv-15.1.0/virtualenv.py testenv | |
New python executable in /private/tmp/testenv/bin/python2.7 | |
Also creating executable in /private/tmp/testenv/bin/python | |
Please make sure you remove any previous custom paths from your /Users/nozom/.pydistutils.cfg file. | |
Installing setuptools, pip, wheel... | |
Complete output from command /private/tmp/testenv/bin/python2.7 - setuptools pip wheel: | |
Collecting setuptools | |
Using cached setuptools-35.0.1-py2.py3-none-any.whl | |
Collecting pip | |
Collecting wheel | |
Collecting six>=1.6.0 (from setuptools) | |
Using cached six-1.10.0-py2.py3-none-any.whl | |
Collecting packaging>=16.8 (from setuptools) | |
Using cached packaging-16.8-py2.py3-none-any.whl | |
Collecting appdirs>=1.4.0 (from setuptools) | |
Using cached appdirs-1.4.3-py2.py3-none-any.whl | |
Collecting pyparsing (from packaging>=16.8->setuptools) | |
Using cached pyparsing-2.2.0-py2.py3-none-any.whl | |
Installing collected packages: six, pyparsing, packaging, appdirs, setuptools, pip, wheel | |
Exception: | |
Traceback (most recent call last): | |
File "/private/tmp/virtualenv-15.1.0/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/basecommand.py", line 215, in main | |
status = self.run(options, args) | |
File "/private/tmp/virtualenv-15.1.0/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/commands/install.py", line 342, in run | |
prefix=options.prefix_path, | |
File "/private/tmp/virtualenv-15.1.0/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/req/req_set.py", line 784, in install | |
**kwargs | |
File "/private/tmp/virtualenv-15.1.0/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/req/req_install.py", line 851, in install | |
self.move_wheel_files(self.source_dir, root=root, prefix=prefix) | |
File "/private/tmp/virtualenv-15.1.0/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/req/req_install.py", line 1064, in move_wheel_files | |
isolated=self.isolated, | |
File "/private/tmp/virtualenv-15.1.0/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/wheel.py", line 345, in move_wheel_files | |
clobber(source, lib_dir, True) | |
File "/private/tmp/virtualenv-15.1.0/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/wheel.py", line 287, in clobber | |
ensure_dir(dest) # common for the 'include' path | |
File "/private/tmp/virtualenv-15.1.0/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/utils/__init__.py", line 83, in ensure_dir | |
os.makedirs(path) | |
File "/private/tmp/testenv/bin/../lib/python2.7/os.py", line 150, in makedirs | |
makedirs(head, mode) | |
File "/private/tmp/testenv/bin/../lib/python2.7/os.py", line 150, in makedirs | |
makedirs(head, mode) | |
File "/private/tmp/testenv/bin/../lib/python2.7/os.py", line 157, in makedirs | |
mkdir(name, mode) | |
OSError: [Errno 13] Permission denied: '/lib' | |
---------------------------------------- | |
...Installing setuptools, pip, wheel...done. | |
Traceback (most recent call last): | |
File "virtualenv-15.1.0/virtualenv.py", line 2328, in <module> | |
main() | |
File "virtualenv-15.1.0/virtualenv.py", line 713, in main | |
symlink=options.symlink) | |
File "virtualenv-15.1.0/virtualenv.py", line 945, in create_environment | |
download=download, | |
File "virtualenv-15.1.0/virtualenv.py", line 901, in install_wheel | |
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT) | |
File "virtualenv-15.1.0/virtualenv.py", line 797, in call_subprocess | |
% (cmd_desc, proc.returncode)) | |
OSError: Command /private/tmp/testenv/bin/python2.7 - setuptools pip wheel failed with error code 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment