Python Forum
VSCode Setup and configuring to run with Python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VSCode Setup and configuring to run with Python
#1
Dear Python-Experts,

hope youre well and all goes all right: i wish you a happy new year.


at the moment i am seeting up a VSCode on a win10 Box.

i get several error messages during the process. [Image: 1609752008292-png.1020481]

Quote:@id:terminal.integrated.commandsToSkipShell,terminal.integrated.sendKeybindingsToShell,terminal.integrated.allowChords

and this one: [Image: 1609752104774-png.1020482]


Quote:AutoConnect enabled, ignoring 'address' setting (see Global Settings)Searching for PyCom boards on serial...
No PyCom boards found on USB

well i think that i need to do some more settings to get the VSCode running correctly


any suggestions..?
Reply
#2
hi there

well i have looked after various options and things - but afaik i did not find out what goes wrong here.

guess that i have set up VScode wrong -

probably i have to throw away PlatformIO -

i guess that vscode waits to run and work with ESP32 (see below)

VSC normally runs a C++ Debugger: i guess that i have to tell VSCode that it will work with python.


> Executing task: C:\Users\Kasper\.platformio\penv\Scripts\pio.exe run <

Processing esp32dev (platform: espressif32; board: esp32dev; framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (1.10.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
 - framework-arduinoespressif32 2.10003.190916 (1.0.3)
 - tool-esptoolpy 1.20600.0 (2.6.0)
 - toolchain-xtensa32 2.50200.80 (5.2.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 26 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Compiling .pio\build\esp32dev\src\main.cpp.o
Linking .pio\build\esp32dev\firmware.elf
Building .pio\build\esp32dev\firmware.bin
Retrieving maximum program size .pio\build\esp32dev\firmware.elf
Checking size .pio\build\esp32dev\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [          ]   4.5% (used 14628 bytes from 327680 bytes)  
Flash: [==        ]  15.9% (used 208524 bytes from 1310720 bytes)
esptool.py v2.6
=========================================================================================================== [SUCCESS] Took 8.48 seconds ===========================================================================================================


Terminal will be reused by tasks, press any key to close it.
well i also have had a closer look at the manpages: https://marketplace.visualstudio.com/ite...hon.python

but at the moment i have no glue whats going on here.

any ideas Smile
Reply
#3
Typically I have installed extensions - Python, Kite, and others. There are a number of youtube videos that walk you through the process
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python on VSCode GiBandoleiro 1 480 Nov-01-2023, 03:35 PM
Last Post: deanhystad
  Python package not seen in VSCode fmccabe80 6 3,213 Mar-06-2023, 10:01 PM
Last Post: fmccabe80
  I use VsCode with Python and it currently won't let me run any code NordicMonkey 2 1,520 Sep-18-2022, 08:42 PM
Last Post: Larz60+
  Setup Portable Python on Windows for script starts with double clicks? pstein 0 1,818 Feb-18-2022, 01:29 PM
Last Post: pstein
Photo A humble VsCode Python Snippets 2.0 medlexo 6 2,396 Jan-03-2022, 08:54 PM
Last Post: medlexo
  Having problem configuring and using acitoolkit JSung 3 2,052 Aug-17-2021, 03:09 AM
Last Post: JSung
  Python Idlex setup robsuttonjr 3 3,072 Jan-09-2021, 09:54 PM
Last Post: Gribouillis
  python setup.py install error blackclover 2 7,942 Jan-07-2021, 04:36 AM
Last Post: blackclover
  'python setup.py bdist' gets error on 'compiler_flags' 1780yz 0 2,215 Sep-02-2020, 09:17 PM
Last Post: 1780yz
  Python to setup samuelbachorik 2 2,344 Apr-19-2020, 11:19 AM
Last Post: samuelbachorik

Forum Jump:

User Panel Messages

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