我使用 Pycharm,当我运行电机代码时出现错误,提示应该安装 PRi.GPIO,当我尝试安装时出现错误

时间:2021-05-15 12:05:08

标签: python pycharm

显示我的消息告诉我:

line 1, in <module>
    import RPi.GPIO as GPIO
ModuleNotFoundError: No module named 'RPi'

安装模块后显示此错误:

Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at 'C:\Users\baraa\PycharmProjects\Projectcar\venv\Scripts\python.exe'.

0 个答案:

没有答案