Error when Setup Environment
Ignasinou opened this issue · 4 comments
Ignasinou commented
When trying to run setup environment block the following error occured:
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Building wheel for llvmlite (setup.py) ... error
ERROR: Failed building wheel for llvmlite
Running setup.py clean for llvmlite
Successfully built t5x flax seqio
Failed to build llvmlite
Installing collected packages: llvmlite, cloudml-hypertune, typeguard, tensorflow-hub, pyfluidsynth, pybind11, packaging, numba, mypy-extensions, typing-inspect, tensorflow-addons, sounddevice, resampy, mir_eval, tflite-support, orbax-checkpoint, librosa, libcst, hmmlearn, note_seq, fiddle, crepe, tensorflow-cpu, flax, tensorflowjs, jestimator, seqio, ddsp, t5x, mt3
Attempting uninstall: llvmlite
Found existing installation: llvmlite 0.39.1
Uninstalling llvmlite-0.39.1:
Successfully uninstalled llvmlite-0.39.1
error: subprocess-exited-with-error
× Running setup.py install for llvmlite did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Running setup.py install for llvmlite ... error
Rolling back uninstall of llvmlite
Moving to /usr/local/lib/python3.9/dist-packages/llvmlite-0.39.1.dist-info/
from /usr/local/lib/python3.9/dist-packages/~lvmlite-0.39.1.dist-info
Moving to /usr/local/lib/python3.9/dist-packages/llvmlite/
from /usr/local/lib/python3.9/dist-packages/~lvmlite
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> llvmlite
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
huongngo-8 commented
Hello, I'm having the same issue. Did you manage to figure out the solution?
Ignasinou commented
No, still trying. No luck yet. I though it was a problem on my end. I'll reopen it.
iansimon commented
If you replace the pip install lines in the colab with:
!python3 -m pip install nest-asyncio numba==0.56.4 llvmlite==0.39.1 pyfluidsynth==1.3.0 -e .
!python3 -m pip install --no-dependencies --upgrade ddsp
things should work, at least for the time being.