Windows 용 Linux 하위 시스템 10에서 새 패키지를 설치, 업데이트 및 제거하려고 할 때 새로운 오류가 발생했습니다. 예를 들어"암호를 가져올 수 없습니다" "conda install numpy"실행
: 나는이 같은 오류를 제안 명령을 반환 입력하면
c/.../...$ conda install numpy
Error: could not import Crypto (required for signature verification).
Run the following command:
$ conda install -n root pycrypto
.
누구든지이 문제를 해결할 수 있다면 파이썬을 설치하지 않아도 도움이 될 것입니다. CONDA 다시 설치 한 다음 실행
sudo apt-get update
sudo apt-get install libssl-dev
sudo apt-get install python-pip python-dev build-essential
sudo pip install crypto
sudo apt-get update
을 그리고 :
Python 2.7.12 |Anaconda custom (64-bit)| (default, Jul 2 2016, 17:42:40)
Type "copyright", "credits" or "license" for more information.
IPython 5.1.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
'pycrypto'와 'crypto'의 두 가지 패키지가 있습니다. 'pycrypto'패키지에는 'Crypto'모듈이 있고 'crypto' 패키지에는'crypto '모듈이 있습니다. 나는 이것이 무감각 사건에 문제를 일으킨다 고 생각합니다. 두 제품을 모두 제거하고 필요한 제품 만 설치하십시오. – Galen