473,401 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 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 2131

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

Similar topics

5
by: summerwind | last post by:
I have distributed my app to a few users without problems (Not too many anyway) using the packaging wizard. I now have a problem that it causing me a great deal of concern. My client has no MS...
1
by: Karlo Lozovina | last post by:
I've been browsing what Python has to offer in the world of web programming for past few weeks, while preparing to select something for small, quick and dirty projects where my favorable solution,...
9
by: Jaroslaw Zabiello | last post by:
I try to connect to web services (written in C#/.NET) with latest ZSI 2.0rc3 library. It just does not work. from ZSI.ServiceProxy import ServiceProxy wsdl =...
2
by: Adam Kubica | last post by:
Hello. I have pylons 0.96 (SVN) and current SQLAlchemy (0.3.10), and I have bug that doesn't exist earlier. My connection code: <code> import sqlalchemy.mods.threadlocal from sqlalchemy...
1
by: sureshbup | last post by:
Hi to all, I am trying to install CPAN modules using the command perl -MCPAN -e 'install qw (Text::CSV_XS)' but i get the problem like this even i changed the working proxies but none is...
4
by: Mage | last post by:
Hello, I don't want to be impolite, just in short: I am thinking about leaving RoR and coming back to Python. I've missed the last two years in Python, however I have been subscribed to this...
1
by: John Salerno | last post by:
Hi everyone. I was thinking about signing up with a web host that supports Pylons (among many other things) and one of the differences between the various plans is application memory for...
5
by: John Salerno | last post by:
I just installed Pylons onto my hosting server so I could try out templating with Mako, but it seems a little more complicated than that. From the look of it all, the site seems to want a full...
1
by: sniipe | last post by:
Hello, I have a question about framework pylons - how to run(in paster) webpages over https? Is it possible, or not? Best regards
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.