https://bugzilla.novell.com/show_bug.cgi?id=477595 Summary: easy_install does not work out-of-the-box Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86 OS/Version: openSUSE 11.1 Status: NEW Severity: Minor Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: novell@wayoverthere.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (compatible; Konqueror/4.2; Linux; X11; en-US, en) KHTML/4.2.0 (like Gecko) SUSE Trying to use easy_install (from python-setuptools) to install Python eggs doesn't work. It is trying to use /usr/local/lib/python2.6/site-packages, which doesn't exist. I was able to fix it with "mkdir -p /usr/local/lib/python2.6/site-packages/", but I'm sure either the python-devel or python-setuptools packages should have created that directory. Reproducible: Always Steps to Reproduce: 1. easy_install psyco (as root) 2. 3. Actual Results: /usr/lib/python2.6/site-packages/setuptools/package_index.py:7: DeprecationWarning: the md5 module is deprecated; use hashlib instead from md5 import md5 error: can't create or remove files in install directory The following error occurred while trying to add or remove files in the installation directory: [Errno 2] No such file or directory: '/usr/local/lib/python2.6/site-packages/test-easy-install-1643.pth' The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was: /usr/local/lib/python2.6/site-packages/ This directory does not currently exist. Please create it and try again, or choose a different installation directory (using the -d or --install-dir option). Expected Results: /usr/lib/python2.6/site-packages/setuptools/package_index.py:7: DeprecationWarning: the md5 module is deprecated; use hashlib instead from md5 import md5 Searching for psyco Reading http://pypi.python.org/simple/psyco/ Reading http://psyco.sourceforge.net/ Best match: psyco snapshot Downloading http://wyvern.cs.uni-duesseldorf.de/psyco/psyco-snapshot.tar.gz Processing psyco-snapshot.tar.gz Running psyco-dist/setup.py -q bdist_egg --dist-dir /tmp/easy_install-BvjvwO/psyco-dist/egg-dist-tmp-39unO9 PROCESSOR = 'i386' c/codegen.c:128: warning: ‘psyco_source_condition’ defined but not used c/codegen.c:748: warning: ‘integer_lshift’ defined but not used c/Objects/plistobject.c:116: warning: ‘PsycoList_SingletonNew’ defined but not used zip_safe flag not set; analyzing archive contents... psyco.__init__: module references __path__ Adding psyco 1.6 to easy-install.pth file Installed /usr/local/lib/python2.6/site-packages/psyco-1.6-py2.6-linux-i686egg Processing dependencies for psyco Finished processing dependencies for psyco I think (not 100% sure) that this problem existed in 11.0 also. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.