-1
我在Windows 7上使用Python 3.6,并且在igraph
包中遇到问题。我在尝试使用pip
进行安装时出错,因此我决定从.whl
文件安装它。不幸的是,我找不到适合Python 3.6的版本,所以我下载了另一个版本,并更改了文件名,以便它看起来像是为Python 3.6设计的。安装是成功,但是当我试图运行它使用igraph
模块的脚本 - 出现以下错误信息:导入igraph时出错
Traceback (most recent call last):
File "C:/Users/Jarek/Documents/Studia/Programowanie/Python na studiach/Analysis of Unstructured Data/List2.py", line 6, in <module>
import igraph as ig
File "C:\Users\Jarek\AppData\Local\Programs\Python\Python36-32\lib\site-packages\igraph\__init__.py", line 34, in <module>
from igraph._igraph import *
ModuleNotFoundError: No module named 'igraph._igraph'
我山楂Python igraph import error on Windows 下一个非常类似的问题,但没有答案了, 。我也看到 No module named 'igraph._igraph'但给出的建议并没有帮助我(或者我不知道如何正确地应用它)。
任何帮助将不胜感激。提前致谢。