Thanks Chris
This is my system python
geomacbk:~ georgewr$ which python2.5
/usr/bin/python2.5
geomacbk:~ georgewr$ which python
/usr/bin/python
And I have installed python2.6 but don't use it ......
geomacbk:~ georgewr$ which python2.6
/usr/local/bin/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?

George

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

All the following is within a virtualenv bfgenv

2. 
http://docs.repoze.org/bfg/narr/install.html#installing-repoze-bfg-on-a-unix-system
At the bottom of this page under the heading 'What Gets Installed' is
included
Paste, PasteScript, and PasteDeploy. Well they didn't  get installed
and I had to install them separately like this:
bin/easy_install -i http://dist.repoze.org/bfg/current/simple Paste
and
bin/easy_install -i http://dist.repoze.org/bfg/current/simple
PasteDeploy
etc ....
3.  http://docs.repoze.org/bfg/narr/project.html#creating-the-project
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:
zope.deprecation
zope.event
pytz

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
georg...@bigpond.net.au
http://mywebsite.bigpond.net.au/georgewr/
http://www.labyrinth.net.au/~gwright




_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to