Trouble installing scipy with macports
I'm new to programming and trying to import scipy.
Problem:
When I try to import scipy in the python interpreter in terminal, it looks
like this:
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named scipy
>>>
I seem to have installed macports correctly. I can successfully import
numpy the same way as above.
Also I followed this post: Python will not recognize MacPorts installed
packages
but could not seem to derive an answer for myself
To clarify:
When I run "which python" i get
/usr/bin/python
When I run "port contents py27-packagename" I get
Port py27-packagename is not installed.
Thanks in advance
No comments:
Post a Comment