HI Carlos, Yes I did. I changed it to the slighty newer python installed on Mac OS rather than the one under Spyder.app. I did that because I thought its the interpreter that created the original problem..maybe i will take your advice to swtich back and have a try again.
Thanks. BRain Carlos Córdoba於 2013年2月10日星期日UTC+8上午2時44分13秒寫道: > > Since it seems you're using a different interpreter than the one that > comes with Spyder, you need to change it instead of just adding things to > PYTHONPATH. > > To do that, you have to go: > > Tools > Preferences > Console > Advanced Settings > Python Executable > > and select the path of your interpreter. > > Cheers, > Carlos > > El 09/02/13 10:49, thefatbrain escribió: > > Thanks Pierre. > it makes sense. > And after added a new entry as you suggested into PYTHONPATH , new error > pops-up when hitting the below line: > > ========================= > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/Library/Python/2.7/site-packages/boto/__init__.py", line 34, in > <module> > > ImportError: No module named config > ========================= > > What is the path that still has something missing? > > Pierre Raybaut於 2013年2月9日星期六UTC+8下午8時57分50秒寫道: >> >> I don't know about your other custom modules but regarding the example >> of "boto", this is the wrong directory level: you should add >> "/Library/Python/2.7/site-packages" to PYTHONPATH (via the environment >> variable or Spyder's PYTHONPATH manager) instead of >> "/Library/Python/2.7/site-packages/boto". >> >> HTH, >> -Pierre >> >> 2013/2/9 thefatbrain <[email protected]>: >> > 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] <javascript:>. > To post to this group, send email to [email protected]<javascript:> > . > 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.
