Python 3.3.2(x86とx64の両方のバージョン)とPyQt5.1がインストールされています。PyCht3.0がPyQt5を見つけられません
最近、私はPyCharm 3.0 Community Editionをインストールし、これらのPythonインタプリタで動作するように設定しました。問題はPyQt5がインストールされているパッケージのリストに表示されず、ドキュメントが機能しないことです(Ctrl+Space
からオートコンプリート、Ctrl+Q
のドキュメント)。
PyChtがスケルトンの生成を妨害しているとき、PyQtを処理するようですが、使用しないように見えます。
C:\Program Files (x86)\PyCharm3.0\helpers\packaging_tool.py run on 10/06/13 13:58:52
Downloading/unpacking PyQt5
Getting page https://pypi.python.org/simple/PyQt5/
URLs to search for versions for PyQt5: https://pypi.python.org/simple/PyQt5/
Analyzing links from page https://pypi.python.org/simple/PyQt5/
Could not find any downloads that satisfy the requirement PyQt5
No distributions at all found for PyQt5
Exception information:
Traceback (most recent call last):
File "C:\Python\332_x64\lib\site-packages\pip-1.4.1-py3.3.egg\pip\basecommand.py", line 134, in main
status = self.run(options, args)
File "C:\Python\332_x64\lib\site-packages\pip-1.4.1-py3.3.egg\pip\commands\install.py", line 236, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "C:\Python\332_x64\lib\site-packages\pip-1.4.1-py3.3.egg\pip\req.py", line 1085, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "C:\Python\332_x64\lib\site-packages\pip-1.4.1-py3.3.egg\pip\index.py", line 265, in find_requirement
raise DistributionNotFound('No distributions at all found for %s' % req)
pip.exceptions.DistributionNotFound::私はPyCharm内のパッケージシステムを使用してPyQtはをインストールしようとすると、私は次のエラーを取得するん分布は全くPyQt5
が見つかりません。しかし、関係のない問題であると思われます。
PyQt5はバイナリインストーラと共にインストールされます。システムはWin 7 x64です。
更新: 以前のインデックスのログが無効であることが判明しました。ログにはPyQtに関するエラーや警告は含まれません。具体的には以下のようにそれが読み取ります
INFO - packaging.PyPackageManagerImpl - Running packaging tool: C:/Python/332_x64/python.exe C:\Program Files (x86)\PyCharm3.0\helpers\packaging_tool.py list
しかし、まだ報告されたエラーはありません。
INFO - .skeletons.PySkeletonRefresher - Home path is C:\Program Files (x86)\PyCharm3.0
INFO - .skeletons.PySkeletonRefresher - Pregenerated skeletons root is C:\Program Files (x86)\PyCharm3.0\skeletons
INFO - .skeletons.PySkeletonRefresher - Not found pregenerated skeletons at C:\Program Files (x86)\PyCharm3.0\skeletons\skeletons-win-386-python-3.3.2.zip
INFO - .skeletons.PySkeletonGenerator - Rebuilding builtin skeletons took 10947 ms
INFO - .skeletons.PySkeletonRefresher - Skeleton for PyQt5.QAxContainer
<...>
INFO - .skeletons.PySkeletonRefresher - Skeleton for PyQt5._QOpenGLFunctions_ES2
たぶん、いくつかの問題は、パッケージングツールです。
はそれをアンインストールし、ソースからビルドしてみてくださいWindowsのことは知らないが、あなたの仕事べき
を使用してみてください(それは多分、40分の時間がかかるかそこらに依存しますあなたのPCの仕様)私はソースから建物が動作すると思います。私は100%確信していませんが、QtはC++ pycharmが自動完成などのためにドキュメントを使用しているためだと思います。 –
私はソースからビルドしています。 –
PychtでPyqtパスをInterpreterパスに追加しようとしましたか? –