[Python-Dev] Python 2.7.13

Oleg Broytman phd at phdru.name
Tue Mar 14 11:17:04 EDT 2017


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 at 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 at phdru.name
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-Dev mailing list