1

我已经ezdxf使用以下命令在我的 .py 文件所在的同一文件夹中安装了运行以下库:

pip install ezdxf

我在悬停时看到此错误import ezdxf

Import ezdxf could not be resolved Pylance

当我尝试运行该项目时,它说:

ModuleNotFoundError: No module named 'ezdxf'

我试图再次安装,但我看到了这个:

Requirement already satisfied: ezdxf in c:\users\robert\appdata\local\programs\python\python38\lib\site-packages (0.17.2b1)
Requirement already satisfied: pyparsing>=2.0.1 in c:\users\robert\appdata\local\programs\python\python38\lib\site-packages (from ezdxf) (3.0.6)
Requirement already satisfied: typing_extensions in c:\users\robert\appdata\local\programs\python\python38\lib\site-packages (from ezdxf) (4.0.0)

我该如何解决这个问题?

4

0 回答 0