HI Carlos, Wondering if you have further insight into this...I am still stick by not being able to add path into PYTHONPATH for things under xxx.app directory.
Brain thefatbrain於 2013年2月12日星期二UTC+8下午5時49分04秒寫道: > > And when I just tried to add pylab path into the PYTHONPATH, seems like I > cannot drill into 'Applications/spyder.app as it has been grey out… > Any clue? > > > On 12 Feb, 2013, at 5:26 PM, thefatbrain <[email protected]> wrote: > > HI Carlos, > > Thanks for your patience and help. > I did exactly what you suggested, and you are right. Now I can inherit > whatever modules has been installed by pip outside of the spyder > environment. But the console shows that it cannot find pylab: > > Traceback (most recent call last): > File > "/Applications/Spyder.app/Contents/Resources/lib/python2.7/spyderlib/scientific_startup.py", > > line 16, in <module> > from pylab import * #analysis:ignore > ImportError: No module named pylab > > ..which I believe can be resolved by adding the pylab path into > PYTHONPATH....? > > Brain > > > thefatbrain於 2013年2月9日星期六UTC+8下午3時37分03秒寫道: >> >> I have just updated the Python installation of my Mac OS 10.8.2 to Python >> 2.7.3, I have pip installed, and have installed a few other modules with >> it. Everything works fine under IDLE and IDLEX. >> >> I have been trying to work with Scipy and Numpy, knowing that Spyder is >> pretty good at this, so I have installed Sypder as well. >> However, Sypder failed to recognize any custom modules I have installed >> with pip earlier. I did some research, and know that I need to add the >> path of the module into Sypder->PYTHONPATH Manager, which I did. >> For example, I have installed boto in >> "/Library/Python/2.7/site-packages/boto", and I have exactly this line in >> PYTHONPATH Manager... >> But when I go to python console under Spyder, I also fail to run "import >> boto"....so I did one step further and manually do a >> sys.path.append("/Library/Python/2.7/site-packages/boto")...it still didn't >> see the module. >> >> Any input will be highly appreciated. >> >> Brain >> > > -- > You received this message because you are subscribed to the Google Groups > "spyder" 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/spyderlib?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- You received this message because you are subscribed to the Google Groups "spyder" 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/spyderlib?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
