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

Failed to create process error #41

Closed
steve-qi opened this issue Jan 1, 2018 · 4 comments
Closed

Failed to create process error #41

steve-qi opened this issue Jan 1, 2018 · 4 comments

Comments

@steve-qi
Copy link

steve-qi commented Jan 1, 2018

Hi, I'm not sure if I am trying to use this right, but when I try to run uflash I get a Failed To Create Process error.

Any suggestions how I should fix this?

@ntoll
Copy link
Owner

ntoll commented Jan 1, 2018

What operating system are you using, can you give an example of what you typed in, what the complete output of attempting to run the command was and confirm that you're using the latest version of uflash? Thanks.

@steve-qi
Copy link
Author

steve-qi commented Jan 1, 2018

Hi thanks for coming back on this. I'm on Windows 10, the pip import seemed to run fine (but only as Administrator). The install was done today, so I'm assuming it picked up the latest version. The folder name in the site-packages folder is uflash-1.0.8-py3.5.egg-info. The date on the uflash.py file is 14/12/2016 though? I'm trying to run uflash -h in a command prompt (is this the correct way to use it?) and get the message. I can import the module into a .py file without it complaining.

The full output is:
Microsoft Windows [Version 10.0.16299.125]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>uflash -h
failed to create process.

@ntoll
Copy link
Owner

ntoll commented Jan 1, 2018

Hi, I suspect this isn't a bug with uFlash -- rather, you've hit this problem:

pypa/pip#2783

I guess you should upgrade your setuptools and try again or upgrade Python perhaps..?

@steve-qi
Copy link
Author

steve-qi commented Jan 1, 2018

After uninstalling Python and loading it all back on we are in business. Thank you so much for the pointer.

@ntoll ntoll closed this as completed Mar 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants