Cryolite / kanachan

A Japanese (Riichi) Mahjong AI Framework
284 stars 40 forks source link

missing `packaging` dependency #39

Closed shinkuan closed 1 year ago

shinkuan commented 1 year ago

Found this error when trying to build kanachan/Dockerfile.

This error happens when trying to install Apex: https://github.com/Cryolite/kanachan/blob/fd1303377be509b3c430eb1c66e2037f5e95d4c9/kanachan/Dockerfile#L31

Someone already submit this issue two weeks ago at here.

After add --no-build-isolation to Dockerfile can successfully build kanachan. MAX_JOBS=$(($(nproc) / 2)) python3 -m pip install -v --no-cache-dir --no-build-isolation --global-option="--cpp_ext" --global-option="--cuda_ext" ./; \