Jump to content
Old threads will finally start getting archived Γ—
🚨🚨 GAME-CHANGING ANNOUNCEMENT FROM PHP FREAKS 🚨🚨 Γ—

Recommended Posts

dear experts

Β 

Β 

i 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Β 

Edited by dil_bert

hello dear requinixΒ 

Β 

many thanks for the quick reply - i just have installed it and i wanted to add some python stuff. but i got back the above mentioned lines,Β 

i have a closer look at all the options & functionsΒ 

a. that work and run propperlyΒ 

b. that probably do not work correct andΒ 

Β 

afterwards i come back here and report all the findings.Β 

Β 

many thanks for the help.Β 

regards

hello dear requinixΒ 

Β 

many thanks for the quick reply - i just have installed it and i wanted to add some python stuff. but i got back the above mentioned lines,Β 

at the moment i do not sit in front of the windows machine with the vscode ...Β  this machine is in the office - at the moment i am at home.Β 

Β 

note: i want to work with vscode - in order to do some work with ESP 32

cfΒ Β https://lemariva.com/blog/2018/12/micropython-visual-studio-code-as-ide

Quoting the official MicroPython's website:

Quote

Β 

MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments.

Besides C++ and C, I use MicroPython to program microcontrollers, especially the ESP32/ESP8266 types. These two microcontrollers are compatible with MicroPython and it is easy to integrate sensors and actors programming using this language. I wrote aΒ tutorialΒ about installing MicroPython on the ESPs, as well a lot ofΒ articlesΒ about these microcontrollers and MicroPython. This is an update to theΒ "Getting started with MicroPython": I am changing fromΒ AtomΒ toΒ Visual Studio Code (VSCode), and using theΒ PyMakr extension, it is possible to program and debug MicroPython on VSCode.

Visual Studio Code

The open-sourceΒ VSCodeΒ is a code editor redefined and optimized for building and debugging applications. It is compatible with Windows, Linux and Mac OS X.

β€œThe majority of Google developers are using it now,” Chris Capossela, Microsoft’s chief marketing officer, said on theΒ Windows Weekly podcast. :)

Β 


Β 

Β 

andΒ 

Quote


To use VSCode for MicroPython, you need to install theΒ PymakrΒ extension (see Fig. 1).

This extension enables VSCode to communicate to a board running MicroPython using the build-in command line REPL. Thus, you can run a single file on my board, sync your entire project or directly type and execute commands using the Terminal on VSCode.Β 

However, you'll miss some of the main features of VSCode, namely intellisense, autocompletion, and linting capabilities. You can combine this extension with theΒ micropy-cliΒ Python module to get those features. You can find more information inΒ this tutorial.

Β 

Β 

again - at the moment i do not sit in front of the mentioned computer - i do some tests tomorrow.Β 

and come back later to rrepot. #

Β 

greetings

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.