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

PR: Always activate a conda environment for IPython consoles #21783

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

mrclary
Copy link
Contributor

@mrclary mrclary commented Feb 8, 2024

Description of Changes

Windows start menu shortcut target uses cwp.py which omits %PREFIX%\bin from the PATH environment variable and Spyder does not activate conda environment for interpreters that are the same as Spyder's runtime environment. This confluence results in failure to find certain DLLs. Always activating conda environments should resolve this issue.

Issue(s) Resolved

Fixes #21749

@mrclary mrclary self-assigned this Feb 8, 2024
@mrclary mrclary marked this pull request as ready for review February 8, 2024 23:19
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small comment for you @mrclary.

Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mrclary!

@ccordoba12 ccordoba12 merged commit 75e5b60 into spyder-ide:5.x Feb 9, 2024
23 checks passed
@mrclary
Copy link
Contributor Author

mrclary commented Feb 9, 2024

@ccordoba12 I can submit a followup PR for this on the master branch, if necessary. There may be merge conflicts when merging 5.x into master.

@ccordoba12
Copy link
Member

ccordoba12 commented Feb 9, 2024

No worries, I'm solving the conflicts in master right now (they don't seem too hard).

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

Successfully merging this pull request may close these issues.

2 participants