Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: subprocess-exited-with-error (Failed building wheel for llvmlite)) #117

Closed
gtr3qq opened this issue Apr 14, 2023 · 12 comments
Closed

Comments

@gtr3qq
Copy link

gtr3qq commented Apr 14, 2023

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 clu
Failed to build llvmlite
Installing collected packages: llvmlite, cloudml-hypertune, typeguard, tensorflow-hub, pyfluidsynth, pybind11, pretty_midi, portalocker, packaging, numba, mypy-extensions, ml_collections, mesh-tensorflow, jedi, intervaltree, immutabledict, colorama, typing-inspect, tensorflow-addons, sounddevice, sacrebleu, rouge-score, resampy, mir_eval, huggingface-hub, transformers, tflite-support, orbax-checkpoint, librosa, libcst, hmmlearn, array-record, tfds-nightly, note_seq, fiddle, crepe, tensorflow-cpu, flax, tensorflowjs, tensorflow-text, jestimator, clu, seqio-nightly, seqio, ddsp, t5x, t5, 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.

something's up with llvmlite?

@huongngo-8
Copy link

Same issue here.

@zzr3525
Copy link

zzr3525 commented Apr 15, 2023

Same issue

@MohammedMehdiTBER
Copy link

MohammedMehdiTBER commented Apr 15, 2023 via email

@hero-intelligent
Copy link

!echo $PATH
!whereis python
!ls -al /usr/bin | grep python
!rm /usr/bin/python3
!ln -s /usr/bin/python3.8 /usr/bin/python3
!python3 -V
!curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
!python3 get-pip.py --force-reinstall
!pip show pip

add this block before the first code block

@MohammedMehdiTBER
Copy link

MohammedMehdiTBER commented Apr 16, 2023 via email

@gtr3qq
Copy link
Author

gtr3qq commented Apr 16, 2023

Installing collected packages: protobuf, note_seq, seqio, t5x, mt3
Attempting uninstall: protobuf
Found existing installation: protobuf 4.22.3
Uninstalling protobuf-4.22.3:
Successfully uninstalled protobuf-4.22.3
Attempting uninstall: note_seq
Found existing installation: note-seq 0.0.5
Uninstalling note-seq-0.0.5:
Successfully uninstalled note-seq-0.0.5
Attempting uninstall: seqio
Found existing installation: seqio 0.0.15
Uninstalling seqio-0.0.15:
Successfully uninstalled seqio-0.0.15
Attempting uninstall: t5x
Found existing installation: t5x 0.0.0
Uninstalling t5x-0.0.0:
Successfully uninstalled t5x-0.0.0
Attempting uninstall: mt3
Found existing installation: mt3 0.0.1
Can't uninstall 'mt3'. No files were found to uninstall.
Running setup.py develop for mt3
Successfully installed mt3-0.0.1 note_seq-0.0.3 protobuf-3.20.3 seqio-0.0.1 t5x-0.0.1


says it's a success. but on next block says not found.
link to python3 worked.
we're very close now.

@hero-intelligent
Copy link

Yeah, I have also gone into the same trouble, but sorry, I have tried my best. The python interpreter has secretly upgraded to 3.9 by colab Google, but 3.8 is needed. Maybe the interpreter is run the minute a runtime starts, so it is no use to change interpreter. In my own point of view, restart python may work, but chances is mere, for it will crash the minute I try to run exit(). Keep in touch.

@hero-intelligent
Copy link

hero-intelligent commented Apr 16, 2023

@sxjeru
Copy link

sxjeru commented Apr 20, 2023

Same issue.
Tried many ways to change the python version, but to no avail.

ModuleNotFoundError: No module named 'note_seq'

@eloimoliner
Copy link

I found the same issue and, despite some efforts, haven't found any way to workaround this. Has anyone had success?

@iansimon
Copy link
Contributor

Ugh, sorry it has taken me so long to look at this. If you replace the pip install line 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.

@iansimon
Copy link
Contributor

fixed (albeit temporarily) by #118

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants