-
-
Notifications
You must be signed in to change notification settings - Fork 799
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
ImportError: No module named platformio.util
on platformio run
#9
Comments
Thanks a lot for report.
Is it working fine now? If no, then give me a list of installed Python packages: $ pip list |
I already tried the termanial-hop, been there done that. |
I know another way how to resolve this issue. But I want to know why this normal way (with installation) doesn't work. Something is wrong with your PYTHONPATH. I've just created "debug" version of Please replace file The run for your test project: $ platformio run You should see a dump of Python system path. Please share it here. Thanks a lot. |
Here you go:
You are not trying to steal my passwords are you? 😉 |
I see a problem. It is Do you run I will create simple "patch" for your case and give your a new P.S:
No, I'm a good man :) |
Running with |
Try new Please replace file /usr/local/lib/python2.7/site-packages/platformio/builder/main.py with https://gist.github.com/ivankravets/e3ee819d8c453c37e5ae |
Yes, that works. Well, I get a compile error on my own code, so that's good. 👍 |
Thanks a lot you for patience with several patches! 😉 |
I have a very simple project, see https://gist.github.com/ariejan/3cd2986afb67e054ba46 for the
src/main.cpp
andplatformio.ini
. Both are basically a copy of the examples provided by platformio.I'm on OS X 10.9, with Python 2.7 through home brew:
I can install and list frameworks just fine:
However, when I try to run this, I get the following error:
Since I'm not all that familiar with Python, I've got no clue as to how to resolve this. There is a
util.py
file at `` that contains the methods mentioned.What am I missing? What do I need to to fix my environment?
The text was updated successfully, but these errors were encountered: