Hi, I dowloaded the Python 2.7.13 and install it as root . it installed in my directory: /usr/src/Python-2.7.13 Then I typed: python and I had: Python 2.7.13 (default, Mar 14 2017, 09:30:46) [GCC 4.9.2 20150212 (Red Hat 4.9.2-6)] on linux2 Type "help", "copyright", "credits" or "license" for more information. Then I did: import numpy Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named numpy import scpy Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named scpy import basemap Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named basemap Please, what can I do to solve these. Conrado
Hello. This mailing list is to work on developing Python (adding new features to Python itself and fixing bugs); if you're having problems learning, understanding or using Python, please find another forum. Probably python-list/comp.lang.python mailing list/news group is the best place; there are Python developers who participate in it; you may get a faster, and probably more complete, answer there. See http://www.python.org/community/ for other lists/news groups/fora. Thank you for understanding. On Tue, Mar 14, 2017 at 11:32:36AM -0300, jorge.conrado@cptec.inpe.br wrote:
I dowloaded the Python 2.7.13 and install it as root . it installed in my directory:
/usr/src/Python-2.7.13
Then I typed:
python and I had:
Python 2.7.13 (default, Mar 14 2017, 09:30:46) [GCC 4.9.2 20150212 (Red Hat 4.9.2-6)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
Then I did:
import numpy Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named numpy
import scpy Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named scpy
import basemap Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named basemap
Please, what can I do to solve these.
These modules are not in the standard library, you have to download and install them separately. I recommend you to learn what is PyPI and how to use `pip install`.
Conrado
Oleg. -- Oleg Broytman http://phdru.name/ phd@phdru.name Programmers don't die, they just GOSUB without RETURN.
Hi Jorge,
This is the mailing list for the Python language development itself. It's
used for discussion of features and topics on the development of Python.
You can use other mailing lists for questions as:
python-help@python.org --> ask for help to other people on the python
community
tutor@python.org --> if you are learning
Hi,
I dowloaded the Python 2.7.13 and install it as root . it installed in my directory:
/usr/src/Python-2.7.13
Then I typed:
python and I had:
Python 2.7.13 (default, Mar 14 2017, 09:30:46) [GCC 4.9.2 20150212 (Red Hat 4.9.2-6)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
Then I did:
import numpy Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named numpy
import scpy Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named scpy
import basemap Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named basemap
Please, what can I do to solve these.
Conrado _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/raulcumpl ido%40gmail.com
participants (3)
-
jorge.conrado@cptec.inpe.br
-
Oleg Broytman
-
Raúl Cumplido