Python Forum
run into issues while configuring visual-studio code on a win 7 machine.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
run into issues while configuring visual-studio code on a win 7 machine.
#4
You need to fix your version issue in Path,two install of python that should not mix up.
# The version you try to install to
C:/Program Files/Python37/

# The default path Python install to if not change Path under install setup
C:\Users\Kasper\AppData\Roaming\Python\Python37\ 
# Stop doing this
"C:/Program Files/Python37/python.exe" -m pip install -U pylint --user

# Only this
pip install -U pylint
Test from command line,they should have same root folder Path,and work from any folder if Windows Path is correct.
So if i do pip install pylint it will to version pip point to in test under.
# Test python
C:\data
λ python -c "import sys; print(sys.executable)"
C:\python37\python.exe
 
# Test pip
C:\data
λ pip -V
pip 19.2.1 from c:\python37\lib\site-packages\pip (python 3.7)
In Environment Variables Path for me it look like this.
C:\Python37-32\Scripts\;
C:\Python37-32\
For more detail about this look at Python 3.6/3.7 and pip installation under Windows
Reply


Messages In This Thread
RE: run into issues while configuring visual-studio code on a win 7 machine. - by snippsat - Sep-12-2019, 12:25 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  My code works on Jupyter Lab/Notebook, but NOT on Visual Code Editor jst 4 1,030 Nov-15-2023, 06:56 PM
Last Post: jst
  How to set PYTHONPATH in Visual Studio Code? aupres 5 4,214 Aug-15-2023, 03:51 PM
Last Post: snippsat
  how do I open two instances of visual studio code with the same folder? SuchUmami 3 887 Jun-26-2023, 09:40 AM
Last Post: snippsat
  Visual Studio Code NewPi 3 1,057 May-16-2023, 11:13 PM
Last Post: snippsat
  Visual Studio Code venv ibm_db error mesi1000 7 2,813 Nov-13-2022, 12:36 AM
Last Post: snippsat
  debugging help on Visual Studio Code mg24 12 2,015 Oct-02-2022, 12:18 AM
Last Post: mg24
  Problem with importing Python file in Visual Studio Code DXav 7 5,094 Jun-15-2022, 12:54 PM
Last Post: snippsat
  Visual Studio Code Intellisense for Imported Modules Not Working hockinsk 1 2,728 Apr-23-2022, 04:41 PM
Last Post: deanhystad
Photo Visual studio code unable to color syntax on python interpreter tomtom 4 6,908 Mar-02-2022, 01:23 AM
Last Post: tomtom
  compile error Visual Studio Code jamie_01 2 1,697 Jan-25-2022, 09:36 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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