Add conda dependency "pip" to prevent warning loop #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
안녕하세요. 기존에 만들어주신 environment-*.yml을 이용해 conda 환경을 구축하려고 하니 "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" 와 같은 경고 메시지가 무한히 출력되면서 환경이 만들어지지 않는 문제가 있었습니다. 해당 문제는 Ubuntu 20.04 및 Conda 4.10.1 환경을 가진 3개의 컴퓨터에서 모두 재현 가능했습니다.
해결 방법은 아래 예시와 같이 "- pip:" 바로 윗줄에 "- pip"를 추가함으로써 conda가 설치할 환경에 pip 자체도 추가하는 것이었으며, [링크 1] 및 [링크 2] 를 참고하였습니다.