Closed gtr3qq closed 1 year ago
Same issue here.
Same issue
Same
A technical, translator, and moderate Sunni Muslim. The antidote of hypocrites, disbelievers and grooming perisher.
On Sat, 15 Apr 2023 at 14:22, zzr3525 @.***> wrote:
Same issue
— Reply to this email directly, view it on GitHub https://github.com/magenta/mt3/issues/117#issuecomment-1509852482, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASU2BODVX5QGKQXGAHHDY73XBKVLXANCNFSM6AAAAAAW64245I . You are receiving this because you are subscribed to this thread.Message ID: @.***>
!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
In Imports and Definitions step, It shows me this:
ModuleNotFoundError Traceback (most recent call last)
in () 11 import jax 12 import librosa ---> 13 import note_seq 14 import seqio 15 import t5 |
ModuleNotFoundError: No module named 'note_seq'
NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt. To view examples of installing some common dependencies, click the "Open Examples" button below.
A technical, translator, and moderate Sunni Muslim. The antidote of hypocrites, disbelievers and grooming perisher.
On Sun, 16 Apr 2023 at 09:10, hero-intelligent @.***> wrote:
!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
— Reply to this email directly, view it on GitHub https://github.com/magenta/mt3/issues/117#issuecomment-1510209696, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASU2BOCGPR6LQUK4TJNUDE3XBOZRJANCNFSM6AAAAAAW64245I . You are receiving this because you commented.Message ID: @.***>
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.
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.
Same issue. Tried many ways to change the python version, but to no avail.
ModuleNotFoundError: No module named 'note_seq'
I found the same issue and, despite some efforts, haven't found any way to workaround this. Has anyone had success?
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.
fixed (albeit temporarily) by #118
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?