PyQt5系列(三)Python3.x AttributeError: module 'string' has no attribute 'maketrans'錯誤解決

解決:python 1./usr/local/lib/python3.6/site-packages/PyQt5/uic/port_v2/ascii_upper.py修改ui  _ascii_trans_table = string.maketrans(string.ascii_lowercase, string.ascii_uppercase)spa 改成:ci _ascii_trans_tab
相關文章
相關標籤/搜索