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

Supporting conda 4.4+ #36

Open
jakirkham opened this issue Apr 30, 2018 · 4 comments
Open

Supporting conda 4.4+ #36

jakirkham opened this issue Apr 30, 2018 · 4 comments

Comments

@jakirkham
Copy link

As of conda 4.4, the preferred way to activate/deactivate a conda environment is conda activate/conda deactivate. This also requires sourcing <ROOT>/etc/profile.d/conda.sh on Unix where <ROOT> is the base of the conda installation. Would be good to update the activation/deactivation steps in the kernels here to support conda 4.4+.

ref: https://github.com/conda/conda/releases/tag/4.4.0

@jankatins
Copy link
Collaborator

Updating to conda 4.4+ has some not so nice sideeffects: 'conda' not found in path. probably because conda is now a shell function and not a command anymore and also because my jupyter notebook systemd service hasn't activated the root environment :-(

This might help here: http://tech.akom.net/archives/93-Getting-a-systemd-unit-to-read-your-.bashrc-file-for-its-environment.html

@Cadair
Copy link
Owner

Cadair commented May 8, 2018

probably because conda is now a shell function and not a command anymore

🙀

@jankatins
Copy link
Collaborator

This might be an easier way to get the activated environment variables:
https://github.com/tox-dev/tox-conda/pull/1/files#diff-3960d5009402e509ed9ea4aa24b71dfaR55

For the "conda not found" problem: there is now a 'conda_exe' environment variable (at least on unix), which we should try first...

@jayagami
Copy link

So.. the problem remains

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

No branches or pull requests

4 participants