尝试导入dash_core_components

时间:2020-06-20 15:33:47

标签: python-3.x plotly hyphen

我正在尝试使用Plotly和破折号绘制一些数据。 但是当我导入dash_core_components时出现此错误:

hernan@hernan-Virtual-Machine:~$ python3
Python 3.6.9 (default, Apr 18 2020, 01:56:04)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dash_core_components as dcc
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/hernan/.local/lib/python3.6/site-packages/dash_core_components/__init__.py", line 6, in <module>
    import dash as _dash
  File "/home/hernan/dash.py", line 20, in <module>
    PROC='('+args.process+')'
TypeError: must be str, not NoneType

版本模块:

hernan@hernan-Virtual-Machine:~$ python3 -m pip list |egrep "dash|^plot"
dash                  1.13.2
dash-core-components  1.10.1
dash-html-components  1.0.3
dash-renderer         1.5.0
dash-table            4.8.0
plotly                4.8.1

有什么想法吗?

0 个答案:

没有答案