[pypy-dev] Windows 7 64-bit Problems installing pip or virutalenv

Gelonida N gelonida at gmail.com
Sun Sep 9 03:27:52 CEST 2012


Hi,

Just doing some experiments with PyPy

I'd like to install pip / virutalenv.
With pypy and Linux no problem

With CPython (32 bit) and windows 7 64-bit no problem

With pypy and Windows 7 64-bit no success.

Any hints ???? I even tried it with disabling the antivirus.

In fact so far I couldn't download and install any package successfully.
Perhaps somebody could recommend a very simple package as a starting poimt.

Experimenting without virtualenv is a serious pain.


Installing pypy and easy_install (setuptools) seems to work
Installing virtualenv / pip always fails.

I'm running out of ideas. SO any help is welcome.

Below the details.



Step 1: Download and unpack pypy
-------------------------------------
I open a cmd window

I downloaded pypy1.9.0  and extracted it to a directory (%PYPY_PATH%)



Step 2: Installing easy_install (setup_tools)
-----------------------------------------------

I download http://python-distribute.org/distribute_setup.py
and install it with

cd  %PYPY_PATH%
pypy.exe distribute_setup.py

This seems to work basically. However a really strange message is:

Don't have permissions to write 
C:\test\pypy-1.9\site-packages\setuptools-0.6c11-py2.7.egg-info, skipping

Not sure, where this is coming from. I assume, that another thread / 
process didn't close the file properly


Just for fun I tried this also with a privileged window.
Same problem:

Step 3: Try to install virtualenv
-------------------------------------
I tried following steps in a normal cmd window awith a cmd window with 
admin privileges.

When starting virtualenv from a admin-cmd window.
Then I get following output:



C:\test>pypy-1.9.2\bin\easy_install.exe virtualenv
Searching for virtualenv
Reading http://pypi.python.org/simple/virtualenv/
Reading http://www.virtualenv.org
Reading http://virtualenv.openplans.org
Best match: virtualenv 1.8.2
Downloading 
http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.8.2.tar.gz#md5=174ca075c6b1a42c685415692ec4ce2e
Processing virtualenv-1.8.2.tar.gz
Writing 
c:\users\XXXXX\appdata\local\temp\easy_install-ubcvxv\virtualenv-1.8.2\setup.cfg
Running virtualenv-1.8.2\setup.py -q bdist_egg --dist-dir 
c:\users\XXXXX\appdata\local\temp\easy_install-ubcvxv\virtualenv-1.8.2\egg-dist-tmp-cd7mao
warning: no previously-included files matching '*' found under directory 
'docs\_templates'
warning: no previously-included files matching '*' found under directory 
'docs\_build'
No eggs found in 
c:\users\XXXX\appdata\local\temp\easy_install-ubcvxv\virtualenv-1.8.2\egg-dist-tmp-cd7mao 
(setup script problem?)

C:\test>

Step 4) Trying to Install pip
-------------------------------
Installing pip fails as well.

C:\test>pypy-1.9.2\bin\easy_install.exe pip
Searching for pip
Reading http://pypi.python.org/simple/pip/
Reading http://www.pip-installer.org
Reading http://pip.openplans.org
Best match: pip 1.2.1
Downloading 
http://pypi.python.org/packages/source/p/pip/pip-1.2.1.tar.gz#md5=db8a6d8a4564d3dc7f337ebed67b1a85
Processing pip-1.2.1.tar.gz
Writing 
c:\users\XXXX\appdata\local\temp\easy_install-rxf5c5\pip-1.2.1\setup.cfg
Running pip-1.2.1\setup.py -q bdist_egg --dist-dir 
c:\users\XXXX\appdata\local\temp\easy_install-rxf5c5\pip-1.2.1\egg-dist-tmp-an2nbn
warning: no files found matching '*.html' under directory 'docs'
warning: no previously-included files matching '*.txt' found under 
directory 'docs\_build'
no previously-included directories found matching 'docs\_build\_sources'
No eggs found in 
c:\users\XXXX\appdata\local\temp\easy_install-rxf5c5\pip-1.2.1\egg-dist-tmp-an2nbn 
(setup script problem?)
error: 
c:\users\XXXX\appdata\local\temp\easy_install-rxf5c5\pip-1.2.1\docs\index.txt: 
The process cannot access the file because it is being used by another p
rocess.

C:\test>


If I start, easy_install as normal user, then I get first a popu asking 
me if I want to allow easy_install to make changes to my computer.

then a new cmd window opens with some messages (dowmloading, . . . )
then the window disappears
and then I get a popup, that windows is not sure my program installed 
correctly
















More information about the pypy-dev mailing list