简体   繁体   English

我收到一个导入错误,提示“导入 _path 时 DLL 加载失败:当我运行 matplotlib 时,在 pycharm 中找不到指定的模块

[英]I receive an import error saying "DLL load failed while importing _path: The specified module could not be found in pycharm when I run matplotlib

import matplotlib.pyplot as plt
import pandas as pd

number1 = 1
number2 = 5
number3 = 6
x = [-10,-9,-7,-6,-5,-4]
mid = [(i**2) * number1 for i in x]
mid2 = [i*number2 for i in x]
constant = [number3*1 for i in x]

plt.plot(x, mid)

Download Microsoft Visual C++ Redistributable from this link从此 链接下载 Microsoft Visual C++ 可再发行组件

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Pycharm 错误:导入 qhull 时 DLL 加载失败:找不到指定的模块 - Pycharm Error: DLL load failed while importing qhull: The specified module could not be found 导入 Dash 时出错:“ImportError: DLL load failed while importing _brotli: The specified module could not be found.” - Error when importing Dash: "ImportError: DLL load failed while importing _brotli: The specified module could not be found." 在pycharm ImportError中:DLL加载失败:找不到指定的模块。 导入人脸识别时 - In pycharm ImportError: DLL load failed: The specified module could not be found. while importing facerecognition ImportError: DLL 在导入 cv2 时加载失败:在 pycharm 中找不到指定的模块,python 3.9 - ImportError: DLL load failed while importing cv2: The specified module could not be found in pycharm with python 3.9 ImportError:DLL加载失败:找不到指定的模块。 在pycharm中导入cv2时 - ImportError: DLL load failed: The specified module could not be found. when importing cv2 in pycharm 导入 pyrfc 时 DLL 加载失败:找不到指定的模块 - DLL load failed while importing pyrfc: The specified module could not be found DLL加载失败:导入scipy时找不到指定的模块 - DLL load failed: The specified module could not be found while importing scipy 导入 Cartopy 时 ImportError: DLL load failed while importing trace: The specified module could not be found - When importing Cartopy ImportError: DLL load failed while importing trace: The specified module could not be found 加载 psycopg2 模块时出错:导入 _psycopg 时 DLL 加载失败:找不到指定的模块 - Error loading psycopg2 module: DLL load failed while importing _psycopg: The specified module could not be found 导入 tensorflow 时,出现错误“导入错误:DLL 加载失败:找不到指定的模块。” - While importing tensorflow, got the error 'ImportError: DLL load failed: The specified module could not be found.'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM