====== PyCharm IDE ======
PyCharm Linux Community edition:
https://www.jetbrains.com/pycharm/download/other.html
https://download.jetbrains.com/python/pycharm-community-2023.3.3.tar.gz
wget https://download.jetbrains.com/python/pycharm-community-2023.3.3.tar.gz
tar -xvzf pycharm-community-2023.3.3.tar.gz
sudo mv pycharm-community-2023.3.3 /opt/pycharm
/opt/pycharm/bin/pycharm
Add to menu and cinnamon panel launcher
cat > ~/.local/share/applications/pycharm.desktop << EOD
[Desktop Entry]
Name=PyCharm
Exec=/opt/pycharm/bin/pycharm
Comment=
Terminal=false
Icon=/opt/pycharm/bin/pycharm.png
Type=Application
EOD
cp ~/.local/share/applications/pycharm.desktop ~/.cinnamon/panel-launchers/
#config numerical, so get the highest number file only
export configfile=$(ls ~/.cinnamon/configs/panel-launchers@cinnamon.org/*.json | sort -rn | head -1)
jq '.launcherList.value += ["pycharm.desktop"]' $configfile > $configfile.new
mv $configfile.new $configfile
Update PyCharm:
Open PyCharm, click settings cog icon in bottom left and check for updates.
Create new project from Github repo:
Git menu -> Clone -> paste github .git clone url -> select new or attach to existing project
For virtual environment, if error "Environment location directory is not empty" error appears, append /venv to the location path.
To install the packages from requirements.txt file , open the file and a bar appears to install missing requirements.
Configuring Pycharm to run Pyinstaller
https://stackoverflow.com/questions/33906539/configuring-pycharm-to-run-pyinstaller
https://stackoverflow.com/questions/19071910/how-to-my-exe-from-pycharm-project
Deployment (only Pro)
https://www.jetbrains.com/help/pycharm/tutorial-deployment-in-product.html#config