-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Labels
Description
Solutions
There are a few workarounds for this issue. Please try them from 1 to 3. If first does not work, then next, etc.
Solution 1
- Press Windows
- Start typing: App Execution Aliases
- Disable Python and Python3
- Restart VSCode.
Solution 2
- Create
.platformio
folder in the root ofC:
drive (OS drive). - Restart VSCode.
Solution 3
- Install PlatformIO Core manually
- Restart VSCode.
See example
Solution 4
- Navigate to
%USERHOME%
folder in a File Explorer and RIGHT click on.platformio
folder -> Properties. If your account name contains NON-ASCII chars, the.platformio
folder will be located in the ROOT of your system drive (for example,C:\.platformio
):
- Go to the “Security” tab and click on the “Advanced” option:
- In the Advanced Security Settings window, check the option “Replace all child object permission entries with inheritable permission entries from this object“:
- Now, click on “Apply” and “OK” to save your changes. Close the Explorer and restart your computer. Check if you can access the files on the external drive.
P.S: Credits go to https://thegeekpage.com/fix-the-requested-operation-requires-elevation-error-740-in-windows-10/ (4 Step)
%23 Description of problem
Leave a comment...
BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN
%23 Configuration
VSCode: 1.50.1
PIO IDE: v2.1.0
System: Windows_NT, 10.0.18362, x64
%23 Exception
Error: Traceback (most recent call last):
File "C:\Users\USER\.platformio\.cache\tmp\get-platformio-0.3.5.py", line 69, in <module>
main()
File "C:\Users\USER\.platformio\.cache\tmp\get-platformio-0.3.5.py", line 61, in main
bootstrap()
File "C:\Users\USER\.platformio\.cache\tmp\get-platformio-0.3.5.py", line 47, in bootstrap
pioinstaller.__main__.main()
File "C:\Users\USER\.platformio\.cache\tmp\.piocore-installer-f3auf236\tmplh2w1f4h\pioinstaller.zip\pioinstaller\__main__.py", line 122, in main
File "C:\Users\USER\.platformio\.cache\tmp\.piocore-installer-f3auf236\tmplh2w1f4h\pioinstaller.zip\click\core.py", line 829, in __call__
File "C:\Users\USER\.platformio\.cache\tmp\.piocore-installer-f3auf236\tmplh2w1f4h\pioinstaller.zip\click\core.py", line 782, in main
File "C:\Users\USER\.platformio\.cache\tmp\.piocore-installer-f3auf236\tmplh2w1f4h\pioinstaller.zip\click\core.py", line 1236, in invoke
File "C:\Users\USER\.platformio\.cache\tmp\.piocore-installer-f3auf236\tmplh2w1f4h\pioinstaller.zip\click\core.py", line 1066, in invoke
File "C:\Users\USER\.platformio\.cache\tmp\.piocore-installer-f3auf236\tmplh2w1f4h\pioinstaller.zip\click\core.py", line 610, in invoke
File "C:\Users\USER\.platformio\.cache\tmp\.piocore-installer-f3auf236\tmplh2w1f4h\pioinstaller.zip\click\decorators.py", line 21, in new_func
File "C:\Users\USER\.platformio\.cache\tmp\.piocore-installer-f3auf236\tmplh2w1f4h\pioinstaller.zip\pioinstaller\__main__.py", line 52, in cli
File "C:\Users\USER\.platformio\.cache\tmp\.piocore-installer-f3auf236\tmplh2w1f4h\pioinstaller.zip\pioinstaller\core.py", line 72, in install_platformio_core
File "C:\Users\USER\.platformio\.cache\tmp\.piocore-installer-f3auf236\tmplh2w1f4h\pioinstaller.zip\pioinstaller\penv.py", line 75, in create_core_penv
File "C:\Users\USER\.platformio\.cache\tmp\.piocore-installer-f3auf236\tmplh2w1f4h\pioinstaller.zip\pioinstaller\penv.py", line 144, in add_state_info
File "C:\Users\USER\.platformio\python3\lib\subprocess.py", line 411, in check_output
**kwargs).stdout
File "C:\Users\USER\.platformio\python3\lib\subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['C:\\Users\\USER\\.platformio\\penv\\Scripts\\python.exe', '-c', "import sys
Hi i get this error when installing PlatformIO
vale075, sgtpepper335, Fusseldieb, Stunnerr, davidventasmarin and 7 moreelandro18vale075, Fusseldieb, davidventasmarin, JoeRu, Roodaka and 2 moreFernandoGarcia, dphov and JamesDelfini