VS ошибка импорта кода Исходная ошибка была: ошибка загрузки DLL при импорте _multiarray_umath: Указанный модуль не удалось найти

#python #pandas #visual-studio #visual-studio-code

Вопрос:

Пожалуйста, кто-нибудь, помогите мне! У меня есть проблема, когда я попытался импортировать numpy или что-нибудь из кожи питона анаконды я пытался решить, но ИДК, почему это не будет работать на меня C:UsersUseranaconda3libsite-packagesnumpy_инит_.ру:143: UserWarning: пакет мкл-сервис не импорт, поэтому Интел(Р) инициализация МКЛ обеспечивает правильную вне эксплуатации при условии, когда в GNU OpenMP можно уже загруженных процесс Python не уверены. Пожалуйста, установите пакет mkl-услуг, см. http://github.com/IntelPython/mkl-service откуда . импортируйте трассировку distributor_init (последний последний вызов): Файл «d:/Project для Learn/P.py», строка 1, в файле импорта панд как pd «C:UsersUseranaconda3libsite-packagespandas_init.py«, строка 16, в поле поднять импорт( Импорт: Невозможно импортировать необходимые зависимости: numpy:

 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.8 from "C:UsersHafizanaconda3python.exe"
  * The NumPy version is: "1.20.1"

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


PS D:Project for Learn> conda activate base
conda : The term 'conda' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was 
included, verify that the path is correct and try again.
At line:1 char:1
  conda activate base
  ~~~~~
      CategoryInfo          : ObjectNotFound: (conda:String) [], CommandNotFoundException
      FullyQualifiedErrorId : CommandNotFoundException
 
PS D:Project for Learn> amp; C:/Users/User/anaconda3/python.exe "d:/Project for Learn/P.py"
C:UsersUseranaconda3libsite-packagesnumpy__init__.py:143: UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring its correct out-of-the box operation under condition when Gnu OpenMP had already been loaded by Python process is not assured. Please install mkl-service package, see http://github.com/IntelPython/mkl-service
  from . import _distributor_init
Traceback (most recent call last):
  File "d:/Project for Learn/P.py", line 1, in <module>
    import pandas as pd
  File "C:UsersUseranaconda3libsite-packagespandas__init__.py", line 16, in <module>
    raise ImportError(
ImportError: Unable to import required dependencies:
numpy:

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.8 from "C:UsersUseranaconda3python.exe"
  * The NumPy version is: "1.20.1"

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: The specified module could not be found.