0

我知道这很可能是一个非常常见的问题,但我正在努力解决这个问题。我已经为 Python-3.4.3 安装了 ObjectListView-1.3.1 模块,但是每次我运行我的代码时,我都会得到以下跟踪并且代码无法运行。

C:\Python34\python.exe 
C:/Users/Mark/PycharmProjects/wxPythonPhoenixTest/main.py
Traceback (most recent call last):
File "C:/Users/Mark/PycharmProjects/wxPythonPhoenixTest/main.py", line 9, in <module>
from ObjectListView import ObjectListView, ColumnDefn
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible
File "C:\Python34\lib\site-packages\objectlistview-1.3.1-py3.4.egg\ObjectListView\__init__.py", line 22, in <module>
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible
File "C:\Python34\lib\site-packages\objectlistview-1.3.1-py3.4.egg\ObjectListView\ObjectListView.py", line 107, in <module>
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible
File "C:\Python34\lib\site-packages\objectlistview-1.3.1-py3.4.egg\ObjectListView\CellEditor.py", line 55, in <module>
AttributeError: 'module' object has no attribute 'PlatformInfo'

Process finished with exit code 1

我已经使用 ObjectListView-1.2.1 在 Python-2.7 中运行了我的代码,并且效果很好,所以我假设它不应该有问题(尽管这可能是一个失败)。

如果有人可以帮助我,我将不胜感激!如果我做了任何 Stack Over flow faux pa,我也是新手。

干杯马克

4

0 回答 0