The Python version is: Python3.10 from /miniforge3/bin/python" * The NumPy version is: "1.23.2"

Veröffentlicht am: 01 Mai 2023
auf dem Kanal: Coffee Programmer
201
2

Can you help me to buy a coffee:
https://www.buymeacoffee.com/coffeepr...


pip install --force-reinstall numpy==1.23.2




"/Volumes/Macintosh HD/Users/ashenishanka/miniforge3/bin/python" /Users/ashenishanka/PycharmProjects/ashenishankafinal/chatgui.py
Traceback (most recent call last):
File "/Volumes/Macintosh HD/Users/ashenishanka/miniforge3/lib/python3.10/site-packages/numpy/core/__init__.py", line 23, in module
from . import multiarray
File "/Volumes/Macintosh HD/Users/ashenishanka/miniforge3/lib/python3.10/site-packages/numpy/core/multiarray.py", line 10, in module
from . import overrides
File "/Volumes/Macintosh HD/Users/ashenishanka/miniforge3/lib/python3.10/site-packages/numpy/core/overrides.py", line 6, in module
from numpy.core._multiarray_umath import (
ImportError: dlopen(/Volumes/Macintosh HD/Users/ashenishanka/miniforge3/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-darwin.so, 0x0002): Library not loaded: @rpath/libcblas.3.dylib
Referenced from: 1EDC491B-05CB-35D2-876D-A3899645CB2C/Users/ashenishanka/miniforge3/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-darwin.so
Reason: tried: '/Users/ashenishanka/miniforge3/lib/python3.10/site-packages/numpy/core/../../../../libcblas.3.dylib' (no such file), '/Users/ashenishanka/miniforge3/lib/python3.10/site-packages/numpy/core/../../../../libcblas.3.dylib' (no such file), '/Users/ashenishanka/miniforge3/bin/../lib/libcblas.3.dylib' (no such file), '/Users/ashenishanka/miniforge3/bin/../lib/libcblas.3.dylib' (no such file), '/usr/local/lib/libcblas.3.dylib' (no such file), '/usr/lib/libcblas.3.dylib' (no such file, not in dyld cache)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/ashenishanka/PycharmProjects/ashenishankafinal/chatgui.py", line 12, in module
import numpy as np
File "/Volumes/Macintosh HD/Users/ashenishanka/miniforge3/lib/python3.10/site-packages/numpy/__init__.py", line 140, in module
from . import core
File "/Volumes/Macintosh HD/Users/ashenishanka/miniforge3/lib/python3.10/site-packages/numpy/core/__init__.py", line 49, in module
raise ImportError(msg)
ImportError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

https://numpy.org/devdocs/user/troubl...

Please note and check the following:

The Python version is: Python3.10 from "/Volumes/Macintosh HD/Users/ashenishanka/miniforge3/bin/python"
The NumPy version is: "1.23.2"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was: dlopen(/Volumes/Macintosh HD/Users/ashenishanka/miniforge3/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-darwin.so, 0x0002): Library not loaded: @rpath/libcblas.3.dylib
Referenced from: 1EDC491B-05CB-35D2-876D-A3899645CB2C/Users/ashenishanka/miniforge3/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-darwin.so
Reason: tried: '/Users/ashenishanka/miniforge3/lib/python3.10/site-packages/numpy/core/../../../../libcblas.3.dylib' (no such file), '/Users/ashenishanka/miniforge3/lib/python3.10/site-packages/numpy/core/../../../../libcblas.3.dylib' (no such file), '/Users/ashenishanka/miniforge3/bin/../lib/libcblas.3.dylib' (no such file), '/Users/ashenishanka/miniforge3/bin/../lib/libcblas.3.dylib' (no such file), '/usr/local/lib/libcblas.3.dylib' (no such file), '/usr/lib/libcblas.3.dylib' (no such file, not in dyld cache)


Process finished with exit code 1


Auf dieser Seite können Sie das Online-Video The Python version is: Python3.10 from /miniforge3/bin/python" * The NumPy version is: "1.23.2" mit der Dauer online in guter Qualität ansehen, das der Benutzer Coffee Programmer 01 Mai 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 201 Mal angesehen und es wurde von 2 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!