platformio-vscode-ide: PermissionError: [Errno 13] Permission denied

%23 Description of problem Leave a comment…

BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN

%23 Configuration

VSCode: 1.39.2 PIO IDE: v1.9.0 System: Windows_NT, 10.0.17763, x64

%23 Exception

Error: Could not create PIO Core Virtual Environment. Please create it manually -> http://bit.ly/pio-core-virtualenv 
 Error: Virtualenv Create: Traceback (most recent call last):
  File "C:\Users\krame\.platformio\.cache\tmp-20496A01p7j7qCCSu\virtualenv-16.7.5\virtualenv.py", line 2632, in <module>
    main()
  File "C:\Users\krame\.platformio\.cache\tmp-20496A01p7j7qCCSu\virtualenv-16.7.5\virtualenv.py", line 870, in main
    symlink=options.symlink,
  File "C:\Users\krame\.platformio\.cache\tmp-20496A01p7j7qCCSu\virtualenv-16.7.5\virtualenv.py", line 1156, in create_environment
    install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages=site_packages, clear=clear, symlink=symlink)
  File "C:\Users\krame\.platformio\.cache\tmp-20496A01p7j7qCCSu\virtualenv-16.7.5\virtualenv.py", line 1526, in install_python
    shutil.copyfile(executable, py_executable)
  File "C:\Users\krame\.platformio\python37\lib\shutil.py", line 121, in copyfile
    with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\krame\\.platformio\\penv\\Scripts\\python.exe'

Using base prefix 'C:\\Users\\krame\\.platformio\\python37'
New python executable in C:\Users\krame\.platformio\penv\Scripts\python.exe

	at t.value (c:\Users\krame\.vscode\extensions\platformio.platformio-ide-1.9.0\node_modules\platformio-node-helpers\dist\index.js:1:31671)

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

But people were complaining it’s hard to implement because of the different nature/interface API

Where did you ask that? This feature was added to PlatformIO 5 years ago 😃