Python 3.x ImportError:无法导入所需的依赖项:numpy:尝试迁移时出错

Python 3.x ImportError:无法导入所需的依赖项:numpy:尝试迁移时出错,python-3.x,django-models,migrate,Python 3.x,Django Models,Migrate,我将Django和Python与Anaconda一起使用。开始时,我可以通过添加sqlite3.dll文件进行迁移。但是,当我再次尝试迁移时,会出现此错误。我尝试在项目解释器中卸载和安装numpy和pandas。我使用的是Pycharm,我使用的是Conda包管理器和Conda环境。我也尝试过迁移——运行syncdb,但它仍然给我错误。 如何修复此问题以使用.objects.bulk\u create()? 要修复.objects.bulk_create(),建议运行migrate--run s

我将Django和Python与Anaconda一起使用。开始时,我可以通过添加sqlite3.dll文件进行迁移。但是,当我再次尝试迁移时,会出现此错误。我尝试在项目解释器中卸载和安装numpy和pandas。我使用的是Pycharm,我使用的是Conda包管理器和Conda环境。我也尝试过迁移——运行syncdb,但它仍然给我错误。 如何修复此问题以使用.objects.bulk\u create()? 要修复.objects.bulk_create(),建议运行migrate--run syncdb,由于下面的错误,我当前无法运行它

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:\Users\PuTung\anaconda3\envs\swe_project\python.exe"
  * The NumPy version is: "1.19.2"

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.```

您是否激活了康达环境?是否激活了康达环境?