简体   繁体   中英

Install RPi module on Pycharm

I've been using IDLE with my raspberry for a while, it's nice at the beginning, but Pycharm provides lots more of features and I'm used to them since I've been also using Android Studio.

The problem is I couldn't figure out how to install the RPi module to control the pins of my Raspberry. Does anyone know how to do this?

In case it matters, it's python3 on a raspberry 2B.

As far as I know, there is no way of installing it on your desktop but PyCharm has a remote programming feature that allows you to use the PyCharm interface through an ssh connection to your Raspberry Pi. See this tutorial from Jetbrains.

You can run Pycharm directly on your Raspberry Pi:

- Using your Raspberry Pi, download the installation file directly from the Pycharm website (JetBrains). It will be a tarball, ie, a file ending in ".tar.gz".
- Extract the file to a folder of your choice.
- Browsing through the extracted files and folders, you will find a folder named "bin". Inside "bin" you will find a file named Pycharm.sh
- Using your terminal window, go to the "bin" folder and launch the Pycharm application by typing: sudo ./Pycharm.sh
After several seconds (it's a little slow to load on my RPi3), Pycharm will load. Have fun!

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