Python Forum
VS Code from start
Thread Rating:
  • 3 Vote(s) - 3.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VS Code from start
#3
Gone look at VS Code in Linux,using Linux Mint 19 “Tara” Cinnamon .
As this is from start gone look a little of setup for Python 3.
Install just gone use sudo on all for now,gone look setup pyenv in a later post.
sudo apt install python3-pip
sudo apt-get install python3-setuptools
sudo pip3 install autopep8 yapf black
sudo pip3 install pylint
A fix to get pip 18.0 to work,after pip3 install --upgrade pip.
sudo nano /usr/bin/pip3
# Then change to this
from pip._internal import main
See that 2.7.15 and 3.6.5 are default versions for Mint 19.
tom@tom-VirtualBox:~$ python -V
Python 2.7.15rc1
tom@tom-VirtualBox:~$ python3 -V
Python 3.6.5
tom@tom-VirtualBox:~$ pip3 -V
pip 18.0 from /home/tom/.local/lib/python3.6/site-packages/pip (python 3.6)
tom@tom-VirtualBox:~$ 

Install VS Code
Open deb in package installer(default option).
Or download and from command line:
sudo dpkg -i code_version.deb
Setting up VS Code is the same as in first post.
Remeber this in setting,so code runner always follows python version down in left corner
"python": "$pythonPath $fullFileName",
A image of edtior running,it will start with version 2.7.15 in left corner just click and change to 3.6.5.
[Image: mHfVWW.jpg]
Reply


Messages In This Thread
VS Code from start - by snippsat - Aug-16-2018, 01:34 PM
RE: VS Code from start - by snippsat - Aug-18-2018, 08:49 PM
RE: VS Code from start - by snippsat - Aug-24-2018, 10:23 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020