Hi,

ok....got the version numbering wrong: "1.5" does not mean "1.50."...
sorry...

Nonetheless the problem itsself remains unsolved:
Why is numpy not found?
and
Why is its status "permament updateable"?

Cheers!
mcc





On 12/15 07:07, [email protected] wrote:
> Hi,
> 
> after the update this morning, "numpy" wasn't found anumore by python.
> 
> Asking python, it gave me:
> Python 3.7.5 (default, Dec 15 2019, 05:23:14) 
> [GCC 9.2.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import numpy
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ModuleNotFoundError: No module named 'numpy'
> >>> 
> 
> eix numpy gave me:
> 
> 
> [U] dev-python/numpy
>      Available versions:  1.14.5^t (~)1.15.4^t (~)1.16.1^t (~)1.16.5^t 
> (~)1.17.4^t {doc lapack test PYTHON_TARGETS="python2_7 python3_5 python3_6 
> python3_7 python3_8"}
>      Installed versions:  1.16.5^t(06:31:45 AM 12/15/2019)(lapack -doc -test 
> PYTHON_TARGETS="python2_7 python3_6 -python3_5 -python3_7")
>      Homepage:            https://www.numpy.org
>      Description:         Fast array and numerical python library
> 
> 
> emergeing it with
> 
> emerge --selective=n dev-python/numpy
> 
> results in the same output of eix.
> 
> Interestingly a post on stackexchange related to the problem of "numpy
> not found" states (source: 
> https://stackoverflow.com/questions/7818811/import-error-no-module-named-numpy_)
> 
> "Support for Python 3 was added in NumPy version 1.5.0, so to begin with, you 
> must download/install a newer version of NumPy."
> 
> and links to this address: 
> https://sourceforge.net/projects/numpy/files//NumPy/1.5.0/NOTES.txt/view
> which states the same.
> 
> A version of numpy >= 1.5 is not offered by portage repo it seems, but
> python 3.x is.
> 
> pip3 says, everything is fine, numpy is installed:
> 
> pip3 install --user numpy
> Requirement already satisfied: numpy in /usr/lib64/python3.6/site-packages 
> (1.16.5)
> 
> But this does not fit the installed python version according to the
> linked sources above.
> 
> How can I solve this problem?
> 
> (I am on "unstable"...)
> 
> Cheers!
> mcc
> 
> 
> 

Reply via email to