I am trying to make a discord bot with nextcord, but when I try to install it using command prompt, it gives me this error:
× Building wheel for yarl (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [37 lines of output]
C:\Users\klama\AppData\Local\Temp\pip-build-env-pknvci1v\overlay\Lib\site-packages\setuptools\config\setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
warnings.warn(msg, warning_class)
**********************
* Accelerated build *
**********************
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-311
creating build\lib.win-amd64-cpython-311\yarl
copying yarl\_quoting.py -> build\lib.win-amd64-cpython-311\yarl
copying yarl\_quoting_py.py -> build\lib.win-amd64-cpython-311\yarl
copying yarl\_url.py -> build\lib.win-amd64-cpython-311\yarl
copying yarl\__init__.py -> build\lib.win-amd64-cpython-311\yarl
running egg_info
writing yarl.egg-info\PKG-INFO
writing dependency_links to yarl.egg-info\dependency_links.txt
writing requirements to yarl.egg-info\requires.txt
writing top-level names to yarl.egg-info\top_level.txt
reading manifest file 'yarl.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.cache' found anywhere in distribution
warning: no previously-included files found matching 'yarl\*.html'
warning: no previously-included files found matching 'yarl\*.so'
warning: no previously-included files found matching 'yarl\*.pyd'
no previously-included directories found matching 'docs\_build'
adding license file 'LICENSE'
writing manifest file 'yarl.egg-info\SOURCES.txt'
copying yarl\__init__.pyi -> build\lib.win-amd64-cpython-311\yarl
copying yarl\_quoting_c.pyi -> build\lib.win-amd64-cpython-311\yarl
copying yarl\_quoting_c.pyx -> build\lib.win-amd64-cpython-311\yarl
copying yarl\py.typed -> build\lib.win-amd64-cpython-311\yarl
running build_ext
building 'yarl._quoting_c' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for yarl
Failed to build frozenlist multidict yarl
ERROR: Could not build wheels for frozenlist, multidict, yarl, which is required to install pyproject.toml-based projects
I've tried updating my pip, but it says "Requirement already satisfied". I've been looking for about 2 hours an a half and still can't find it.
Just instal python 3.10. I tried instal Microsoft Visual C++ 14.0... did not work out
The error message you posted says it all: you need Microsoft Visual C++ 14.0 or greater.
For those of you here because you got this error after updating your Python Docker image to Python 3.11, it may be because gcc and other C++ libraries aren't included in the image anymore. For example, this can be fixed in 3.11.0-slim-buster by adding the following line to your Dockerfile
RUN apt-get update && \
apt-get install -y --no-install-recommends build-essential && \
rm -rf /var/lib/apt/lists/*
Related
I have tried Containerising an django project. I was using python:alpine image. The app needed backports.zoneinfo to be installed as requirement. While running pip install -r requirements.txt its showing error when it try to install the backports.zoneinfo.
requirements.txt
asgiref==3.5.0
backports.zoneinfo==0.2.1
Django==4.0.2
sqlparse==0.4.2
Then I have opened docker container in interactive mode and tried pip install backports.zoneinfo. There also its showing same error.
I have tried the same commands in python:3.9.10 image. It was working fine and the package got installed. This error can be reproduced using any of slim, alpine images.
I have went through couple of fixes. But it wasn't working. Few of the fixes that I have tried are given below. I have tried these inside the container.
pip upgrade
pip upgrade wheel
apt/apk install gcc
apt/apk install gzdata
pip install python-dev-tools
apt/apk install gcc-c++
To reproduce the error
Command
docker pull python:alpine
docker run -it python:alpine sh
pip install backports.zoneinfo
Error
Collecting backports.zoneinfo
Downloading backports.zoneinfo-0.2.1.tar.gz (74 kB)
|████████████████████████████████| 74 kB 692 kB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Building wheels for collected packages: backports.zoneinfo
Building wheel for backports.zoneinfo (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python /usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmprpnblifv
cwd: /tmp/pip-install-tese9bhy/backports-zoneinfo_cf483b65d8814b8c8a8db93a7369c0cf
Complete output (35 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/backports
copying src/backports/__init__.py -> build/lib.linux-x86_64-3.9/backports
creating build/lib.linux-x86_64-3.9/backports/zoneinfo
copying src/backports/zoneinfo/_tzpath.py -> build/lib.linux-x86_64-3.9/backports/zoneinfo
copying src/backports/zoneinfo/_zoneinfo.py -> build/lib.linux-x86_64-3.9/backports/zoneinfo
copying src/backports/zoneinfo/_common.py -> build/lib.linux-x86_64-3.9/backports/zoneinfo
copying src/backports/zoneinfo/__init__.py -> build/lib.linux-x86_64-3.9/backports/zoneinfo
copying src/backports/zoneinfo/_version.py -> build/lib.linux-x86_64-3.9/backports/zoneinfo
running egg_info
writing src/backports.zoneinfo.egg-info/PKG-INFO
writing dependency_links to src/backports.zoneinfo.egg-info/dependency_links.txt
writing requirements to src/backports.zoneinfo.egg-info/requires.txt
writing top-level names to src/backports.zoneinfo.egg-info/top_level.txt
reading manifest file 'src/backports.zoneinfo.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.png' under directory 'docs'
warning: no files found matching '*.svg' under directory 'docs'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'docs/_output'
adding license file 'LICENSE'
adding license file 'licenses/LICENSE_APACHE'
writing manifest file 'src/backports.zoneinfo.egg-info/SOURCES.txt'
copying src/backports/zoneinfo/__init__.pyi -> build/lib.linux-x86_64-3.9/backports/zoneinfo
copying src/backports/zoneinfo/py.typed -> build/lib.linux-x86_64-3.9/backports/zoneinfo
running build_ext
building 'backports.zoneinfo._czoneinfo' extension
creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/lib
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.9 -c lib/zoneinfo_module.c -o build/temp.linux-x86_64-3.9/lib/zoneinfo_module.o -std=c99
error: command 'gcc' failed: No such file or directory
----------------------------------------
ERROR: Failed building wheel for backports.zoneinfo
ERROR: Could not build wheels for backports.zoneinfo which use PEP 517 and cannot be installed directly
It's complaining about a missing file or directory. It's a bit misleading since it's gcc that's missing. In alpine, you'll also have to install musl-dev, too, to get all the required development files.
apk add -u gcc musl-dev
Also, python:alpine3.15 is using python3.10 which doesn't seem to be supported by backports.zoneinfo. https://github.com/pganssle/zoneinfo/issues/111
QUICK NOTE: This question is probably more related to macos or zsh than python.
I am trying to install discord.py on macos monterey, though I have the xcode command line tools, I am facing errors while installing discord.py. I am running Python 3.11.0a5.
The whole output:
Collecting discord.py
Using cached discord.py-1.7.3-py3-none-any.whl (786 kB)
Collecting aiohttp<3.8.0,>=3.6.0
Using cached aiohttp-3.7.4.post0-py3-none-any.whl
Collecting yarl<2.0,>=1.0
Using cached yarl-1.7.2.tar.gz (168 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting async-timeout<4.0,>=3.0
Using cached async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
Collecting chardet<5.0,>=2.0
Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting typing-extensions>=3.6.5
Using cached typing_extensions-4.1.1-py3-none-any.whl (26 kB)
Collecting multidict<7.0,>=4.5
Using cached multidict-6.0.2-cp311-cp311-macosx_10_9_universal2.whl
Collecting attrs>=17.3.0
Using cached attrs-21.4.0-py2.py3-none-any.whl (60 kB)
Collecting idna>=2.0
Using cached idna-3.3-py3-none-any.whl (61 kB)
Building wheels for collected packages: yarl
Building wheel for yarl (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for yarl (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [43 lines of output]
**********************
* Accelerated build *
**********************
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.9-universal2-3.11
creating build/lib.macosx-10.9-universal2-3.11/yarl
copying yarl/_url.py -> build/lib.macosx-10.9-universal2-3.11/yarl
copying yarl/_quoting_py.py -> build/lib.macosx-10.9-universal2-3.11/yarl
copying yarl/__init__.py -> build/lib.macosx-10.9-universal2-3.11/yarl
copying yarl/_quoting.py -> build/lib.macosx-10.9-universal2-3.11/yarl
running egg_info
writing yarl.egg-info/PKG-INFO
writing dependency_links to yarl.egg-info/dependency_links.txt
writing requirements to yarl.egg-info/requires.txt
writing top-level names to yarl.egg-info/top_level.txt
reading manifest file 'yarl.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.cache' found anywhere in distribution
warning: no previously-included files found matching 'yarl/*.html'
warning: no previously-included files found matching 'yarl/*.so'
warning: no previously-included files found matching 'yarl/*.pyd'
no previously-included directories found matching 'docs/_build'
adding license file 'LICENSE'
writing manifest file 'yarl.egg-info/SOURCES.txt'
copying yarl/__init__.pyi -> build/lib.macosx-10.9-universal2-3.11/yarl
copying yarl/_quoting_c.c -> build/lib.macosx-10.9-universal2-3.11/yarl
copying yarl/_quoting_c.pyi -> build/lib.macosx-10.9-universal2-3.11/yarl
copying yarl/_quoting_c.pyx -> build/lib.macosx-10.9-universal2-3.11/yarl
copying yarl/py.typed -> build/lib.macosx-10.9-universal2-3.11/yarl
running build_ext
building 'yarl._quoting_c' extension
creating build/temp.macosx-10.9-universal2-3.11
creating build/temp.macosx-10.9-universal2-3.11/yarl
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c yarl/_quoting_c.c -o build/temp.macosx-10.9-universal2-3.11/yarl/_quoting_c.o
yarl/_quoting_c.c:198:12: fatal error: 'longintrepr.h' file not found
#include "longintrepr.h"
^~~~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for yarl
Failed to build yarl
ERROR: Could not build wheels for yarl, which is required to install pyproject.toml-based projects
https://docs.python.org/3.11/whatsnew/3.11.html#whatsnew311-c-api-porting
You're getting an error because you're using an alpha release of Python 3.11 and YARL hasn't been updated to support it yet.
The non-limited API files cellobject.h, classobject.h, code.h, context.h, funcobject.h, genobject.h and longintrepr.h have been moved to the Include/cpython directory. Moreover, the eval.h header file was removed. These files must not be included directly, as they are already included in Python.h: Include Files. If they have been included directly, consider including Python.h instead. (Contributed by Victor Stinner in bpo-35134.)
You should use a supported version of Python 3.10.
Try upgrading it:
pip install -U yarl
I've been wanting to make a bot for discord using discord.py, yet whenever I install the package, it spits out an error like this
**********************
* Accellerated build *
**********************
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\yarl
copying yarl\_quoting.py -> build\lib.win-amd64-3.9\yarl
copying yarl\_quoting_py.py -> build\lib.win-amd64-3.9\yarl
copying yarl\_url.py -> build\lib.win-amd64-3.9\yarl
copying yarl\__init__.py -> build\lib.win-amd64-3.9\yarl
running egg_info
writing yarl.egg-info\PKG-INFO
writing dependency_links to yarl.egg-info\dependency_links.txt
writing requirements to yarl.egg-info\requires.txt
writing top-level names to yarl.egg-info\top_level.txt
reading manifest file 'yarl.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.cache' found anywhere in distribution
warning: no previously-included files found matching 'yarl\*.html'
warning: no previously-included files found matching 'yarl\*.so'
warning: no previously-included files found matching 'yarl\*.pyd'
no previously-included directories found matching 'docs\_build'
writing manifest file 'yarl.egg-info\SOURCES.txt'
copying yarl\__init__.pyi -> build\lib.win-amd64-3.9\yarl
copying yarl\_quoting_c.c -> build\lib.win-amd64-3.9\yarl
copying yarl\_quoting_c.pyi -> build\lib.win-amd64-3.9\yarl
copying yarl\_quoting_c.pyx -> build\lib.win-amd64-3.9\yarl
copying yarl\py.typed -> build\lib.win-amd64-3.9\yarl
running build_ext
building 'yarl._quoting_c' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Failed building wheel for yarl
Failed to build multidict yarl
ERROR: Could not build wheels for multidict, yarl which use PEP 517 and cannot be installed directly
I have tried to install the wheel using pip and tried installing the Microsoft C++ Build Tools at the bottom of the error message, but it still hasn't worked. Any help would be appreciated.
using python 3.8.6 instead of 3.9 worked for me!
i tried to install discord.py but something went wrong, i don't know why, ,can someone help me?
i have execute this command:
pip install discord
right now i'm using python 3.9.0, maybe i should be using version 3.5.3?
MY TERMINAL:
PS C:\Users\badreddinelaghlid\Desktop\codaggio con python> pip install discord
Collecting discord
Downloading discord-1.0.1-py3-none-any.whl (1.1 kB)
Collecting discord.py>=1.0.1
Downloading discord.py-1.5.1-py3-none-any.whl (701 kB)
|████████████████████████████████| 701 kB 1.3 MB/s
Collecting aiohttp<3.7.0,>=3.6.0
Downloading aiohttp-3.6.3.tar.gz (1.1 MB)
|████████████████████████████████| 1.1 MB 726 kB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting yarl<1.6.0,>=1.0
Downloading yarl-1.5.1.tar.gz (173 kB)
|████████████████████████████████| 173 kB 1.6 MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting chardet<4.0,>=2.0
Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
|████████████████████████████████| 133 kB 2.2 MB/s
Collecting attrs>=17.3.0
Downloading attrs-20.2.0-py2.py3-none-any.whl (48 kB)
|████████████████████████████████| 48 kB 2.2 MB/s
Collecting async-timeout<4.0,>=3.0
Downloading async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
Collecting multidict<5.0,>=4.5
Downloading multidict-4.7.6.tar.gz (50 kB)
|████████████████████████████████| 50 kB 3.1 MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting idna>=2.0
Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 1.7 MB/s
Building wheels for collected packages: aiohttp, yarl, multidict
Building wheel for aiohttp (PEP 517) ... done
Created wheel for aiohttp: filename=aiohttp-3.6.3-py3-none-any.whl size=440479 sha256=515efabf51ce43d3d161e6a2829a8b366438049af887a441fc5aee702f0830f0
Stored in directory: c:\users\badreddinelaghlid\appdata\local\pip\cache\wheels\b6\9c\bd\6b99bc6ec9dab11f3756d31fb8506d3ecf07aea58b6201f539
Building wheel for yarl (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\badreddinelaghlid\appdata\local\programs\python\python39-32\python.exe' 'c:\users\badreddinelaghlid\appdata\local\programs\python\python39-32\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\BADRED~1\AppData\Local\Temp\tmpz_p_dipv'
cwd: C:\Users\badreddinelaghlid\AppData\Local\Temp\pip-install-ty37tuq6\yarl
Complete output (35 lines):
**********************
* Accellerated build *
**********************
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.9
creating build\lib.win32-3.9\yarl
copying yarl\_quoting.py -> build\lib.win32-3.9\yarl
copying yarl\_quoting_py.py -> build\lib.win32-3.9\yarl
copying yarl\_url.py -> build\lib.win32-3.9\yarl
copying yarl\__init__.py -> build\lib.win32-3.9\yarl
running egg_info
writing yarl.egg-info\PKG-INFO
writing dependency_links to yarl.egg-info\dependency_links.txt
writing requirements to yarl.egg-info\requires.txt
writing top-level names to yarl.egg-info\top_level.txt
reading manifest file 'yarl.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.cache' found anywhere in distribution
warning: no previously-included files found matching 'yarl\*.html'
warning: no previously-included files found matching 'yarl\*.so'
warning: no previously-included files found matching 'yarl\*.pyd'
no previously-included directories found matching 'docs\_build'
writing manifest file 'yarl.egg-info\SOURCES.txt'
copying yarl\__init__.pyi -> build\lib.win32-3.9\yarl
copying yarl\_quoting_c.c -> build\lib.win32-3.9\yarl
copying yarl\_quoting_c.pyi -> build\lib.win32-3.9\yarl
copying yarl\_quoting_c.pyx -> build\lib.win32-3.9\yarl
copying yarl\py.typed -> build\lib.win32-3.9\yarl
running build_ext
building 'yarl._quoting_c' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Failed building wheel for yarl
Building wheel for multidict (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\badreddinelaghlid\appdata\local\programs\python\python39-32\python.exe' 'c:\users\badreddinelaghlid\appdata\local\programs\python\python39-32\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\BADRED~1\AppData\Local\Temp\tmpitmt1bzr'
cwd: C:\Users\badreddinelaghlid\AppData\Local\Temp\pip-install-ty37tuq6\multidict
Complete output (40 lines):
**********************
* Accellerated build *
**********************
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.9
creating build\lib.win32-3.9\multidict
copying multidict\_abc.py -> build\lib.win32-3.9\multidict
copying multidict\_compat.py -> build\lib.win32-3.9\multidict
copying multidict\_multidict_base.py -> build\lib.win32-3.9\multidict
copying multidict\_multidict_py.py -> build\lib.win32-3.9\multidict
copying multidict\__init__.py -> build\lib.win32-3.9\multidict
running egg_info
writing multidict.egg-info\PKG-INFO
writing dependency_links to multidict.egg-info\dependency_links.txt
writing top-level names to multidict.egg-info\top_level.txt
reading manifest file 'multidict.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files found matching 'multidict\_multidict.html'
warning: no previously-included files found matching 'multidict\*.so'
warning: no previously-included files found matching 'multidict\*.pyd'
warning: no previously-included files found matching 'multidict\*.pyd'
no previously-included directories found matching 'docs\_build'
writing manifest file 'multidict.egg-info\SOURCES.txt'
copying multidict\__init__.pyi -> build\lib.win32-3.9\multidict
copying multidict\_multidict.c -> build\lib.win32-3.9\multidict
copying multidict\py.typed -> build\lib.win32-3.9\multidict
creating build\lib.win32-3.9\multidict\_multilib
copying multidict\_multilib\defs.h -> build\lib.win32-3.9\multidict\_multilib
copying multidict\_multilib\dict.h -> build\lib.win32-3.9\multidict\_multilib
copying multidict\_multilib\istr.h -> build\lib.win32-3.9\multidict\_multilib
copying multidict\_multilib\iter.h -> build\lib.win32-3.9\multidict\_multilib
copying multidict\_multilib\pair_list.h -> build\lib.win32-3.9\multidict\_multilib
copying multidict\_multilib\views.h -> build\lib.win32-3.9\multidict\_multilib
running build_ext
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Failed building wheel for multidict
Successfully built aiohttp
Failed to build yarl multidict
ERROR: Could not build wheels for yarl, multidict which use PEP 517 and cannot be installed directly
I haven't been coding in a long time so.. I may have forgotten something..
thanks for attention.
There's the problem: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/. U need to download it.
There are some issues with discord.pyand python3.9 on Windows, see:
https://github.com/Rapptz/discord.py/issues/5984
I would recommend you to use python<=3.8 as 3.9.0 is too new.
I'm new to programming--loving it. On mac OSX Lion I've installed virtualenv with pip and it works.
But pip install virtualenvwrapper shows warnings and then error: /Library/Python/2.7/site-packages/virtualenvwrapper: Permission denied
$ pip install virtualenvwrapper Downloading/unpacking
virtualenvwrapper Downloading virtualenvwrapper-4.1.1.tar.gz (81kB):
81kB downloaded Running setup.py egg_info for package
virtualenvwrapper
Installed /private/var/folders/6v/3cyz6tp514b2mqt02wc8x9k40000gn/T/pip_build_lynnrasmussen/virtualenvwrapper/pbr-0.5.23-py2.7.egg
[pbr] Processing SOURCES.txt
warning: LocalManifestMaker: standard file '-c' not found
warning: no files found matching 'AUTHORS'
warning: no files found matching 'ChangeLog'
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no files found matching '*.html' under directory 'docs'
warning: no files found matching '*.css' under directory 'docs'
warning: no files found matching '*.js' under directory 'docs'
warning: no files found matching '*.png' under directory 'docs' Requirement already satisfied (use --upgrade to upgrade): virtualenv
in /Library/Python/2.7/site-packages (from virtualenvwrapper)
Downloading/unpacking virtualenv-clone (from virtualenvwrapper)
Downloading virtualenv-clone-0.2.4.tar.gz Running setup.py egg_info
for package virtualenv-clone
Downloading/unpacking stevedore (from virtualenvwrapper) Downloading stevedore-0.13.tar.gz (760kB): 760kB downloaded Running
setup.py egg_info for package stevedore
Installed /private/var/folders/6v/3cyz6tp514b2mqt02wc8x9k40000gn/T/pip_build_lynnrasmussen/stevedore/pbr-0.5.23-py2.7.egg
[pbr] Processing SOURCES.txt
warning: LocalManifestMaker: standard file '-c' not found
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no files found matching '*.py' under directory 'tests' Installing collected packages: virtualenvwrapper, virtualenv-clone,
stevedore Running setup.py install for virtualenvwrapper
[pbr] Reusing existing SOURCES.txt
changing mode of build/scripts-2.7/virtualenvwrapper.sh from 644 to 755
changing mode of build/scripts-2.7/virtualenvwrapper_lazy.sh from 644 to 755
Skipping installation of /Library/Python/2.7/site-packages/virtualenvwrapper/init.py
(namespace package)
error: /Library/Python/2.7/site-packages/virtualenvwrapper: Permission denied
Complete output from command /usr/bin/python -c "import setuptools;file='/private/var/folders/6v/3cyz6tp514b2mqt02wc8x9k40000gn/T/pip_build_lynnrasmussen/virtualenvwrapper/setup.py';exec(compile(open(file).read().replace('\r\n',
'\n'), file, 'exec'))" install --record
/var/folders/6v/3cyz6tp514b2mqt02wc8x9k40000gn/T/pip-EJKEQQ-record/install-record.txt
--single-version-externally-managed:
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/virtualenvwrapper
copying virtualenvwrapper/init.py -> build/lib/virtualenvwrapper
copying virtualenvwrapper/hook_loader.py ->
build/lib/virtualenvwrapper
copying virtualenvwrapper/project.py -> build/lib/virtualenvwrapper
copying virtualenvwrapper/user_scripts.py ->
build/lib/virtualenvwrapper
running egg_info
writing requirements to virtualenvwrapper.egg-info/requires.txt
writing virtualenvwrapper.egg-info/PKG-INFO
writing namespace_packages to
virtualenvwrapper.egg-info/namespace_packages.txt
writing top-level names to virtualenvwrapper.egg-info/top_level.txt
writing dependency_links to
virtualenvwrapper.egg-info/dependency_links.txt
writing entry points to virtualenvwrapper.egg-info/entry_points.txt
[pbr] Reusing existing SOURCES.txt
running build_scripts
creating build/scripts-2.7
copying virtualenvwrapper.sh -> build/scripts-2.7
copying virtualenvwrapper_lazy.sh -> build/scripts-2.7
changing mode of build/scripts-2.7/virtualenvwrapper.sh from 644 to
755
changing mode of build/scripts-2.7/virtualenvwrapper_lazy.sh from 644
to 755
running install_lib
Skipping installation of
/Library/Python/2.7/site-packages/virtualenvwrapper/init.py
(namespace package)
copying virtualenvwrapper/hook_loader.py ->
/Library/Python/2.7/site-packages/virtualenvwrapper
error: /Library/Python/2.7/site-packages/virtualenvwrapper: Permission
denied
You should install as Super User.
Try :
sudo pip install virtualenvwrapper