파이썬 2.7.12 버전의 가상환경을 만들고 패키지들을 설치하는데 PackagesNotFoundError 에러가 남
PackagesNotFoundError: The following packages are not available from current channels:
- python=2.7.12
Current channels:
- https://repo.anaconda.com/pkgs/main/linux-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/linux-64
- https://repo.anaconda.com/pkgs/r/noarch
💁♀️ 해결방법
1) 패키지 설치 시 에러
conda install -c conda-forge <패키지>
opencv 설치 에러)
conda install -c conda-forge로도 opencv-python가 설치 안될때가 있음.
conda install opencv 이나 pip install opencv 로 설치.
# conda install opencv-python 은 또 안됨.. 이유 아시는분 알려주시면 감사하겠습니다 :)
https://github.com/conda/conda/issues/9101
PackagesNotFoundError: The following packages are not available from current channels: -cv2 · Issue #9101 · conda/conda
Hello I am trying to import cv2 in pycharm but it gives an error while I am using an environment python 3.6 already install opencv through " conda install -c conda-forge " when I list all the pacak...
github.com
2) 가상환경 설치 시 에러
conda create --override-channels -c defaults -n deepxplore python=2.7.12
내가 사용한건 위 방법인데 바로 해결 됨 !
아래 스택오버플로우 링크에 다른 방법들도 있으니 안된다면 확인해보기 ~~~
PackagesNotFoundError: The following packages are not available from current channels:
I'm somewhat new to Python. I've used it in a bunch of projects, but haven't really needed to stray from its standard setup. I'm trying to install some new packages to get access to functions neces...
stackoverflow.com
댓글