Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subprocess.CalledProcessError #221

Open
reza21310 opened this issue Oct 15, 2020 · 111 comments
Open

subprocess.CalledProcessError #221

reza21310 opened this issue Oct 15, 2020 · 111 comments

Comments

@reza21310
Copy link

reza21310 commented Oct 15, 2020

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

  1. Press Windows
  2. Start typing: App Execution Aliases
  3. Disable Python and Python3
  4. Restart VSCode.

Solution 2

  1. Create .platformio folder in the root of C: drive (OS drive).
  2. Restart VSCode.

Solution 3

  1. Install PlatformIO Core manually
  2. Restart VSCode.

See example

Screen Shot 2021-01-15 at 20 22 12

Solution 4

  1. 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):

Screen Shot 2020-11-05 at 14 55 51

  1. Go to the “Security” tab and click on the “Advanced” option:

security-tab

  1. In the Advanced Security Settings window, check the option “Replace all child object permission entries with inheritable permission entries from this object“:

advanced-security

  1. 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 
@ivankravets ivankravets changed the title Installation Manager subprocess.CalledProcessError Oct 16, 2020
@ivankravets ivankravets added the help wanted Extra attention is needed label Oct 16, 2020
@ivankravets
Copy link
Member

Do you use antivirus tools?

This was referenced Oct 16, 2020
@wleagle
Copy link

wleagle commented Oct 20, 2020

I have exactly the same problem with configuration:
VSCode: 1.50.1
PIO IDE: v2.1.3
System: Windows_NT x64, 10.0.19041

@wleagle
Copy link

wleagle commented Oct 20, 2020

My problem solved. It is caused by a space in my username. Space is not allowed in the file path of python.

@ivankravets
Copy link
Member

Just tried in a clean VM box and "Don Pedro" works as expected. Please destroy from your system insecure and danger software, such as dr.web, kasperskyi, avast, avg, mcafee, etc.

Screen Shot 2020-10-20 at 14 03 52

@ambarusa
Copy link

I had no softwares installed like you mentioned, @ivankravets.

VSCode 1.50.1
Core 5.0.1, Home 3.3.0
Python 3.9 (latest)

@ivankravets
Copy link
Member

@ambarusa could you provide your output from VSCode's console? See my screenshot above. VSCode > Help > Developer tools > Console.

@ambarusa
Copy link

ambarusa commented Oct 20, 2020

