You need to set the pythonpath under tools if you have not installed
them to a place which is already on the search path.

On 24 Maj, 06:57, djlewis <[email protected]> wrote:
> I have managed to get spyder installed and functioning on my mac. I
> want to add in a few modules that it doesn't seem to include by
> default (mahotas and pymorph). I installed both via easy_install in
> the terminal and both seemed to install without any error messages.
> Running python from a terminal and using import mahotas and import
> pymorph works just fine without error messages. However, when I run
> the same lines from a script within spyder I get the following error:
>
> Traceback (most recent call last):
>
> File "<stdin>", line 1, in <module>
>
> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/
> python2.7/site-packages/spyderlib/widgets/externalshell/
> sitecustomize.py", line 493, in runfile execfile(filename, namespace)
>
> File "/Users/Name/Documents/Python/dna.py", line 11, in <module>
>
> import pymorph
>
> ImportError: No module named pymorph
>
> all I'm trying to do right now is run the import lines, that's it. I
> can't seem to find anything about this. My only suspicion is that
> spyder uses a separate install of python and that installing modules
> via the terminal installs them only to the system version of python...
> even if that is the case, I have no idea how to check for that or
> install them to the specific instance of python spyder is using. Any
> suggestions would be great.
>
> Specs: Mac OSX 10.7.4 Spyder 2.1.9

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/spyderlib?hl=en.

Reply via email to