It works perfectly with IDLEX. Before my addition to PYTHONPATH I couldn't even import boto. After I have taken Pierre advice to add the right path into PYTHONPATH, the boto error message is gone, but comes a new error about logging.config
Martin On Feb 10, 2013 10:04 AM, "Carlos Córdoba" <[email protected]> wrote: > Weird. You should leave your interpreter at your IDLEX path and eliminate > your additions to PYTHONPATH because they are not needed. > > Could you import boto without problems in IDLEX? It would seem an error > with your installation. > > Cheers, > Carlos > > El 09/02/13 20:51, thefatbrain escribió: > > Hi Folks, > I did now change the interpreter back to the Spyder default > "/Applications/Spyder.app/Contents/MacOS/python"...same error about missing > the config module > And earlier on I was setting it to IDLEX interpreter at > "/Library/Frameworks/Python.framework/Versions/2.7/bin/python"...also the > same error.. > Did I do anything radically incorrect? > > > Brain. > > On Sunday, February 10, 2013 9:27:59 AM UTC+8, thefatbrain wrote: >> >> 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<http://groups.google.com/group/spyderlib?hl=en>. >>>> >>>> > For more options, visit >>>> > https://groups.google.com/**groups/opt_out<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<http://groups.google.com/group/spyderlib?hl=en> >>> . >>> For more options, visit >>> https://groups.google.com/**groups/opt_out<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. > > > > > -- > 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.
