Dreamhunter Blog

你指尖跃动的电光,是我此生不变的信仰

vuePress-theme-reco Dreamhunter    2019 - 2022
Dreamhunter Blog

Choose mode

  • dark
  • auto
  • light
首页
分类
  • algorithm
  • database
  • devops
  • docker
  • front
  • git
  • hackintosh
  • http
  • java
  • linux
  • odoo
  • nginx
  • macos
  • mq
  • other
  • python
  • redis
  • router
标签
归档
GitHub (opens new window)
author-avatar

Dreamhunter

119

文章

40

标签

首页
分类
  • algorithm
  • database
  • devops
  • docker
  • front
  • git
  • hackintosh
  • http
  • java
  • linux
  • odoo
  • nginx
  • macos
  • mq
  • other
  • python
  • redis
  • router
标签
归档
GitHub (opens new window)
  • Python

    • Python locals()
    • Python sorted()
    • Python3 mro _class_
    • asyncio run in executor
    • 互斥锁实现一个死锁
    • locust 压测
    • Normal Errors
    • python 位运算
    • python类中的self参数和cls参数
    • Python Dynamic Import
    • Python metaclass
    • timeit 测量小代码片段的执行时间
    • What’s New In Python 3.8

Normal Errors

vuePress-theme-reco Dreamhunter    2019 - 2022

Normal Errors

Dreamhunter 2022/1/21 python
  1. ModuleNotFoundError: No module named 'Tkinter'

    sudo apt-get install python3-tk
    

    https://stackoverflow.com/questions/25905540/importerror-no-module-named-tkinter (opens new window)

  2. fatal error :"python.h" no file or directory?

    sudo apt-get install python3-dev
    

    https://askubuntu.com/questions/526708/fatal-error-python-h-no-file-or-directory (opens new window)

  3. The headers or library files could not be found for zlib

    sudo apt install libjpeg8-dev zlib1g-dev
    
  4. error: invalid command 'bdist_wheel'

    python3 -m pip install wheel
    

locust 压测 python 位运算