Hey all, I get this error after installing Prefect...
# prefect-community
Hey all, I get this error after installing Prefect via pip and then trying to run LocalAgent. Any ideas? Also tried installing
Copy code
Traceback (most recent call last):
  File "/usr/local/bin/prefect", line 5, in <module>
    from prefect.cli import cli
  File "/usr/local/lib/python3.7/site-packages/prefect/__init__.py", line 8, in <module>
    import prefect.triggers
  File "/usr/local/lib/python3.7/site-packages/prefect/triggers.py", line 48, in <module>
    from prefect.engine import signals, state
  File "/usr/local/lib/python3.7/site-packages/prefect/engine/__init__.py", line 3, in <module>
    import prefect.engine.executors
  File "/usr/local/lib/python3.7/site-packages/prefect/engine/executors/__init__.py", line 30, in <module>
    from prefect.engine.executors.dask import DaskExecutor, LocalDaskExecutor
  File "/usr/local/lib/python3.7/site-packages/prefect/engine/executors/dask.py", line 10, in <module>
    from distributed import Client, Future, fire_and_forget, worker_client
  File "/usr/local/lib/python3.7/site-packages/distributed/__init__.py", line 3, in <module>
    from .actor import Actor, ActorFuture
  File "/usr/local/lib/python3.7/site-packages/distributed/actor.py", line 7, in <module>
    from .client import Future, default_client
  File "/usr/local/lib/python3.7/site-packages/distributed/client.py", line 69, in <module>
    from .worker import dumps_task, get_client, get_worker, secede
  File "/usr/local/lib/python3.7/site-packages/distributed/worker.py", line 22, in <module>
    from dask.system import CPU_COUNT
ModuleNotFoundError: No module named 'dask.system'
For those who runs into the same issue:
pip install -U dask
🙂 I didn't pay attention to the
ERROR: distributed 2.9.0 has requirement dask>=2.7.0, but you'll have dask 2.5.2 which is incompatible.
during install
upvote 4