-
Notifications
You must be signed in to change notification settings - Fork 82
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
Automated installation script on Ubuntu 18.10 #11
Comments
Thank you very much, I have received this document. Currently Linux only supports one version, the next version will integrate your results. Thanks again |
Thank you ouki-wang, uPyCraft is a wonderful piece of software and makes using Micropython on esp32 and esp8266 boards a breeze. Perharps my script is a little cumbersome, but it gets all needed software parts from common repositories, without extra compiling. I'm absolutely not an expert, but I'm glad to contribute. |
Hi all, `~/Téléchargements/uPyCraft_src/dist $ ./uPyCraft Current thread 0xb7563980 (most recent call first): |
problem found for encoding UTF8, (enum34 not compatible) problem found for setuptools (installation of pyinstaller) Now new problem :-( |
@patfrench I had similar problems with my script in linux mint 19, above all with python3 and pyinstaller. Try running my script, it's downloadable from the very first message. As I suggested before, if it crashes during pyinstaller execution, try |
hi i have an error here : i am on anaconda, may be a problem of path ? thanks |
@patfrench To replicate your problem, I have installed linux mint 18 and anaconda in a virtual machine, I have run the script and the result is a full working executable (I should say aggregate, pyinstaller doesn't create a true compiled executable). Unfortunately, trying to run the uPyCraft.py file in IDLE3 it crashes miserably at the first lines, because it doesn't find the Qt4 module.
you should check the path for the presence of Qt4 module. Save the file. Try to run in IDLE3 or other suitable python ide and check for further errors. |
Hi, For Linux sarah 32bits with anaconda3, i don't know !?!?!?!?!?!? I abandoned ... Thank you very much |
hi zdomjus60 |
Thank you, your solution working fine on Ubuntu 18.04 |
Thanks! It worked. |
Not an issue, really. I found that compiling from source can lead to unexpected fails, so I wrote a short script in order to use available resources from the ubuntu repository. The script must be made executable the normal way: sudo chmod a+x uPyCraft_installation.txt then executed ./uPyCraft_installation.txt. This script has worked fine in three different ubuntu machines, I think it can be optimized. The final executable uPyCraft can be found in uPyCraft_src/dist directory.
Hope to be of some usefulness.
uPyCraft_installation.txt
Tested on Bodhi (Ubuntu 18.04 based) and Antix (Debian stretch based, 32 bits version), it works fine. If the script crashes on pyinstaller installation, try this command from command line:
pip3 install --upgrade setuptools then relaunch the script.
The text was updated successfully, but these errors were encountered: