login community faq

hi webfaction folks,

I decided to post another question which is similar to the last question I have asked here. What I did to resolve the problem there was simply to move back all the eggs to ~/lib/python2.6. That worked.

Problem is, I created a git repository for ~/lib/python2.6 and cloned the repository to my PC. Same issue again: I have the exact ImportError again with the eggs and not the folders when PYTHONPATH is pointing to the working tree. I even edited easy-install.pth to use the full path of the eggs instead but was no help.

I probably can download the modules on my PC again but that would really defeat the purpose of syncing my files locally and remotely using git, isn't it?

Now, what really happen during easy_install that can cause such a problem? I mean, isn't it just downloading the egg and inserting an entry into the .pth file? I have no idea what this error can arise..

asked Jun 28 '11 at 02:08

amateur's gravatar image

amateur
11114


See this post http://community.webfaction.com/questions/3435/managepy-satchmo_check-fails-with-python27 In it I have written a script you can use that will solve your PATH/PYTHONPATH issues with egg & standard library directories. It works.

answered Jul 02 '11 at 10:33

JBlack's gravatar image

JBlack
114

edited Jul 02 '11 at 10:41

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×236
×81

Asked: Jun 28 '11 at 02:08

Seen: 1,244 times

Last updated: Jul 02 '11 at 10:41

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited