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

Repeated text on "conda evn create". Perhaps add pip dependency in the environment.yaml file. #3

Open
rhema opened this issue May 18, 2022 · 1 comment

Comments

@rhema
Copy link

rhema commented May 18, 2022

On Ubuntu Server 20, after typing

conda env create -f environment.yaml

I get the following output:
Warning: you have pip-installed dependencies in your environment file, but you do not list pip itself as one of your conda dependencies. Conda may not use the correct pip to install your packages, and they may end up in the wrong place. Please add an explicit pip dependency. I'm adding one for you, but still nagging you. Warning: you have pip-installed dependencies in your environment file, but you do not list pip itself as one of your conda dependencies. Conda may not use the correct pip to install your packages, and they may end up in the wrong place. Please add an explicit pip dependency. I'm adding one for you, but still nagging you.

The messages above repeats until exited via CTRL-C.

I was able to fix this by adding "- pip==21.0.1" to the environment file after reading about the issue here: conda/conda#10614.

Thank you.

@sanghiad
Copy link
Collaborator

Thanks @rhema !! I am not sure why I do not get this issue. Let me see if I can observe this on another computer.

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

2 participants