1、通过python3  setup.py  install 的时候提示:ModuleNotFoundError: No module named 'setuptools'

于是下载setuptools 解压后通过:python3  setup.py  install 安装报错:ModuleNotFoundError: No module named 'distutils.core'

解决方法如下:

sudo apt-get install python3-pi

 

import tkinter 的时候报错:

解决方法Could not find a version that satisfies the requirement tkinter (from versions: )

No matching distribution found for tkinter

解决方法如下:

sudo apt-get install python3-tk

 

sudo apt-get install python3-pi

相关文章:

  • 2021-05-28
  • 2021-10-09
  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
  • 2022-12-23
  • 2022-01-10
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-30
  • 2021-09-10
  • 2021-07-25
  • 2021-12-21
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案