Turns-out the problem was that I had an old version of pcreate in the dirs where home-brew installs python .. on both machines.
Thanks for the tips. On Wednesday, April 16, 2014 12:27:08 PM UTC-4, Tres Seaver wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 04/16/2014 02:27 AM, Marius Gedminas wrote: > > On Tue, Apr 15, 2014 at 09:07:05PM -0700, Michael wrote: > >> after creating a new virtualenv and installing pyramid via > >> easy_install, I simply call `pcreate` and I get this error: > >> > >> pkg_resources.DistributionNotFound: pyramid==1.5a2 > >> > >> any ideas why? Python 2.7.3 Log follows: > >> > >> > >> [michael@varga (Tue Apr 15 23:47:39) ~/src/py]% virtualenv test_env > >> [michael@varga (Tue Apr 15 23:47:52) ~/src/py]% cd test_env > >> [michael@varga (Tue Apr 15 23:47:55) ~/src/py/test_env]% source > >> bin/activate (test_env)[michael@varga (Tue Apr 15 23:48:25) > >> ~/src/py/test_env]% easy_install pyramid > > ... > >> Best match: pyramid 1.5 > > ... > >> Installing pcreate script to /Users/michael/src/py/test_env/bin > > ... > >> (test_env)[michael@varga (Tue Apr 15 23:48:43) ~/src/py/test_env]% > >> pcreate Traceback (most recent call last): File > >> "/usr/local/bin/pcreate", line 5, in <module> > > > > Look closely here: you're running /usr/local/bin/pcreate instead of > > /Users/michael/src/py/test_env/bin/pcreate. > > > > Why? I'd've assumed that sourcing the activate script would put > > /Users/michael/src/py/test_env/bin/ in front of your $PATH. > > > > Can you try 'echo $PATH'? > > > > Can you try 'hash pcreate' to see if bash had the full location of it > > cached from before (but I always thought changing $PATH invalidates > > the bash command hash table). > > Or just quit relying on activate and use 'bin/pcreate' (or whatever) to > ensure you are getting the one you want. > > > Tres. > - -- > =================================================================== > Tres Seaver +1 540-429-0999 > [email protected]<javascript:> > Palladion Software "Excellence by Design" http://palladion.com > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iEYEARECAAYFAlNOr1wACgkQ+gerLs4ltQ54ywCgypJfhBrd2+7s2Tox0eF0J0Zj > YF0Aniv8EPo1VWZHYPyuZDTRZXQTuuz2 > =OWFU > -----END PGP SIGNATURE----- > > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
