C:>echo %PYTHONPATH%
C:\Users\aro\Documents\Visual Studio 2015\Projects
C:>python --version
Python 2.7.13
C:>pip --version
pip 9.0.1 from c:\users\aro.platformio\penv\lib\site-packages (python 2.7)
C:>pip list
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
arrow (0.10.0)
bottle (0.12.13)
certifi (2017.7.27.1)
chardet (3.0.4)
click (5.1)
colorama (0.3.9)
idna (2.6)
lockfile (0.12.2)
pip (9.0.1)
platformio (3.5.0a9)
pyserial (3.4)
python-dateutil (2.6.1)
requests (2.18.4)
semantic-version (2.6.0)
setuptools (36.2.7)
six (1.10.0)
urllib3 (1.22)
virtualenv (15.1.0)
wheel (0.29.0)
Do you use a proxy? It seems that we fixed this issue in the latest development version. Please open PIO IDE Terminal in VSCode and type pio upgrade. It should work now.
Hi I am having a similar problem with my VSCode and PIO IDE Terminal (PlatformIO Core, version 5.1.1)
Tool Manager: Installing platformio/tool-avrdude @ ~1.60300.0
Error: You are not connected to the Internet.
PlatformIO needs the Internet connection to download dependent packages or to work with
PlatformIO Account.
Currently using proxy at workplace, could be the problem but I have already configured htttp_proxy and https_proxy in the settings.json.
Thank you @maxgerhardt. I tried first by editing the setting.json it didn’t work. It works now after including HTTP_PROXY & HTTPS_PROXY in the machine’s system variables.