Форум сайта python.su
https://github.com/PythonHubStudio/Offline-Voice-Assistant-with-Machine-Learning-on-python/blob/main/app.py
ошибка:
Traceback (most recent call last):
File “C:\Users\Fox\AppData\Local\Programs\Python\Python310\lib\site-packages\numpy\core\__init__.py”, line 23, in <module>
from . import multiarray
File “C:\Users\Fox\AppData\Local\Programs\Python\Python310\lib\site-packages\numpy\core\multiarray.py”, line 10, in <module>
from . import overrides
File “C:\Users\Fox\AppData\Local\Programs\Python\Python310\lib\site-packages\numpy\core\overrides.py”, line 6, in <module>
from numpy.core._multiarray_umath import (
ImportError: DLL load failed while importing _multiarray_umath: Не найден указанный модуль.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:\Users\Fox\Desktop\pythonProject\main.py”, line 35, in <module>
from sklearn.feature_extraction.text import CountVectorizer # pip install scikit-learn
File “C:\Users\Fox\AppData\Local\Programs\Python\Python310\lib\site-packages\sklearn\__init__.py”, line 82, in <module>
from .base import clone
File “C:\Users\Fox\AppData\Local\Programs\Python\Python310\lib\site-packages\sklearn\base.py”, line 13, in <module>
import numpy as np
File “C:\Users\Fox\AppData\Local\Programs\Python\Python310\lib\site-packages\numpy\__init__.py”, line 144, in <module>
from . import core
File “C:\Users\Fox\AppData\Local\Programs\Python\Python310\lib\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/troubleshooting-importerror.html
Please note and check the following:
* The Python version is: Python3.10 from “C:\Users\Fox\Desktop\pythonProject\app\Scripts\python.exe”
* The NumPy version is: “1.22.3”
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was: DLL load failed while importing _multiarray_umath: Не найден указанный модуль.
Причём тут numpy не понятно
Офлайн
Bkmz4832https://github.com/PythonHubStudio/Offline-Voice-Assistant-with-Machine-Learning-on-python/blob/main/requirements.txt
* The NumPy version is: “1.22.3”
numpy==1.23.0
Офлайн