1、pip3 --version
2、pycharm安装的包路径
3、sys.path
这就是你导入包的路径:[\'/home/f-j-x/code/uos-auto-kms/uos-auto-kms\', \'/home/f-j-x/code/uos-auto-kms/uos-auto-kms\', \'/usr/lib/python37.zip\', \'/usr/lib/python3.7\', \'/usr/lib/python3.7/lib-dynload\', \'/home/f-j-x/.local/lib/python3.7/site-packages\', \'/usr/local/lib/python3.7/dist-packages\', \'/usr/lib/python3/dist-packages\']
所以你包的必须在上面的路径里面的中,当然你也可以自己添加你想的路径