Closed yonnig closed 7 years ago
i have the same problem
Cannot reproduce with pip 9.0.1, either by creating a wheel (note I'm doing this in a fresh virtualenv):
(foo) go|c:\srv> pip install wheel
You are using pip version 6.0.6, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting wheel
Downloading wheel-0.29.0-py2.py3-none-any.whl (66kB)
100% |################################| 69kB 481kB/s ta 0:00:011
Installing collected packages: wheel
Successfully installed wheel-0.29.0
(foo) go|c:\srv> python -m pip install -U pip
You are using pip version 6.0.6, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting pip from https://pypi.python.org/packages/b6/ac/7015eb97dc749283ffdec1c3a88ddb8ae03b8fad0f0e611408f196358da3/pip-9.0.1-py2.py3-none-any.whl#md5=297dbd16ef53bcef0447d245815f5144
Using cached pip-9.0.1-py2.py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 6.0.6
Uninstalling pip-6.0.6:
Successfully uninstalled pip-6.0.6
Successfully installed pip-9.0.1
(foo) go|c:\srv> pip wheel --wheel-dir=\srv\tmp\wheels2 virtualenvwrapper-win
Collecting virtualenvwrapper-win
Using cached virtualenvwrapper-win-1.2.1.zip
Collecting virtualenv (from virtualenvwrapper-win)
Using cached virtualenv-15.1.0-py2.py3-none-any.whl
Saved .\tmp\wheels2\virtualenv-15.1.0-py2.py3-none-any.whl
Skipping virtualenv, due to already being wheel.
Building wheels for collected packages: virtualenvwrapper-win
Running setup.py bdist_wheel for virtualenvwrapper-win ... done
Stored in directory: c:\srv\tmp\wheels2
Successfully built virtualenvwrapper-win
(foo) go|c:\srv> dir c:\srv\tmp\wheels2
Volume in drive C has no label.
Volume Serial Number is 04D6-81F0
Directory of c:\srv\tmp\wheels2
2017-08-03 18:52 <DIR> .
2017-08-03 18:52 <DIR> ..
2017-08-03 18:52 1,820,727 virtualenv-15.1.0-py2.py3-none-any.whl
2017-08-03 18:52 14,557 virtualenvwrapper_win-1.2.1-py2-none-any.whl
2 File(s) 1,835,284 bytes
2 Dir(s) 395,659,206,656 bytes free
(foo) go|c:\srv>
or by pip installing:
(foo) go|c:\srv> pip install virtualenvwrapper-win
Collecting virtualenvwrapper-win
Using cached virtualenvwrapper-win-1.2.1.zip
Collecting virtualenv (from virtualenvwrapper-win)
Using cached virtualenv-15.1.0-py2.py3-none-any.whl
Building wheels for collected packages: virtualenvwrapper-win
Running setup.py bdist_wheel for virtualenvwrapper-win ... done
Stored in directory: C:\Users\bjorn\AppData\Local\pip\Cache\wheels\97\87\19\3c63b1815e3151970c1cb0be616f4ba0f9a2f3436bc0003839
Successfully built virtualenvwrapper-win
Installing collected packages: virtualenv, virtualenvwrapper-win
Successfully installed virtualenv-15.1.0 virtualenvwrapper-win-1.2.1
(foo) go|c:\srv> cdvirtualenv
(foo) go|c:\srv\venv\foo> cd Scripts
(foo) go|c:\srv\venv\foo\Scripts> dir
Volume in drive C has no label.
Volume Serial Number is 04D6-81F0
Directory of c:\srv\venv\foo\Scripts
2017-08-03 18:56 <DIR> .
2017-08-03 18:56 <DIR> ..
2017-08-03 16:48 2,287 activate
2017-08-03 16:48 737 activate.bat
2017-08-03 16:48 8,325 activate.ps1
2017-08-03 16:48 1,137 activate_this.py
2017-08-03 18:56 1,024 add2virtualenv.bat
2017-08-03 18:56 83 cd-.bat
2017-08-03 18:56 644 cdproject.bat
2017-08-03 18:56 368 cdsitepackages.bat
2017-08-03 18:56 350 cdvirtualenv.bat
2017-08-03 16:48 439 deactivate.bat
2017-08-03 16:48 92,020 easy_install-2.7.exe
2017-08-03 16:48 92,020 easy_install.exe
2017-08-03 18:56 421 folder_delete.bat
2017-08-03 18:56 997 lssitepackages.bat
2017-08-03 18:56 267 lsvirtualenv.bat
2017-08-03 18:56 2,314 mkvirtualenv.bat
2017-08-03 18:51 89,432 pip.exe
2017-08-03 18:51 89,432 pip2.7.exe
2017-08-03 18:51 89,432 pip2.exe
2017-08-03 16:48 27,136 python.exe
2017-08-03 16:48 27,648 pythonw.exe
2017-08-03 18:56 1,000 rmvirtualenv.bat
2017-08-03 18:56 994 setprojectdir.bat
2017-08-03 18:56 422 toggleglobalsitepackages.bat
2017-08-03 18:56 89,440 virtualenv.exe
2017-08-03 18:51 91,999 wheel.exe
2017-08-03 18:56 183 whereis.bat
2017-08-03 18:56 1,492 workon.bat
28 File(s) 712,043 bytes
2 Dir(s) 395,656,368,128 bytes free
(foo) go|c:\srv\venv\foo\Scripts>
While I got the following error when installing (pip install virtualenvwrapper-win)...
... *.bat files just installed successfully.
This failure message is puzzling. What do wheels or eggs have to see with installation of *.bat files ?
Environment : pip 7.0.1 from C:\Python27\lib\site-packages (python 2.7)