davidmarble / virtualenvwrapper-win

Port of Doug Hellmann's virtualenvwrapper to Windows batch scripts
Other
461 stars 106 forks source link

Win 8 - installation fails - unknown "install_requires" - Pip and easy_install #36

Closed MortalCatalyst closed 9 years ago

MortalCatalyst commented 11 years ago

This is my easy_install error

Extracting in c:\users\saytha~1\appdata\local\temp\easy_install-yxnvih\virtualen vwrapper-win-1.1.5\temp\tmpj5mwnr
Now working in c:\users\saytha~1\appdata\local\temp\easy_install-yxnvih\virtuale nvwrapper-win-1.1.5\temp\tmpj5mwnr\distribute-0.6.46
Building a Distribute egg in c:\users\saytha~1\appdata\local\temp\easy_install-y xnvih\virtualenvwrapper-win-1.1.5
warning: no files found matching 'Makefile' under directory 'docs'
warning: no files found matching 'indexsidebar.html' under directory 'docs'
c:\users\saytha~1\appdata\local\temp\easy_install-yxnvih\virtualenvwrapper-win-1 .1.5\distribute-0.6.46-py2.7.egg
C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'zip_safe'
warnings.warn(msg)
C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
warning: install_lib: 'build\lib' does not exist -- no Python modules to install

It continues to go from there but this seems consistent with where my pip install errors as well.

davidmarble commented 11 years ago

Odd. I don't get any errors on Windows 8 Pro installing virtualenvwrapper-win using the latest easy_install or pip. Pasting from another issue I just commented on:


Try again with the latest setuptools. There's been some funny issues with the past couple releases, but the latest works for me (tested today with both Python27 and Python33).

The pypi instructions now note the best way to install setuptools is by downloading this script:

https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py

For example, I've downloaded it to C:\Downloads. Then with C:\Python27;C:\Python27\Scripts in my PATH:

C:\Downloads>python ez_setup.py

. . . . (a bunch of installation messages)...
Processing setuptools-0.9.8-py2.7.egg
Copying setuptools-0.9.8-py2.7.egg to c:\python27\lib\site-packages
Adding setuptools 0.9.8 to easy-install.pth file
Installing easy_install-2.7-script.py script to C:\Python27\Scripts
Installing easy_install-2.7.exe script to C:\Python27\Scripts
Installing easy_install-script.py script to C:\Python27\Scripts
Installing easy_install.exe script to C:\Python27\Scripts

Installed c:\python27\lib\site-packages\setuptools-0.9.8-py2.7.egg
Processing dependencies for setuptools==0.9.8
Finished processing dependencies for setuptools==0.9.8

C:\Downloads>easy_install virtualenvwrapper-win

. . . . (a bunch of installation messages) . . . . 
Successfully installed virtualenvwrapper-win virtualenv
Cleaning up...

Though I'd recommend pip:

C:\Downloads>python ez_setup.py
. . . . (installation messages, easy_install.exe now installed in C:\Python27\Scripts)
C:\Downloads>easy_install pip
. . . . pip.exe now installed in C:\Python27\Scripts
C:\Downloads>pip install virtualenvwrapper-win
davidmarble commented 9 years ago

Closing as it has been a long time with no new comments