Re: Python Error
Dennis Lee Bieber <[email protected]>
| Newsgroups | gmane.comp.python.windows |
|---|---|
| Organization | IISS Elusive Unicorn |
| Message-ID | <[email protected]> |
On Thu, 24 Jun 2021 12:45:12 +0530, Ranjithkumar Duraisamy <[email protected]> declaimed the following: >I was told to run below, if it works i'll do this in an automated way, so >it'll be installed along with main package during installation. > Who "told" you? What reference -- so that others may evaluate that advice. >*pip install pywin32* >* pywin32_postinstall.py * > >[image: image.png] > Please cut&paste the TEXT from console windows. Screen grabs take lots of message space, and are nearly illegible on some devices (especially if said device/application is resizing the image to display it -- in order to read your screen grab, I have to go through the effort of saving the image to my computer, finding the saved image, and then opening it in some graphics application!). Based upon the image, I would say that you need to run using an elevated admin account (even in an account with admin privileges, the normal shell is not elevated). Alternatively: follow the instructions in the error message and run the install "for current user only". Or; uninstall the Python that is sitting in "Program Files" and pick a different location when you run the Python installer (C:\Python37\ for example). Windows sets all files in "Program Files" (and the 32 bit variant) as read/execute only -- so that a running application (a Trojan web site) can't install or make changes to the files. That means only elevated processes can change the contents. By installing Python outside of "Program Files", any user (unless you manually create ACLs to limit access) can install PIP modules with no problem, and without having to use the "single user" install option. -- Wulfraed Dennis Lee Bieber AF6VN [email protected] http://wlfraed.microdiversity.freeddns.org/