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

WIP: Fix REPL using wrong interpreter, bad PYTHONPATH from envars breaking things #1240

Merged
merged 2 commits into from
Jan 31, 2021

Conversation

devdanzin
Copy link
Contributor

This records two tentative fixes for #1239:

  • Avoid using any PYTHONPATH values from envars ("Python3 Environment" tab), as that is prone to breaking stuff and way more likely if user has more than one Mu version installed.
  • Check whether QtKernelManager figures out the right interpreter to run the kernel on. If it doesn't, we log the issue and tell it to use venv.interpreter instead. Since I couldn't actually reproduce this issue, not sure the value added goes beyond better diagnostics (i.e., kernel might still fail to run).

@ntoll
Copy link
Member

ntoll commented Jan 31, 2021

Looks good to me. You're on fire @devdanzin 🔥 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants