- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
尝试导入dask.dot
时找不到我的graphviz安装文件,但出现错误。但是,graphviz和pygraphviz均已安装。
balter@exalab3:~$ conda install dask
Fetching package metadata ...........
Solving package specifications: ..........
# All requested packages already installed.
# packages in environment at /home/.../miniconda3:
#
dask 0.13.0 py35_0 conda-forge
balter@exalab3:~$ python
Python 3.5.3 | packaged by conda-forge | (default, Jan 23 2017, 19:01:48)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dask.dot
Traceback (most recent call last):
File "/home/.../miniconda3/lib/python3.5/site-packages/dask/utils.py", line 63, in import_required
return import_module(mod_name)
File "/home/.../miniconda3/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 956, in _find_and_load_unlocked
ImportError: No module named 'graphviz'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/.../miniconda3/lib/python3.5/site-packages/dask/dot.py", line 11, in <module>
graphviz = import_required("graphviz", "Drawing dask graphs requires the "
File "/home/.../miniconda3/lib/python3.5/site-packages/dask/utils.py", line 65, in import_required
raise RuntimeError(error_msg)
RuntimeError: Drawing dask graphs requires the `graphviz` python library and the `graphviz` system library to be installed.
>>>
balter@exalab3:~$ conda install graphviz
Fetching package metadata ...........
Solving package specifications: ..........
# All requested packages already installed.
# packages in environment at /home/.../miniconda3:
#
graphviz 2.38.0 4 bioconda
最佳答案
MRocklin的答案中引用的github问题已更新。
我用以下几行解决了这个问题:conda install -c conda-forge graphviz
conda install -c conda-forge python-graphviz
此评论解释了此https://github.com/ContinuumIO/anaconda-issues/issues/485#issuecomment-279296254
康达清单输出:
漂白1.5.0 py35_0
散景0.12.5 py35_0
bzip2 1.0.6 vc14_3 [vc14]
胸部0.2.3 py35_0
点击6.7 py35_0
cloudpickle 0.2.2 py35_0
科罗拉多州0.3.9 py35_0 conda-forge
循环仪0.10.0 py35_0
cython 0.25.2 py35_1 conda-forge
达0.14.1 py35_0
装饰者4.0.11 py35_0
分发1.16.1 py35_0
入口点0.2.2 py35_1
fastparquet 0.0.5 py35_1 conda-forge
freetype 2.5.5 vc14_2 [vc14]
graphviz 2.38.0 4 conda-伪造
h5py 2.7.0 np112py35_0
hdf5 1.8.15.1 vc14_4 [vc14]
heapdict 1.0.0 py35_1
html5lib 0.999 py35_0
icu 57.1 vc14_0 [vc14]
ipykernel 4.6.1 py35_0
ipython 6.0.0 py35_0
ipython_genutils 0.2.0 py35_0
ipywidgets 6.0.0 py35_0
jinja2 2.9.6 py35_0
jpeg 9b vc14_0 [vc14]
jsonschema 2.6.0 py35_0
jupyter 1.0.0 py35_3
jupyter_client 5.0.1 py35_0
jupyter_console 5.1.0 py35_0
jupyter_core 4.3.0 py35_0
libpng 1.6.27 vc14_0 [vc14]
libtiff 4.0.6 vc14_3 [vc14]
llvmlite 0.17.0 py35_0
小盒0.2.0 py35_1
markupsafe 0.23 py35_2
matplotlib 2.0.0 np112py35_0
误调0.7.4 py35_0
mkl 2017.0.1 0
msgpack-python 0.4.8 py35_0
nbconvert 5.1.1 py35_0
nbformat 4.3.0 py35_0
笔记本5.0.0 py35_0
numba 0.32.0 np112py35_0
numexpr 2.6.2 np112py35_0
numpy的1.12.1 py35_0
olefile 0.44 py35_0
openssl 1.0.2k vc14_0 [vc14]
熊猫0.19.2 np112py35_1
pandocfilters 1.4.1 py35_0
分开0.3.7 py35_0
path.py 10.3.1 py35_0
pickleshare 0.7.4 py35_0
枕头4.1.0 py35_0
点9.0.1 py35_1
层3.9 py35_0 conda-forge
prompt_toolkit 1.0.14 py35_0
psutil 5.2.2 py35_0
py 1.4.33 py35_0 conda-forge
pygments 2.2.0 py35_0
pyparsing 2.1.4 py35_0
pyqt 5.6.0 py35_2
pytables 3.2.2 np112py35_4
pytest 3.0.7 py35_0 conda-forge
python 3.5.3 0
python-dateutil 2.6.0 py35_0
python-graphviz 0.6 py35_1 conda-forge
pytz 2017.2 py35_0
pyyaml 3.12 py35_0
pyzmq 16.0.2 py35_0
qt 5.6.2 vc14_3 [vc14]
qtconsole 4.3.0 py35_0
请求2.13.0 py35_0
scipy 0.19.0 np112py35_0
setuptools 27.2.0 py35_1
simplegeneric 0.8.1 py35_1
喝4.18 py35_0
六个1.10.0 py35_0
sortedcollections 0.5.3 py35_0
sortedcontainers 1.5.7 py35_0
tblib 1.3.2 py35_0
测试路径0.3 py35_0
节俭0.3.9 py35_0 conda-forge
tk 8.5.18 vc14_0 [vc14]
工具z 0.8.2 py35_0
龙卷风4.4.2 py35_0
特质4.3.2 py35_0
vs2015_runtime 14.0.25123 0
wcwidth 0.1.7 py35_0
车轮0.29.0 py35_0
小部件nbextension 2.0.0 py35_0
win_unicode_console 0.5 py35_0
zict 0.1.1 py35_0
zlib 1.2.8 vc14_3 [vc14]
关于python - 达斯克不安装graphviz依赖,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42014458/
我刚刚使用Helm在Kubernetes集群上完成了Dask的设置,现在,我想在jupyter笔记本上做基础教程,遇到以下错误: 我也尝试过在另一个笔记本中分析40 GB的数据集,但是运行以下命令非常
我必须读入并独立操作大型数据帧/numpy 数组的许多 block 。然而,这些 block 是以特定的、非统一的方式选择的,并且在 hdf5 文件中自然地分成几组。每个组都足够小以适合内存(尽管即使
我是一名优秀的程序员,十分优秀!