dask

https://pypi.org/project/dask/

[root@ibiomed lib-dynload]# pip install dask
Collecting dask
  Downloading dask-2.25.0-py3-none-any.whl (834 kB)
     |████████████████████████████████| 834 kB 326 kB/s
Collecting pyyaml
  Using cached PyYAML-5.3.1.tar.gz (269 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/local/python3//bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-nc9r9i9h/pyyaml/setup.py'"'"'; __file__='"'"'/tmp/pip-install-nc9r9i9h/pyyaml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"' '"'"', '"'"' '"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-9y6vfbws
         cwd: /tmp/pip-install-nc9r9i9h/pyyaml/
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/usr/local/python3/lib/python3.8/site-packages/setuptools/__init__.py", line 19, in <module>
        from setuptools.dist import Distribution
      File "/usr/local/python3/lib/python3.8/site-packages/setuptools/dist.py", line 34, in <module>
        from setuptools import windows_support
      File "/usr/local/python3/lib/python3.8/site-packages/setuptools/windows_support.py", line 2, in <module>
        import ctypes
      File "/usr/local/python3/lib/python3.8/ctypes/__init__.py", line 7, in <module>
        from _ctypes import Union, Structure, Array
    ModuleNotFoundError: No module named '_ctypes'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

# pip install dask
Collecting dask
  Using cached dask-2.25.0-py3-none-any.whl (834 kB)
Collecting pyyaml
  Using cached PyYAML-5.3.1.tar.gz (269 kB)
Building wheels for collected packages: pyyaml
  Building wheel for pyyaml (setup.py) ... done
  Created wheel for pyyaml: filename=PyYAML-5.3.1-cp38-cp38-linux_x86_64.whl size=44619 sha256=190a1a0b2cd01289cf019809885f39a8c7cb562ae832d2cdd386055b83349a6b
  Stored in directory: /root/.cache/pip/wheels/13/90/db/290ab3a34f2ef0b5a0f89235dc2d40fea83e77de84ed2dc05c
Successfully built pyyaml
Installing collected packages: pyyaml, dask
Successfully installed dask-2.25.0 pyyaml-5.3.1


原文地址:https://www.cnblogs.com/emanlee/p/13583634.html