Windows10 Ubuntu embedded subsystem configuration python development environment
Installation pycharm.
- Intellij idea to download the Linux environment to download the free pycharm, get windows system files downloaded pycharm compression / mnt sub-directory inside of ubuntu.
- The pycharm compressed file to the / opt directory. This directory is used to store all the software installed using the archive.
- Decompression pycharm compressed files, connect using Remote Desktop ubuntu, run pycharm.sh bin directory. In my environment, run directly /opt/pycharm/bin/pycharm.sh will fail, I send this pycharm.sh to your desktop, you can double-click the link to run pycharm the pycharm.sh.
- After running pycharm, there is need to set some options, you can select the default settings.
Installation pip
pip on behalf of "pip Installs Packages". pip is a package management system command line-based. For the installation and management software written in Python.
Corresponding to different versions of python, you need to install a different version of the pip.
If you do python2 --version no errors, then the current environment is installed python2, then the command to install pip is:
sudo apt-get install python-pip
After installation is complete, execute
pip --version
If pip is installed correctly, the terminal should display a version number, similar to pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7).
If you do python3 --version no errors, then the current environment is installed python3, then the command to install pip is:
sudo apt-get install python3-pip
After installation is complete, execute
pip3 --version
If the pip is properly installed, the terminal should show a version similar pip 9.0.1 from / usr / lib / python3 / dist-packages (python 3.6).