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 #32

Closed
Thecatinamustang opened this issue Mar 2, 2022 · 4 comments
Closed

Crash Report #32

Thecatinamustang opened this issue Mar 2, 2022 · 4 comments

Comments

@Thecatinamustang
Copy link

REMEMBER TO ATTACH YOUR LOG FILE

Version: 1.1.1
Locale: de_DE
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/cat/.local/lib/python3.8/site-packages/mu/app.py", line 159, in run
    raise ex
  File "/home/cat/.local/lib/python3.8/site-packages/mu/app.py", line 146, in run
    venv.ensure_and_create(self.display_text)
  File "/home/cat/.local/lib/python3.8/site-packages/mu/virtual_environment.py", line 603, in ensure_and_create
    self.create()
  File "/home/cat/.local/lib/python3.8/site-packages/mu/virtual_environment.py", line 771, in create
    self.create_venv()
  File "/home/cat/.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/cat/.local/share/mu/mu_venv-38-20220302-095049
STDERR: /usr/bin/python3: No module named virtualenv

@carlosperate
Copy link
Member

Thanks for the report @Thecatinamustang.

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 @Thecatinamustang
Were you able to resolve with issue with Mu with the steps listed in my last message?

@Thecatinamustang
Copy link
Author

Hey carlosperate, I didn't try fixing it yet. I am a complete baby to the whole programming and programs field. For the moment, I postponed this project. But I'll come back to it soon and let you know.

@carlosperate
Copy link
Member

Okay, I'll close this issue in that case. If in the future you can give it a try again please feel free to reopen this issue or create a new one. Thanks for the testing and the report!

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