472,127 Members | 1,437 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,127 software developers and data experts.

Problem installing Pylons on OS X

I am reading chapter two of the Pylons book. In the text I am told to run:

Expand|Select|Wrap|Line Numbers
  1. $ python virtualenv.py --no-site-packages env
This is what I got back:

Expand|Select|Wrap|Line Numbers
  1. $ python virtualenv.py --no-site-packages env
  2. New python executable in env/bin/python
  3. Installing setuptools...........
  4.   Complete output from command env/bin/python -c "#!python
  5. \"\"\"Bootstrap setuptoo...
  6.  
  7.  
  8.  
  9.  
  10. " --always-copy -U setuptools:
  11.   Traceback (most recent call last):
  12.   File "<string>", line 270, in <module>
  13.   File "<string>", line 198, in main
  14.   File "/Library/Python/2.5/site-packages/setuptools-0.6c9-py2.5.egg/setuptools/__init__.py", line 2, in <module>
  15.   File "/Library/Python/2.5/site-packages/setuptools-0.6c9-py2.5.egg/setuptools/extension.py", line 1, in <module>
  16.   File "/Users/haitran/Desktop/env/lib/python2.5/distutils/__init__.py", line 14, in <module>
  17.     exec open(os.path.join(distutils_path, '__init__.py')).read()
  18. IOError: [Errno 2] No such file or directory: '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/__init__.py'
  19. ----------------------------------------
  20. ...Installing setuptools...done.
  21. Traceback (most recent call last):
  22.   File "virtualenv.py", line 1230, in <module>
  23.     main()
  24.   File "virtualenv.py", line 420, in main
  25.     unzip_setuptools=options.unzip_setuptools)
  26.   File "virtualenv.py", line 507, in create_environment
  27.     install_setuptools(py_executable, unzip=unzip_setuptools)
  28.   File "virtualenv.py", line 295, in install_setuptools
  29.     cwd=cwd)
  30.   File "virtualenv.py", line 481, in call_subprocess
  31.     % (cmd_desc, proc.returncode))
  32. OSError: Command env/bin/python -c "#!python
  33. \"\"\"Bootstrap setuptoo...
  34.  
  35.  
  36.  
  37.  
  38. " --always-copy -U setuptools failed with error code 1
What does this mean? I know this must be an easy problem since it's the first thing in the book, but this makes no sense to me. I am running Python 2.5.1 on Mac OS 10.5.7.
Jun 27 '09 #1
0 2037

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by summerwind | last post: by
1 post views Thread by Karlo Lozovina | last post: by
9 posts views Thread by Jaroslaw Zabiello | last post: by
2 posts views Thread by Adam Kubica | last post: by
4 posts views Thread by Mage | last post: by
1 post views Thread by John Salerno | last post: by
5 posts views Thread by John Salerno | last post: by
1 post views Thread by sniipe | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.