console.ts:137 [Extension Host] Error: Traceback (most recent call last):
File "C:\Users\Adam Ambarus.platformio.cache\tmp\get-platformio-0.3.5.py", line 69, in
main()
File "C:\Users\Adam Ambarus.platformio.cache\tmp\get-platformio-0.3.5.py", line 61, in main
bootstrap()
File "C:\Users\Adam Ambarus.platformio.cache\tmp\get-platformio-0.3.5.py", line 47, in bootstrap
pioinstaller.main.main()
File "C:\Users\Adam Ambarus.platformio.cache\tmp.piocore-installer-4fiaxrjr\tmp1g1qxxyl\pioinstaller.zip\pioinstaller_main_.py", line 122, in main
File "C:\Users\Adam Ambarus.platformio.cache\tmp.piocore-installer-4fiaxrjr\tmp1g1qxxyl\pioinstaller.zip\click\core.py", line 829, in call
File "C:\Users\Adam Ambarus.platformio.cache\tmp.piocore-installer-4fiaxrjr\tmp1g1qxxyl\pioinstaller.zip\click\core.py", line 782, in main
File "C:\Users\Adam Ambarus.platformio.cache\tmp.piocore-installer-4fiaxrjr\tmp1g1qxxyl\pioinstaller.zip\click\core.py", line 1236, in invoke
File "C:\Users\Adam Ambarus.platformio.cache\tmp.piocore-installer-4fiaxrjr\tmp1g1qxxyl\pioinstaller.zip\click\core.py", line 1066, in invoke
File "C:\Users\Adam Ambarus.platformio.cache\tmp.piocore-installer-4fiaxrjr\tmp1g1qxxyl\pioinstaller.zip\click\core.py", line 610, in invoke
File "C:\Users\Adam Ambarus.platformio.cache\tmp.piocore-installer-4fiaxrjr\tmp1g1qxxyl\pioinstaller.zip\click\decorators.py", line 21, in new_func
File "C:\Users\Adam Ambarus.platformio.cache\tmp.piocore-installer-4fiaxrjr\tmp1g1qxxyl\pioinstaller.zip\pioinstaller_main_.py", line 52, in cli
File "C:\Users\Adam Ambarus.platformio.cache\tmp.piocore-installer-4fiaxrjr\tmp1g1qxxyl\pioinstaller.zip\pioinstaller\core.py", line 72, in install_platformio_core
File "C:\Users\Adam Ambarus.platformio.cache\tmp.piocore-installer-4fiaxrjr\tmp1g1qxxyl\pioinstaller.zip\pioinstaller\penv.py", line 75, in create_core_penv
File "C:\Users\Adam Ambarus.platformio.cache\tmp.piocore-installer-4fiaxrjr\tmp1g1qxxyl\pioinstaller.zip\pioinstaller\penv.py", line 144, in add_state_info
File "C:\Users\Adam Ambarus.platformio\python3\lib\subprocess.py", line 411, in check_output
**kwargs).stdout
File "C:\Users\Adam Ambarus.platformio\python3\lib\subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['C:\Users\Adam Ambarus\.platformio\penv\Scripts\python.exe', '-c', "import sys; version=sys.version_info; print('%d.%d.%d'%(version[0],version[1],version[2]))"]' returned non-zero exit status 101.
-> Installer version: 0.3.5
Platform: Windows-10
Python version: 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 10:41:24) [MSC v.1900 64 bit (AMD64)]
Python path: C:\Users\Adam Ambarus.platformio\python3\python.exe
Creating a virtual environment at C:\Users\Adam Ambarus.platformio\penv
at c:\Users\Adam Ambarus.vscode\extensions\platformio.platformio-ide-2.1.3\node_modules\platformio-node-helpers\dist\index.js:1:879089 at ChildProcess.c (c:\Users\Adam Ambarus.vscode\extensions\platformio.platformio-ide-2.1.3\node_modules\platformio-node-helpers\dist\index.js:1:878983) at ChildProcess.emit (events.js:223:5) at ChildProcess.cp.emit (c:\Users\Adam Ambarus.vscode\extensions\platformio.platformio-ide-2.1.3\node_modules\cross-spawn\lib\enoent.js:34:29) at maybeClose (internal/child_process.js:1021:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)

I hope this is the error log you are interested in, for any additional info, contact me.

@ivankravets
Copy link
Member

Could you open your CMD terminal and type?

"C:\Users\Adam Ambarus\.platformio\penv\Scripts\python.exe" -c "import sys; version=sys.version_info; print('%d.%d.%d'%(version[0],version[1],version[2]))"

@ambarusa
Copy link

Unable to create process using 'C:\Users\Adam Ambarus.platformio\python3\python.exe -c "import sys; version=sys.version_info; print('%d.%d.%d'%(version[0],version[1],version[2]))"'

I get this response in admin mode too.

@ivankravets
Copy link
Member

Unable to create process using

I'm not familiar with Windows OS. I used it 15 years ago last time. What is the reason that you can't call Python from the shell and I can do this from my Windows VM box? Do you use any extra software that protects you?

@ambarusa
Copy link

ambarusa commented Oct 20, 2020

this command works, if I'm using python.exe from ...\AppData\Local\Programs\Python\Python39

I will come up with more information, after investigation.

@cheintz
Copy link

cheintz commented Oct 24, 2020

@ambarusa were you able to figure this out? I'm having the same issue, except I had PlatformIO working in August, and an update broke it. Reinstalling VS Code and installing old versions of PlatformIO still do not succeed. Deleting the .platformio cache between uninstall and reinstall also does not help.

I do not have any antivirus other than Security Essentials. Disabling Security Essentials real-time protection does not allow for successful installation.

@MacroYau
Copy link

MacroYau commented Oct 24, 2020

Same issue here. Tried to disable anti-virus, remove .platformio and obsolete VS Code extension folders, but still prompts the same error.

Installing the core in penv via pip install -U platformio works, though. Is there any way to bypass the core installation, and have the VS Code extension to use a pre-installed PIO core, as a temporary workaround?

@ivankravets
Copy link
Member

It looks like an issue with a security policy that does not allow to run PlatformIO Core pio.exe that was installed via Node.JS process (VSCode uses it). Maybe, some Windows updates?

@cheintz
Copy link

cheintz commented Oct 26, 2020

So some combination of uninstalling an old Python, installing a new python, and stopping a program I use called ActualWindowManager, followed by reinstalling VS Code, allowed PlatformIO Core to install. I've never had a problem with ActualWindowManager before, including installing previous versions of PlatformIO (I know I had it working in late August).

I've gotta say, though, the sheer number of errors people are having points to this installation procedure being super brittle. The attitude of "we don't support having Conda installed" and "you must be doing something wrong" is also worrying. I realized this is freeware, but devs dismissing installation issues for something that is designed to be easy-to-use is pretty jarring.

@marcowenneker
Copy link

Couldn’t let this go, and wanted to help others… So, investigated further.
Just to clarify, runtime I got an error so IDE and pio home didn’t work. Dev Tools pointed to errors in node_modules, i.e. Node. As a result, I tried to reinstall. But then that failed too (Python script errors).
I notice Python is having difficulties with space in path.
That could be my situation, C:\Users\Marco Wenneker
Now you don’t wanna change your profile folder, nor should you. But since I’ve had problems with it once before, I’d thought, I’d take the plunge.
Used Registry Toolkit. All applications (as a dev I’ve a lot installed) seemed to follow willingly. Only MS mail-profile stuff didn’t. But I digress.
Now have C:\Users\marcowenneker
Start VS Code, PlatformIO works like a charm!
Side note: this also gets rid of the need for a .platformio folder in root.
Now I’m not saying this is THE solution, but for me it seemed the only one to get things working.
Background info: Windows b21370, Node v16.1.0, Python v3.9.5

@JcarlosFAllende
Copy link

Para poder solucionar el siguiente error de PlatformIO IDE 😎😎
image
1.- Primero lo que se requiere es instalar python
URL: https://www.python.org/downloads/
2.- Una vez que ya se instaló phyton, se abre VS y se instala la extensión de PlatformIO IDE, y esperamos para que carguen todos los archivos, en ese momentó saldrá el error de la imagen que dejé al inicio, para solucionar eso sigue los puntos 3-

3.- Lo que sigue es solo aplica en (WINDOWS):
* ir a configuración -> Aplicaciones y características -> Alias de ejecución de aplicaciones y desactivar lo siguiente

image

4.- Ahora bien lo que se tiene que hacer es abrir la terminal y agregar los siguientes comandos
* cd .platformio
* python3\python.exe .cache\tmp\get-platformio-1.0.2.py
Y es así como te debe de aparecer al final de la ejecución de esos comandos

image

En este momento se instalará el archivo que se requiere para poder utilizar Platformio en VS

Nota: para que sepas en donde saqué la ubicación de los comandos que utilicé en el punto 4
primero ingresé a Este equipo -> Usuarios -> .platformio y ahí puedes encontrar la ruta que utilicé para la instalación

image

Al final abrí nuevamente mi Visual y empezó a cargar Platformio y me quedó así
image

@RoadyRunner
Copy link

Thank you...the first solution worked for me

@manotroll
Copy link

manotroll commented Jun 26, 2021

https://i.imgur.com/AVU0YH8.png
depois de muito insistir foi
esse problema deveria ser resolvido não?
ou mudar para outro programa que possa fazer o mesmo no marlim

@owkside
Copy link

owkside commented Jul 3, 2021

Thank you! your first solution solved my problem!

@GTO84
Copy link

GTO84 commented Jul 20, 2021

Step by step solution video (autor: Fernando Menduiña Ruiz):

https://www.youtube.com/watch?v=k5HMEl6epG4&list=PLX5u2u9TqTHC5O0ZkMY3Pcac9l4Z90Naq

@Ftek23
Copy link

Ftek23 commented Jul 30, 2021

Thank you to kmikze1988 for the solution, i install plateformeIO from microsoft store and now it's worked

@Ftek23
Copy link

Ftek23 commented Aug 22, 2021 via email

@gerritvanderploeg
Copy link

gerritvanderploeg commented Sep 6, 2021

For me the problem was spaces in my Windows 10 username. All I had to do was change my C:/Users/USERNAME from [FirstName LastName] to [FirstNameLastName].
It seemed simple to fix this, but turned out to be quite troublesome because Windows 10 would not let me. I used the following tutorial, after which the problem was solved:

https://youtu.be/XASJTN8Sr1I

The tutorial involves changing important settings and changing Windows registers, so make sure to follow the steps very carefully.

@ivankravets
Copy link
Member

@gerritvanderploeg the space should not be a problem. Could you email me at me@ikravets.com? I would like to get more internal information to reproduce this issue. Thanks!

@JohSchillerEmnify
Copy link

@gerritvanderploeg @ivankravets i can confirm that on my windows 11 machine this problem was solved by removing the space from my user folder.

@ivankravets
Copy link
Member

@JohSchillerEmnify what is your Windows 11 locale? Version? What was your previous username?

I'll try to install Windows 11 in VM and reproduce this issue.

@Brand-Frank
Copy link

My problem solved. It is caused by a space in my username. Space is not allowed in the file path of python.

So I need to change my username? That's amazing!

@ivankravets
Copy link
Member

Did you also have a space in the OS username? We have a test for this case and can’t reproduce on Win 10 VM.

@GDRPrint
Copy link

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

  1. Press Windows
  2. Start typing: App Execution Aliases
  3. Disable Python and Python3
  4. Restart VSCode.

Solution 2

  1. Create .platformio folder in the root of C: drive (OS drive).
  2. Restart VSCode.

Solution 3

  1. Open system terminal cmd.exe
  2. Change directory to .platformio using this command cd C:/Users/%USERPROFILE%/.platformio
  3. Run C:\Users\USER\.platformio>python3\python.exe .cache\tmp\get-platformio-0.3.5.py
  4. Restart VSCode.

See example

Screen Shot 2021-01-15 at 20 22 12

Solution 4

  1. 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):

Screen Shot 2020-11-05 at 14 55 51

  1. Go to the “Security” tab and click on the “Advanced” option:

security-tab

  1. In the Advanced Security Settings window, check the option “Replace all child object permission entries with inheritable permission entries from this object“:

advanced-security

  1. 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 

Excellent solution, #2 worked perfect, thank you !

@dzid26
Copy link

dzid26 commented Jun 21, 2022

Installing Python for All users (in C:\program file\python)) worked for me.
Perhaps because I had a "space" in my user name profile folder. Idk.

@roblatour
Copy link

Thank you, solution 2 + reinstalling python for all users seems have corrected this for me

@Sebastian-69420
Copy link

My solution was to uninstall python from the Microsoft Store and install pyhton via my web browser (this upgraded me from 3.9.something to 3.11.2).
Restarted vscode and it installed without any problems. Even though I have a space in my username.

@ivankravets ivankravets unpinned this issue May 10, 2023
@SpaceMaksi
Copy link

Hi
I tried the all the above-mentioned ways, unfortunately none of them helped me, reinstalling python, turning off the antivirus, and aliases but still, this pops up

Error: Traceback (most recent call last): File "C:\Users\Rocket Man.platformio.cache\tmp\get-platformio-1.1.2.py", line 69, in main() File "C:\Users\Rocket Man.platformio.cache\tmp\get-platformio-1.1.2.py", line 61, in main bootstrap() File "C:\Users\Rocket Man.platformio.cache\tmp\get-platformio-1.1.2.py", line 47, in bootstrap pioinstaller.main.main() File "C:\Users\Rocket Man.platformio.cache\tmp.piocore-installer-xzabddkr\tmpnv1t9any\pioinstaller.zip\pioinstaller_main_.py", line 133, in main File "C:\Users\Rocket Man.platformio.cache\tmp.piocore-installer-xzabddkr\tmpnv1t9any\pioinstaller.zip\click\core.py", line 1128, in call...

In addition, I can not open the full error in the console

@GDRPrint
Copy link

GDRPrint commented May 30, 2023

I am unsubscribing from this thread but want to reply to the latest post.
I see Platformio in a User subfolder, and as I remember it's required directly under C: , as is Marlin
Since I switched to Klipper, all I do is print, never have these issues which drove me nuts.
VS Code is a great product and I loved working in Marlin, but the coding complexity of multiple programs that cannot work well together took all the fun out.

@SpaceMaksi
Copy link

Thank you for your help, however moving folder io directly under C: didn't work. I had to manually download python from site, and then disable Python and Python3 in Aliases and then it finally worked for me.

@03-134202-096
Copy link

Error: Traceback (most recent call last):
File "C:\Users\ASAD KHOSA.platformio.cache\tmp\get-platformio-1.2.0.py", line 71, in
main()
File "C:\Users\ASAD KHOSA.platformio.cache\tmp\get-platformio-1.2.0.py", line 63, in main
bootstrap()
File "C:\Users\ASAD KHOSA.platformio.cache\tmp\get-platformio-1.2.0.py", line 49, in bootstrap
pioinstaller.main.main()
File "C:\Users\ASAD KHOSA.platformio.cache\tmp.piocore-installer-htns6c_l\tmpz4pnck1k\pioinstaller.zip\pioinstaller_main_.py", line 133, in main
File "C:\Users\ASAD KHOSA.platformio.cache\tmp.piocore-installer-htns6c_l\tmpz4pnck1k\pioinstaller.zip\click\core.py", line 1128, in call...

@03-134202-096
Copy link

anyone has idea about that solution?

@03-134202-096
Copy link

*problem

@roblatour
Copy link

roblatour commented Jul 28, 2023

the problem is you have a space in your path name "....ASAD KHOSA....".

did you see the solutions posted above on May 26, 2022

also on Jan 5

@03-134202-096
Copy link

THANKS....... I make a child account, which was completely empty new space , when i logged in then i install it works for me..

@sharask
Copy link

sharask commented Dec 20, 2023

I tested all the solutions provided, but unfortunately, no one worked for me. Still getting errors:

Error: Traceback (most recent call last): File "C:.platformio.cache\tmp\get-platformio-1.2.1.py", line 71, in main() File "C:.platformio.cache\tmp\get-platformio-1.2.1.py", line 63, in main bootstrap() File "C:.platformio.cache\tmp\get-platformio-1.2.1.py", line 49, in bootstrap pioinstaller.main.main() File "C:.platformio.cache\tmp.piocore-installer-builde9w\tmp6epwuoe_\pioinstaller.zip\pioinstaller_main_.py", line 133, in main File "C:.platformio.cache\tmp.piocore-installer-builde9w\tmp6epwuoe_\pioinstaller.zip\click\core.py", line 1128, in call File "C:.platformio.cache\tmp.piocore-installer-builde9w\tmp6epwuoe_\pioinstal...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests