Python Forum
How to install "pip install pyserial" - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: How to install "pip install pyserial" (/thread-34554.html)



How to install "pip install pyserial" - Joni_Engr - Aug-09-2021

Hi, I get an error when I run 'pip install pyserial'.

"ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'c:\\python-3.8.1\\Lib\\site-packages\\pyserial-3.5.dist-info'
Consider using the --user option or check the permissions."

I already have path added in the environment variable "C:\Python-3.8.1\Scripts" but I am still getting error to install pyserial.


RE: How to install "pip install pyserial" - deanhystad - Aug-09-2021

Check file permissions


RE: How to install "pip install pyserial" - Joni_Engr - Aug-09-2021

(Aug-09-2021, 07:55 AM)deanhystad Wrote: Check file permissions

Now it works. I have installed in another directory.