最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - ModuleNotFoundError: No module named 'asyncua' - Stack Overflow

programmeradmin5浏览0评论

I am having struggles figuring out why my asyncua library is not found after installation.

I tried pip install asyncua --user pip3 install asyncua --user

its displayed in my pip list as asyncua 1.1.5

I do notice a warning "WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)" "WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)"

could this be the culprit?

I am having struggles figuring out why my asyncua library is not found after installation.

I tried pip install asyncua --user pip3 install asyncua --user

its displayed in my pip list as asyncua 1.1.5

I do notice a warning "WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)" "WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)"

could this be the culprit?

Share Improve this question asked Mar 14 at 15:05 Kyle RKyle R 92 bronze badges 2
  • Have you tried Python 3.11? – dev_light Commented Mar 14 at 15:06
  • What version of python are you using? Also you might want to check where its being installed. The user directory may not be in your working path. Best way to prevent such issues is to build in venv. That way all packages will be in the venv. – Jason Chia Commented Mar 14 at 15:22
Add a comment  | 

1 Answer 1

Reset to default 0

I found the issue.

When installing packages. This package was being placed in C:\Python312\Lib\site-packages

while I was trying to import the library in Spyder IDE.

which is looking for packages here C:\Program Files\Spyder\pkgs

发布评论

评论列表(0)

  1. 暂无评论