私はpip install mechanize
を使ってmechanizeをインストールしています。コマンドプロンプトに入力するとRequirement already satisfied: mechanize in c:\users\wwl\anaconda3\lib\site-packages
というようになります。pythonパッケージをインストールする
私はjupyterノートにimport mechanize
を入力するときしかし、それはエラーを与える:
ImportError: No module named '_mechanize'
。私が間違っている
?
あなたはどのバージョンのPythonをお使いですか? MechanizeはPython 2しかサポートしていません。* – ocelot
私はそれを知らなかった。私はPython 3です。言及いただきありがとうございます。 – wwl
心配しない:) [いくつかの代替案があります](https://www.reddit.com/r/Python/comments/3dvq25/are_there_any_better_alternatives_to_mechanize/) – ocelot