ImportError: No module named 'queue' while running my app freezed with cx_freeze

后端 未结 4 2120
温柔的废话
温柔的废话 2020-12-11 04:52

I am using python 3.4. I am able to run my python script without any problem. But While running my freezed python script , following error have appeared. I am able to freez

4条回答
  •  北荒
    北荒 (楼主)
    2020-12-11 05:10

    In addition to

    from multiprocessing import Queue
    

    I rolled back to the older version of cx_freeze:

    pip install cx-freeze==4.3.3
    

    Besides, the "requests" library complained on absence of "urllib3" module. I upgraded this to requests==2.13.0 and all now works.

    I'm using Python 3.4 on Win10. Hope this will help.

提交回复
热议问题