MU Installation On Linux Mint

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
Rocco99
 
Posts: 81
Joined: Sun Jan 19, 2014 5:20 pm

MU Installation On Linux Mint

Post by Rocco99 »

Can anyone help me solve this:-
I've already given myself permissions ref: sudo usermod -a -G dialout <myUsername>

Here is the crash report:-
Something has gone wrong with Mu. Here's the error:

Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/mu/app.py", line 159, in run
raise ex
File "/usr/local/lib/python3.8/dist-packages/mu/app.py", line 146, in run
venv.ensure_and_create(self.display_text)
File "/usr/local/lib/python3.8/dist-packages/mu/virtual_environment.py", line 621, in ensure_and_create
self.recreate()
File "/usr/local/lib/python3.8/dist-packages/mu/virtual_environment.py", line 566, in recreate
self.create()
File "/usr/local/lib/python3.8/dist-packages/mu/virtual_environment.py", line 768, in create
self.install_baseline_packages()
File "/usr/local/lib/python3.8/dist-packages/mu/virtual_environment.py", line 878, in install_baseline_packages
wheels.download(zipped_wheels_filepath, logger)
File "/usr/local/lib/python3.8/dist-packages/mu/wheels/__init__.py", line 194, in download
zip_wheels(zip_filepath, temp_dirpath, logger)
File "/usr/local/lib/python3.8/dist-packages/mu/wheels/__init__.py", line 165, in zip_wheels
with zipfile.ZipFile(zip_filepath, "w") as z:
File "/usr/lib/python3.8/zipfile.py", line 1251, in __init__
self.fp = io.open(file, filemode)
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.8/dist-packages/mu/wheels/1.1.0.beta.6.zip'

User avatar
Franklin97355
 
Posts: 23912
Joined: Mon Apr 21, 2008 2:33 pm

Re: MU Installation On Linux Mint

Post by Franklin97355 »


User avatar
danhalbert
 
Posts: 4655
Joined: Tue Aug 08, 2017 12:37 pm

Re: MU Installation On Linux Mint

Post by danhalbert »

How did you do the installation, and which version of Mu are you trying to install?

Rocco99
 
Posts: 81
Joined: Sun Jan 19, 2014 5:20 pm

Re: MU Installation On Linux Mint

Post by Rocco99 »

I just solved the problem. Another rookie mistake by me. I forgot to type sudo before mu-editor. Thanks very much for your help.

User avatar
danhalbert
 
Posts: 4655
Joined: Tue Aug 08, 2017 12:37 pm

Re: MU Installation On Linux Mint

Post by danhalbert »

You should not need the `sudo` if you have put yourself in the dialout group. However, you need to log out completely (rebooting is best) to make that take effect.

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”