Re: problem running helloworld

2011-09-02 Thread Siddhartha Kasivajhula
Okay I looked into it some more, and looks like this may be happening because it's trying to use the system python instead of the env python. If I manually invoke the local env python without calling 'activate', then it seems to work: siddhartha:env2-5-$cd apps siddhartha:apps-6-$which python

Re: problem running helloworld

2011-09-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/02/2011 03:39 PM, Siddhartha Kasivajhula wrote: Okay I looked into it some more, and looks like this may be happening because it's trying to use the system python instead of the env python. If I manually invoke the local env python without

Re: problem running helloworld

2011-09-01 Thread James Murty
I have come across similar problems compiling Python libraries on OS X, caused by not having the Mac OS X 10.4 Support libraries installed (they're optional in X-Code) and by the Mac's version of GCC being incompatible with some code. This blog post might give you some pointers:

Re: problem running helloworld

2011-09-01 Thread Steve Piercy
This one may be helpful too: https://docs.pylonsproject.org/projects/pyramid_cookbook/dev/mac_install.html You are welcome to update the instructions for 10.4. --steve On 8/31/11 at 11:21 PM, ja...@misterm.org (James Murty) pronounced: I have come across similar problems compiling Python

Re: problem running helloworld

2011-09-01 Thread Siddhartha Kasivajhula
Thanks guys, I was able to get it running using those instructions. Though, while working through those I realized that I'd never activated my virtualenv during my initial install attempt -- are the instructions missing that step? link:

Re: problem running helloworld

2011-09-01 Thread Chris McDonough
On Thu, 2011-09-01 at 13:11 -0700, Siddhartha Kasivajhula wrote: Thanks guys, I was able to get it running using those instructions. Though, while working through those I realized that I'd never activated my virtualenv during my initial install attempt -- are the instructions missing that

problem running helloworld

2011-08-31 Thread Siddhartha Kasivajhula
Hi all, I'm new to Pyramid, and let me say first that it looks really cool and I've been meaning to try it for a while :). I was going through the documentation on installation and the hello world app, and I ran into this error message while trying to run helloworld: siddhartha:apps-110-$python

Re: problem running helloworld

2011-08-31 Thread Chris McDonough
On Wed, 2011-08-31 at 11:41 -0700, Siddhartha Kasivajhula wrote: Hi all, I'm new to Pyramid, and let me say first that it looks really cool and I've been meaning to try it for a while :). I was going through the documentation on installation and the hello world app, and I ran into this error

Re: problem running helloworld

2011-08-31 Thread Siddhartha Kasivajhula
Hi Chris, Hmm, I did add that flag: $virtualenv --no-site-packages env New python executable in env/bin/python Installing setuptoolsdone. Installing pip...done. Also, looks like I am able to run gcc from within the env folder: $gcc-4.2 i686-apple-darwin10-gcc-4.2.1: no

Re: problem running helloworld

2011-08-31 Thread Siddhartha Kasivajhula
I just tried creating the virtualenv and then untar'd pyramid 1.1 in the env folder. Then in the pyramid folder: $ ../bin/python setup.py install I checked in env/lib/python/site-packages and it looked like the pyramid/zope libraries were there, but running the helloworld app again gave the same