2017-11-29 2 views
0

pip를 통해 pycrypto를 설치하려고합니다. 적어도 그 이름 - 나는 다운로드해야 할 말을 다른 게시물을 발견했다RHEL의 Pycrypto가 실패 함

Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-zWtfwz/pycrypto/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-OrjLDy-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-zWtfwz/pycrypto/ 

pycrypto를 통해 냠하지만, 참조 된 패키지가 더 이상 존재하지 않는 것 : 함께 설치가 실패합니다.

답변

0

내 문제에 대한 해결책을 찾았습니다. 미래에이 문제를 발견 할 수있는 사람을위한 것입니다.

는 또한 최대 로그에, 나는주의 :

yum groupinstall "Development tools" 

예상대로 다음

pip install pycrypto 

근무 :

configure: error: no acceptable C compiler found in $PATH

내가 실행

https://www.thelinuxfaq.com/74-error-no-acceptable-c-compiler-found-in-path-linux 당.

Collecting pycrypto Using cached pycrypto-2.6.1.tar.gz Building wheels for collected packages: pycrypto Running setup.py bdist_wheel for pycrypto ... done Stored in directory: /root/.cache/pip/wheels/80/1f/94/f76e9746864f198eb0e304aeec319159fa41b082f61281ffce Successfully built pycrypto Installing collected packages: pycrypto Successfully installed pycrypto-2.6.1