私は自分のビジネスを心配して、Gensim for Pythonをインストールしようとしていました。最初に私はsetuptoolsの古いバージョンでブロックされていました。ImportError:easy_installを使用している場合、externという名前のモジュールがありません
私は何とかして、setuptoolsの新しいバージョンがインストールされています。
その後Gensimを正常にインストールできましたが、Pythonにインポートしようとすると、no module named Queue
と表示されました。問題ありませんが、[OK]をので、私はキューをインストールしようと、私はエラーを取得:
ImportError: No module named extern
[OK]を何の問題は、私はextern
をインストールしようとしませんが、私は同じエラーを取得します。
グーグルで約1時間半して私は何をすべきか分かりませんし、ある時点で私は誤ってpip
を削除しました。そして、私はそれを再インストールしようとすると、私はまだImportError
を取得します。私は何をすべきか?
Traceback (most recent call last):
File "/usr/local/bin/easy_install", line 9, in <module>
load_entry_point('setuptools==27.2.0', 'console_scripts', 'easy_install')()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 357, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2394, in load_entry_point
return ep.load()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2108, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "build/bdist.macosx-10.11-intel/egg/setuptools/__init__.py", line 10, in <module>
File "build/bdist.macosx-10.11-intel/egg/setuptools/extern/__init__.py", line 1, in <module>
ImportError: No module named extern
'easy_install pip'はあなたが上に貼り付けたインポートエラーを返していますか?また、 'import queue 'を試してみたところ、組み込みモジュールでなければなりませんでした。 – numbermaniac