树梅派4B 安装 dash 成功。
Successfully installed dash-1.21.0 dash-core-components-1.17.1 dash-html-components-1.1.4 dash-table-4.12.0
- 代码如下:
# -*- coding: utf-8 -*-
import dash
- /thonny运行错误
Traceback (most recent call last):
File "/home/pi/Desktop/1222222.py", line 2, in
import dash
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 305, in _custom_import
module = self._original_import(*args, **kw)
ModuleNotFoundError: No module named 'dash'
谢谢