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
1 Answer
Reset to default 0I 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