-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError after pip install --target=path/to/folder pywin32
#1484
Comments
+1 |
+1 |
It is not enough to add this custom sitedir "manually" to sys.path?
This uses the
This is a different problem - when |
When installing pywin32 with
python -m pip install --target=path/to/site pywin32-227-cp37m-win_amd64.whl
I get this error:
I verified that path/to/site is inside sys.path (defined in PYTHONPATH), this for example doesn't produce an error:
>>> import win32
.The installation is conducted without administrator rights to the python installation folder or to system32, etc., I don't think this is the problem because it works fine when installing in %APPDATA% with
python -m pip install --user pywin32-227-cp37m-win_amd64.whl
I tried the solutions described in #1399 , without success. This was also tested with versions 223, 224 and 225 with the same outcome.
System:
python 3.7.4 (tags/v3.7.4:e09359112e) [MSC v.1916 64 bit (AMD64)] on win32
Microsoft Windows Version 1803 (Build 17134.1304)
The text was updated successfully, but these errors were encountered: