Python Forum

Full Version: run into issues while configuring visual-studio code on a win 7 machine.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello dear experts

run into issues while configuring visual-studio code on a win 7 machine.


 

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.

C:\Users\Kasper>"C:/Program Files/Python37/python.exe" -m pip install -U pylint --user
Collecting pylint
  Downloading https://files.pythonhosted.org/packages/60/c2/b3f73f4ac008bef6e75bca4992f3963b3f85942e0277237721ef1c151f0d/pylint-2.3.1-py3-none-any.whl (765kB)
    100% |████████████████████████████████| 768kB 4.7MB/s
Collecting astroid<3,>=2.2.0 (from pylint)
  Downloading https://files.pythonhosted.org/packages/d5/ad/7221a62a2dbce5c3b8c57fd18e1052c7331adc19b3f27f1561aa6e620db2/astroid-2.2.5-py3-none-any.whl (193kB)
    100% |████████████████████████████████| 194kB 17.1MB/s
Collecting colorama; sys_platform == "win32" (from pylint)
  Downloading https://files.pythonhosted.org/packages/4f/a6/728666f39bfff1719fc94c481890b2106837da9318031f71a8424b662e12/colorama-0.4.1-py2.py3-none-any.whl
Collecting isort<5,>=4.2.5 (from pylint)
  Downloading https://files.pythonhosted.org/packages/e5/b0/c121fd1fa3419ea9bfd55c7f9c4fedfec5143208d8c7ad3ce3db6c623c21/isort-4.3.21-py2.py3-none-any.whl (42kB)
    100% |████████████████████████████████| 51kB 10.2MB/s
Collecting mccabe<0.7,>=0.6 (from pylint)
  Downloading https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl
Collecting typed-ast>=1.3.0; implementation_name == "cpython" (from astroid<3,>=2.2.0->pylint)
  Downloading https://files.pythonhosted.org/packages/47/a1/7a24868c15d84ed7446106d6c3d73807f58232a695452c0a29679e5a1523/typed_ast-1.4.0-cp37-cp37m-win_amd64.whl (155kB)
    100% |████████████████████████████████| 163kB 10.2MB/s
Collecting wrapt (from astroid<3,>=2.2.0->pylint)
  Downloading https://files.pythonhosted.org/packages/23/84/323c2415280bc4fc880ac5050dddfb3c8062c2552b34c2e512eb4aa68f79/wrapt-1.11.2.tar.gz
Collecting lazy-object-proxy (from astroid<3,>=2.2.0->pylint)
  Downloading https://files.pythonhosted.org/packages/01/b0/467ad69cd8adfe2be737cf69b69c5809c7098a7aa337adda2542b7259bc0/lazy_object_proxy-1.4.2-cp37-cp37m-win_amd64.whl
Collecting six (from astroid<3,>=2.2.0->pylint)
  Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Installing collected packages: typed-ast, wrapt, lazy-object-proxy, six, astroid, colorama, isort, mccabe, pylint
  Running setup.py install for wrapt ... done
  The script isort.exe is installed in 'C:\Users\Kasper\AppData\Roaming\Python\Python37\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  The scripts epylint.exe, pylint.exe, pyreverse.exe and symilar.exe are installed in 'C:\Users\Kasper\AppData\Roaming\Python\Python37\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed astroid-2.2.5 colorama-0.4.1 isort-4.3.21 lazy-object-proxy-1.4.2 mccabe-0.6.1 pylint-2.3.1 six-1.12.0 typed-ast-1.4.0 wrapt-1.11.2
You are using pip version 10.0.1, however version 19.2.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\Kasper>"C:/Program Files/Python37/python.exe" -m pip install -U pylint --user
Requirement already up-to-date: pylint in c:\users\kasper\appdata\roaming\python\python37\site-packages (2.3.1)
Requirement not upgraded as not directly required: isort<5,>=4.2.5 in c:\users\kasper\appdata\roaming\python\python37\site-packages (from pylint) (4.3.21)
Requirement not upgraded as not directly required: colorama; sys_platform == "win32" in c:\users\kasper\appdata\roaming\python\python37\site-packages (from pylint) (0.4.1)
Requirement not upgraded as not directly required: astroid<3,>=2.2.0 in c:\users\kasper\appdata\roaming\python\python37\site-packages (from pylint) (2.2.5)
Requirement not upgraded as not directly required: mccabe<0.7,>=0.6 in c:\users\kasper\appdata\roaming\python\python37\site-packages (from pylint) (0.6.1)
Requirement not upgraded as not directly required: lazy-object-proxy in c:\users\kasper\appdata\roaming\python\python37\site-packages (from astroid<3,>=2.2.0->pylint) (1.4.2)
Requirement not upgraded as not directly required: wrapt in c:\users\kasper\appdata\roaming\python\python37\site-packages (from astroid<3,>=2.2.0->pylint) (1.11.2)
Requirement not upgraded as not directly required: typed-ast>=1.3.0; implementation_name == "cpython" in c:\users\kasper\appdata\roaming\python\python37\site-packages (from astroid<3,>=2.2.0->pylint) (1.4.0)
Requirement not upgraded as not directly required: six in c:\users\kasper\appdata\roaming\python\python37\site-packages (from astroid<3,>=2.2.0->pylint) (1.12.0)
You are using pip version 10.0.1, however version 19.2.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

Collecting mccabe<0.7,>=0.6 (from pylint)
  Downloading https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl
Collecting typed-ast>=1.3.0; implementation_name == "cpython" (from astroid<3,>=2.2.0->pylint)
  Downloading https://files.pythonhosted.org/packages/47/a1/7a24868c15d84ed7446106d6c3d73807f58232a695452c0a29679e5a1523/typed_ast-1.4.0-cp37-cp37m-win_amd64.whl (155kB)
    100% |████████████████████████████████| 163kB 10.2MB/s
Collecting wrapt (from astroid<3,>=2.2.0->pylint)
  Downloading https://files.pythonhosted.org/packages/23/84/323c2415280bc4fc880ac5050dddfb3c8062c2552b34c2e512eb4aa68f79/wrapt-1.11.2.tar.gz
Collecting lazy-object-proxy (from astroid<3,>=2.2.0->pylint)
  Downloading https://files.pythonhosted.org/packages/01/b0/467ad69cd8adfe2be737cf69b69c5809c7098a7aa337adda2542b7259bc0/lazy_object_proxy-1.4.2-cp37-cp37m-win_amd64.whl
Collecting six (from astroid<3,>=2.2.0->pylint)
  Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Installing collected packages: typed-ast, wrapt, lazy-object-proxy, six, astroid, colorama, isort, mccabe, pylint
  Running setup.py install for wrapt ... done
  The script isort.exe is installed in 'C:\Users\Kasper\AppData\Roaming\Python\Python37\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  The scripts epylint.exe, pylint.exe, pyreverse.exe and symilar.exe are installed in 'C:\Users\Kasper\AppData\Roaming\Python\Python37\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed astroid-2.2.5 colorama-0.4.1 isort-4.3.21 lazy-object-proxy-1.4.2 mccabe-0.6.1 pylint-2.3.1 six-1.12.0 typed-ast-1.4.0 wrapt-1.11.2
You are using pip version 10.0.1, however version 19.2.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\Kasper>"C:/Program Files/Python37/python.exe" -m pip install -U pylint --user
any ideas here

update: hello dear all:

sure thing the win 7 is dead - it is no new os any more.

anyway- i a m trying to get the configuration of VS-Code done - but i guess that this will not work 
btw - at home i work on MX - linux

i am tryin to install VS-Code on that linux installation later the day 



back to the actual issues that are described above.- what goes on here.

can i do some fixes - can i do some thing to get it running!?


love to hear from you

regards
Can you be more explicit what the exact issue is? It looks like everything was installed successfully as far as I can see in the logs.
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