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

Crash Report #37

Open
Jninja15 opened this issue Mar 22, 2022 · 4 comments
Open

Crash Report #37

Jninja15 opened this issue Mar 22, 2022 · 4 comments

Comments

@Jninja15
Copy link

REMEMBER TO ATTACH YOUR LOG FILE

Version: 1.1.0b7
Locale: en_US
Platform: Linux 5.13.0-30-generic mu-editor/mu#33~20.04.1-Ubuntu SMP Mon Feb 7 14:25:10 UTC 2022 x86_64

Traceback (most recent call last):
  File "/home/jninja15/.local/lib/python3.8/site-packages/mu/app.py", line 159, in run
    raise ex
  File "/home/jninja15/.local/lib/python3.8/site-packages/mu/app.py", line 146, in run
    venv.ensure_and_create(self.display_text)
  File "/home/jninja15/.local/lib/python3.8/site-packages/mu/virtual_environment.py", line 603, in ensure_and_create
    self.create()
  File "/home/jninja15/.local/lib/python3.8/site-packages/mu/virtual_environment.py", line 771, in create
    self.create_venv()
  File "/home/jninja15/.local/lib/python3.8/site-packages/mu/virtual_environment.py", line 803, in create_venv
    raise VirtualEnvironmentCreateError(
mu.virtual_environment.VirtualEnvironmentCreateError: Unable to create a virtual environment using /usr/bin/python3 at /home/jninja15/.local/share/mu/mu_venv-38-20220321-190247
STDERR: /usr/bin/python3: No module named virtualenv

@carlosperate
Copy link
Member

Thanks for the report @Jninja15 !

I believe this issue might be mu-editor/mu#1954 (comment).

Possible workarounds:

  • Install the python3-virtualenv package using apt (or your OS package manager)
  • Install Mu in a virtual environment, as that is the recommended way and it should work much better.
  • I would also personally recommend to use pipx, as it's great for installing Python-based applications: https://pypa.github.io/pipx/
    • pipx will automatically install Python applications in their own isolated virtual environment, and add the executable to the PATH so that it can be easily launched like any other app.

@carlosperate
Copy link
Member

Hi @Jninja15
Were you able to resolve with issue with Mu with the steps listed in my last message?

@Jninja15
Copy link
Author

Jninja15 commented Jun 1, 2022

@carlosperate
I haven't done all of the steps yet, but so far no luck.

@carlosperate
Copy link
Member

Hi @Jninja15, what have you tried so far? the main thing would be to use a virtual environment, to isolate the Mu installation from the system Python packages.

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

2 participants