Skip to content

Environment Compatibility Issues When Running Simple Test on Windows #8

@IamDazeing

Description

@IamDazeing

Hello, I'm trying to reproduce the Wukong project, but I encountered environmental compatibility issues when running the simple test. I hope to receive some guidance.

Steps to Reproduce:
Start Redis service: redis-server redis.conf

Run proxy.py: python proxy.py

Attempt to run simple test: python simple-test-app.py

First attempt
An error message was observed:
(wukong) PS E:\Wukong\Wukong-socc2020\Static Scheduler> python simple-test-app.py
Traceback (most recent call last):
File "E:\Wukong\Wukong-socc2020\Static Scheduler\simple-test-app.py", line 3, in
from wukong import LocalCluster, Client
File "E:\Wukong\Wukong-socc2020\Static Scheduler\wukong_init_.py", line 5, in
from .actor import Actor, ActorFuture
File "E:\Wukong\Wukong-socc2020\Static Scheduler\wukong\actor.py", line 4, in
from .client import Future, default_client
File "E:\Wukong\Wukong-socc2020\Static Scheduler\wukong\client.py", line 38, in
from dask.base import tokenize, normalize_token, collections_to_dsk
ImportError: cannot import name 'collections_to_dsk' from 'dask.base' (E:\Wukong\Wukong-socc2020\wukong\Lib\site-packages\dask\base.py). Did you mean: 'collections_to_expr'?

Then,I try to running the simple_test_app.py agatin,
An error message was observed:
(wukong) PS E:\Wukong\Wukong-socc2020\Static Scheduler> python simple-test-app.py
Traceback (most recent call last):
File "E:\Wukong\Wukong-socc2020\Static Scheduler\simple-test-app.py", line 3, in
from wukong import LocalCluster, Client
File "E:\Wukong\Wukong-socc2020\Static Scheduler\wukong_init_.py", line 5, in
from .actor import Actor, ActorFuture
File "E:\Wukong\Wukong-socc2020\Static Scheduler\wukong\actor.py", line 4, in
from .client import Future, default_client
File "E:\Wukong\Wukong-socc2020\Static Scheduler\wukong\client.py", line 45, in
from dask.optimization import SubgraphCallable
ImportError: cannot import name 'SubgraphCallable' from 'dask.optimization' (E:\Wukong\Wukong-socc2020\wukong\Lib\site-packages\dask\optimization.py)

After solving the previous problem, I always encounter similar problems when I run simple_test_app.py again

My environmental information is as follows:
windows10
Redis server v=5.0.14.1
python3.12.7

pip list
Package Version


aioredis 1.3.1
async-timeout 5.0.1
bokeh 3.8.0
boto3 1.40.40
botocore 1.40.40
certifi 2025.8.3
cffi 2.0.0
charset-normalizer 3.4.3
click 8.3.0
cloudpickle 3.1.1
colorama 0.4.6
contourpy 1.3.3
cryptography 46.0.1
cycler 0.12.1
dask 2025.9.1
fonttools 4.60.0
fsspec 2025.9.0
hiredis 3.2.1
idna 3.10
iniconfig 2.1.0
Jinja2 3.1.6
jmespath 1.0.1
kiwisolver 1.4.9
locket 1.0.0
MarkupSafe 3.0.2
matplotlib 3.10.6
mock 5.2.0
moto 5.1.13
msgpack 1.1.1
narwhals 2.5.0
ntplib 0.4.0
numpy 2.3.3
packaging 25.0
pandas 2.3.2
partd 1.4.2
pillow 11.3.0
pip 24.2
pluggy 1.6.0
psutil 7.1.0
pycparser 2.23
Pygments 2.19.2
pyparsing 3.2.5
pytest 8.4.2
python-dateutil 2.9.0.post0
pytz 2025.2
PyYAML 6.0.3
redis 6.4.0
requests 2.32.5
responses 0.25.8
s3transfer 0.14.0
six 1.17.0
sortedcontainers 2.4.0
tblib 3.1.0
toolz 1.0.0
tornado 6.5.2
tzdata 2025.2
uhashring 2.4
ujson 5.11.0
urllib3 2.5.0
Werkzeug 3.1.3
xmltodict 1.0.2
xyzservices 2025.4.0
zict 3.0.0

Is there a recommended requirements.txt file for reproducible environments?

Has Wukong been tested with the latest versions of these packages?

Looking forward to your reply.Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions