Re: Centos6.8 and Python33

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, 2017-02-06 at 13:07 +0100, Patrick Begou wrote:
> I've some trouble with installing numpy in python 3.3 on Centos 6.8 as 
> installation request a different python version...
> 
> [root@sge ~]$ yum install python33 python33-python-tools
> [root@sge ~]$ scl enable python33 bash
>             ===== *this load Python 3.3.2*  ===
> [root@sge ~]$ easy_install pip
> [root@sge ~]$ pip install numpy
> Collecting numpy
>    Using cached numpy-1.12.0.zip
>      Complete output from command python setup.py egg_info:
>      Traceback (most recent call last):
>        File "<string>", line 1, in <module>
>        File "/tmp/pip-build-wyb0pj/numpy/setup.py", line 34, in <module>
>          raise RuntimeError("Python version 2.7 or >= 3.4 required.")
> *RuntimeError: Python version 2.7 or >= 3.4 required.
> 
> 
> *I'm not familar with python and I do not find on google how to work arround 
> this....
> 
Even not knowing python, it's fairly obvious - it says you need Python
version 3.4 or greater for numpy 1.12.0, you've installed Python 3.3

Generally, I don't use pip for installing numpy - it's such a common
requirement for other packages that it's in the repositories. Try
something like 

  yum install python33-numpy

P.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux