문제

Ok, so I just installed mechanize with easy_install from the command prompt, but now when I try to write a little snippet of code to test it, Python is telling me it can't import mechanize, any idea what might be going wrong? I'm at a loss and unfamiliar with mechanize.

도움이 되었습니까?

해결책

Bah, I had placed my .py file in a new folder within the Python27 folder and apparently that was the issue. I moved it to Python27 and it's correctly importing.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top