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
Difficulties to install miniconda properly #389
Comments
I've had a very similar problem. Activating a conda environment in a CI server or Docker image isn't straightforward. I've encountered this issues several times. The documentation of conda does provide an example with using Travis CI, but it didn't work properly when I tried it on AWS CodeBuild
For AWS CodeCuild I had to change
And like you tried, the Translating this to AWS CodeCommit my buildspecs (conda part) look like this:
|
I've got this buildspec
Conda is well installed but I have trouble to make it work properly. As stated in the doc, conda need to be initialized. However, the shell needs to be restarted afterwards, and the
exec $SHELL
does not seems to do it as I am not able to activate the virtual environment withconda activate myenv
. Although, once activated (or I think it was), the python binary called is the one on the root, not the virtual environment.The text was updated successfully, but these errors were encountered: