Why do i get this traceback error?

后端 未结 3 1625
傲寒
傲寒 2021-01-28 23:10

This is the error i get:

Traceback (most recent call last):
  File \"dwload.py\", line 9, in 
  File \"Pmw\\__init__.pyc\", line 28, in 

        
3条回答
  •  天涯浪人
    2021-01-28 23:27

    Finally, I found the solution:

    First, you need to run the bundlepmw.py in the C:\Python27\Lib\site-packages\Pmw\build\lib\Pmw\Pmw_1_3\bin folder following this command: python bundlepmw.py C:\Python27\Lib\site-packages\Pmw\Pmw_1_3\lib to create the Pmw.py.

    Read this page: folk.uio.no/hpl/scripting/doc/python/Pmw/dynamicloader.html, after fixing the bundlepmw.py based on this link sourceforge.net/p/pmw/discussion/33675/thread/f0bd7f34. You should be able to generate the Pmw.py file.

    Then copy the Pmw.py plus PmwBlt.py and PmwColor.py into the main script directory and run your setup.py. Sweet

提交回复
热议问题