1 |
Hi, |
2 |
|
3 |
ok....got the version numbering wrong: "1.5" does not mean "1.50."... |
4 |
sorry... |
5 |
|
6 |
Nonetheless the problem itsself remains unsolved: |
7 |
Why is numpy not found? |
8 |
and |
9 |
Why is its status "permament updateable"? |
10 |
|
11 |
Cheers! |
12 |
mcc |
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
On 12/15 07:07, tuxic@××××××.de wrote: |
19 |
> Hi, |
20 |
> |
21 |
> after the update this morning, "numpy" wasn't found anumore by python. |
22 |
> |
23 |
> Asking python, it gave me: |
24 |
> Python 3.7.5 (default, Dec 15 2019, 05:23:14) |
25 |
> [GCC 9.2.0] on linux |
26 |
> Type "help", "copyright", "credits" or "license" for more information. |
27 |
> >>> import numpy |
28 |
> Traceback (most recent call last): |
29 |
> File "<stdin>", line 1, in <module> |
30 |
> ModuleNotFoundError: No module named 'numpy' |
31 |
> >>> |
32 |
> |
33 |
> eix numpy gave me: |
34 |
> |
35 |
> |
36 |
> [U] dev-python/numpy |
37 |
> 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"} |
38 |
> 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") |
39 |
> Homepage: https://www.numpy.org |
40 |
> Description: Fast array and numerical python library |
41 |
> |
42 |
> |
43 |
> emergeing it with |
44 |
> |
45 |
> emerge --selective=n dev-python/numpy |
46 |
> |
47 |
> results in the same output of eix. |
48 |
> |
49 |
> Interestingly a post on stackexchange related to the problem of "numpy |
50 |
> not found" states (source: https://stackoverflow.com/questions/7818811/import-error-no-module-named-numpy_) |
51 |
> |
52 |
> "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." |
53 |
> |
54 |
> and links to this address: https://sourceforge.net/projects/numpy/files//NumPy/1.5.0/NOTES.txt/view |
55 |
> which states the same. |
56 |
> |
57 |
> A version of numpy >= 1.5 is not offered by portage repo it seems, but |
58 |
> python 3.x is. |
59 |
> |
60 |
> pip3 says, everything is fine, numpy is installed: |
61 |
> |
62 |
> pip3 install --user numpy |
63 |
> Requirement already satisfied: numpy in /usr/lib64/python3.6/site-packages (1.16.5) |
64 |
> |
65 |
> But this does not fit the installed python version according to the |
66 |
> linked sources above. |
67 |
> |
68 |
> How can I solve this problem? |
69 |
> |
70 |
> (I am on "unstable"...) |
71 |
> |
72 |
> Cheers! |
73 |
> mcc |
74 |
> |
75 |
> |
76 |
> |