Traceback (most recent call last):
pycharm-2019.1.1/helpers/packaging_tool.py", line 155, in main
do_untar(name)
/pycharm-2019.1.1/helpers/packaging_tool.py", line 96, in do_untar
import tarfile
File "/usr/lib/python2.7/tarfile.py", line 52, in <module>
import copy
File "/usr/lib/python2.7/copy.py", line 52, in <module>
import weakref
File "/usr/lib/python2.7/weakref.py", line 14, in <module>
from _weakref import (
ImportError: cannot import name _remove_dead_weakref
原因:虚拟环境问题,重新建一个虚拟环境即可.