- 博客(3)
- 收藏
- 关注
原创 《Python极客项目编程》第12章Arduino读取光敏电阻LDR数据的过程中出现的error【小白排雷】
关于简单光感电路的出错解决方案错误示例:usage: ldr.py [-h] --port PORT [–N MAXLEN]ldr.py: error: the following arguments are required: --portProcess finished with exit code 2文章中要求运行的代码:$ python3 --port / dev/tty.usbmodem411 ldr.py即使换上Windows系统上的端口COM~,也没有任何效果,结果如下:
2020-12-01 22:00:40
521
原创 关于使用pyinstaller打包Tkinter出现RuntimeError: Could not find the matplotlib data files 的解决方法
关于使用pyinstaller打包Tkinter出现RuntimeError: Could not find the matplotlib data files 的解决方法我们在制作小软件时通常会用到Tkinter编写,在打包exe时会出现下图中的错误:命令:pyinstaller -F -w ***.py -p D:\python_work\venv\Lib\site-packages我们明明没使用matplotlib,为什么会打包进去呢?——不要想那些没用的在文件夹中卸载matplotl
2020-11-04 20:14:30
1044
原创 关于OSError: [WinError 123] 文件名、目录名或卷标语法不正确。: ‘<frozen importlib._bootstrap>‘解决方法
关于OSError: [WinError 123] 文件名、目录名或卷标语法不正确。: '在学习《Python编程从入门到实践》第20章时,我遇到了这个错误,查了一晚上,都没解决。第二天灵机一动。。。报错:(ll_env) D:\python_work\learning_log>python manage.py runserverWatching for file changes with StatReloaderException in thread django-main-thread:
2020-11-02 18:36:43
15332
10
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人