(Sep-12-2022, 05:22 PM)gabriel789 Wrote: hello. My name is Gabriel and iam currently trying to learn python can you please help me in doing so can you also tell me what different programs are needed and how im to download them. im using linux ubuntu. please helpAs you now use Ubuntu it come with Python installed.
You seems a little lost on most of the basic of this.
Here a test you can do from Terminal,i use Mint here but command are the same on Ubuntu.
# Test Python version installed error try: python3 -V tom@tom-VirtualBox:~$ python -V Python 3.10.5 # Test that pip install error try: pip3 tom@tom-VirtualBox:~$ pip -V pip 22.0.4 from /home/tom/.pyenv/versions/3.10.5/lib/python3.10/site-packages/pip (python 3.10) # list files tom@tom-VirtualBox:~$ ls hello.py output.txt # Example running Python(.py) file tom@tom-VirtualBox:~$ python hello.py hello worldDos not
pip
or pip3
work do this.# Update sudo apt update sudo apt -y upgrade # Install pip3 sudo apt install -y python3-pipThen test again
pip3 -V
When this work can eg install PyChram that you talk about.
sudo snap install [pycharm-professional|pycharm-community] --classic