permission denied using python 3.8

robin deatherage about2mount at gmail.com
Tue Nov 5 12:26:41 EST 2019


On Tuesday, November 5, 2019 at 10:06:49 AM UTC+8, Francois van Lieshout wrote:
> Hi, i installed python 3.8 the latest version but it doesn’t work, i get “permission denied” when trying to acces python in the CLI and also i can’t run my code from my python files in the command-line nor in IDLE. I’d like to know why this is so. I’ve tried the 64 bit and the 32 bit executable version of 3.8 but without succes. So i reinstalled version 3.7.2 and now everything works fine again.
> 
> Can you tell me why i can’t use python 3.8, i’m using windows as OS.

YES---MS Windows uses a UAC User Control. So it is best to not add a package to an Admin user on Windows. Now in answer to this question first either your python interpreter remained in the system32 directory or you have an installed software using another version of an interpreter also located in the system directory interfering. 

And as pointed out with the UAC User Control on Windows. Log out of the current Windows User or Admin. Log into another Windows new user and add a different version of Python. But if you installed any Python in the Admin you will have to delete all traces of Python and or any interpreters to do so.

Also there is no limit to how many different versions of Python you use on Windows---As long as you have a different UAC Control user logged in Windows for each one you add. I have 2.75, 3.5, 3.6, 3.7.0 and now 3.8 on my Windows now and all work fine. My user UAC logins may number five but that is is how it is suppose to be done anyways in Windows.


More information about the Python-list mailing list