mhammond / pywin32

Python for Windows (pywin32) Extensions
4.91k stars 783 forks source link

pywin32 installation issue #2157

Closed justincletus closed 6 months ago

justincletus commented 6 months ago

Note that issues in this repository are only for bugs or feature requests in the pywin32.

If you need support or help using this package, please follow these instructions - support or help requests will be closed without comment.

For all bugs, please provide the following information.

mhammond commented 6 months ago

File "C:\Users\vboxuser\pythonProg\venv\lib\site-packages\win32\lib\win32serviceutil.py", line 9, in ... pywin32 is installed in global level

Services and virtual envs are not compatible - your service exists in a directory under your user. It's not clear exactly when you are getting this traceback (ie, when starting the service or installing it) nor what version of pywin32 you have, so this specific problem might not be directly related, but you will still have problems in a virtualenv.

Please follow the "these instructions" link you included in your report for support.