Thanks Chris
This is my system python
geomacbk:~ georgewr$ which python2.5
geomacbk:~ georgewr$ which python
And I have installed python2.6 but don't use it ......
geomacbk:~ georgewr$ which python2.6

Python 2.6 (trunk:66714:66715M, Oct  1 2008, 18:36:04)
[GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

Could I use that 2.6 in the same way you have done?
I guess I need a new virtualenv, easy_install, pip to go with it?


On 20/06/2009, at 10:46 AM, Chris McDonough wrote:

All the following is within a virtualenv bfgenv

At the bottom of this page under the heading 'What Gets Installed' is
Paste, PasteScript, and PasteDeploy. Well they didn't  get installed
and I had to install them separately like this:
bin/easy_install -i Paste
bin/easy_install -i
etc ....
In addition each time I tried to create the project I found the
following packages (one at a time) to be missing. They had to be
installed by the same method above:

Only after all this did the command to build the project work:
(bfgenv)geomacbk:bfgenv georgewr$ bin/paster create -t bfg_starter

  Hope these comments are helpful.

Hi George,

Thanks for the comments!

Note that something about your environment is not right. There have been issues like this reported by people using the "system" Python on Mac OS X in conjunction with virtualenv; something about the combination is not quite right.

Personally, I've just avoided the issue by installing Python on my Mac OS X system by hand (by downloading the Python tarball and doing "./configure --prefix=/Users/chrism/opt/Python-2.5.X; make; make install").

Here's terminal output from a successful installation and project creation using that Python installation for me ("virtualenv2.5" used below points at ~/opt/Python-2.5.2/bin/virtualenv on my system):

[chr...@vitaminf repoze]$ virtualenv2.5 --no-site-packages george

George Wright

Repoze-dev mailing list

Reply via email to