简体   繁体   中英

Installing Serial library in PyCharm

after PySerial library is installed: enter image description here

I try to Run a simple program, and it says that No module named 'serial' is found. enter image description here

Thanks in advance.

This may be happening because the location where this package is getting installed is not included in the PATH.

You can try:

Hover on the package name and click on install package pyserial.

OR

Go to settings->Project XYZ->Python Interpreter-> Click on + sign->search and install package from there.

OR

Include the location of installed package in the PATH variable.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM