Revision history [back]
Extension script and importing module
I have a script I'd like to bind to a hotkey in wing. The script required the use of psutil, which isn't a part of the standard python library. When wing starts the script errors because "import psutil" isn't valid. I can't figure out where I should install this package. I tried :
AppData\Roaming\Wing Pro 9\scripts
AppData\Roaming\Python\Python310\site-packages
It looks like it can find my dependencies if I put the code in C:\Program Files\Wing Pro 9\bin__os__\win32\runtime-python3.10\Lib, but obviously that can't be the official answer.
Thanks for the help! Nathaniel
Extension script and importing module
I have a script I'd like to bind to a hotkey in wing. The script required the use of psutil, which isn't a part of the standard python library. When wing starts the script errors because "import psutil" isn't valid. I can't figure out where I should install this package. I tried :
AppData\Roaming\Wing Pro 9\scripts
AppData\Roaming\Python\Python310\site-packages
It looks like it can find my dependencies if I put the code in C:\Program Files\Wing Pro 9\bin__os__\win32\runtime-python3.10\Lib, but obviously that can't be the official answer.
Thanks for the help! Nathaniel
Extension script and importing module
I have a script I'd like to bind to a hotkey in wing. The script required the use of psutil, which isn't a part of the standard python library. When wing starts the script errors because "import psutil" isn't valid. I can't figure out where I should install this package. I tried :
:
AppData\Roaming\Wing Pro 9\scripts
9\scripts
and
AppData\Roaming\Python\Python310\site-packages
It looks like it can find my dependencies if I put the code in C:\Program Files\Wing Pro 9\bin__os__\win32\runtime-python3.10\Lib, but obviously that can't be the official answer.
Thanks for the help! Nathaniel