내 Python 2.7 디렉토리에 mechanize를 저장했습니다. 내가 파이썬 쉘에 import mechanize
를 입력 할 때, 나는라는 오류 메시지가 :mechanize for Python 2.7 설치 방법?
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import mechanize
ImportError: No module named mechanize
사이트를 살펴본 결과 사이트 패키지에 대해 언급하지 않았습니다. readme는 site-packages에 mechanize.x.x.x 디렉토리를 복사하지 말고 내부에 기계어 디렉토리를 복사합니다. 내 문제 – Amalgovinus