[Zope3-Users] Virtualenv, zopeproject, MinGW and Windows

Mats Nordgren mats at ronin-group.org
Wed Sep 26 16:06:54 EDT 2007


I'm reposting this as my original post was buried in another thread.

I've managed to get the zopeproject to work correctly on my Windows box
thanks to the easy to follow instructions on the PyPI page for it.  Next I
tried to do a "python setup.py install" which, I was informed, is generally
a bad idea to do and was suggested to use "virtualenv" to keep my global
python nice and clean.

So I easy_installed virtualenv and making that work was a simple task.  But
once I'm inside my virtual environment, I can no longer get the zopeproject
to compile the C extensions.

H:\>Python24\Scripts\virtualenv.exe zopetest
New python executable in zopetest\Scripts\python.exe
Installing setuptools...............done.

H:\>cd zopetest

H:\zopetest>Scripts\easy_install.exe zopeproject
Searching for zopeproject
Reading http://pypi.python.org/simple/zopeproject/
Best match: zopeproject 0.4
Downloading
http://pypi.python.org/packages/2.4/z/zopeproject/zopeproject-0.4-py
2.4.egg#md5=3d5aa6290e3664698086f1279229e733
Processing zopeproject-0.4-py2.4.egg
creating h:\zopetest\lib\site-packages\zopeproject-0.4-py2.4.egg
Extracting zopeproject-0.4-py2.4.egg to h:\zopetest\lib\site-packages
Adding zopeproject 0.4 to easy-install.pth file
Installing zopeproject-script.py script to H:\zopetest\Scripts
Installing zopeproject.exe script to H:\zopetest\Scripts

Installed h:\zopetest\lib\site-packages\zopeproject-0.4-py2.4.egg
Processing dependencies for zopeproject
Finished processing dependencies for zopeproject

H:\zopetest>Scripts\zopeproject.exe myzope
Enter user (Name of an initial administrator user): admin
Enter passwd (Password for the initial administrator user): admin
Enter eggs_dir (Location where zc.buildout will look for and place packages)
['C
:\\Documents and Settings\\mats\\buildout-eggs']:
Creating directory .\myzope
Downloading zc.buildout...
Invoking zc.buildout...
zip_safe flag not set; analyzing archive contents...
<snip...>
error: Setup script exited with error: command 'gcc' failed with exit status
1
An error occured when trying to install zope.i18nmessageid 3.4.3.Look above
this
 message for any errors thatwere output by easy_install.
An error occured when trying to install zope.i18nmessageid 3.4.3.Look above
this
 message for any errors thatwere output by easy_install.
While:
  Installing app.
  Getting distribution for 'zope.i18nmessageid'.
Error: Couldn't install: zope.i18nmessageid 3.4.3

Any help appreciated,

Mats
-- 
View this message in context: http://www.nabble.com/Virtualenv%2C-zopeproject%2C-MinGW-and-Windows-tf4524562.html#a12908760
Sent from the Zope3 - users mailing list archive at Nabble.com.



More information about the Zope3-users mailing list