openai / jukebox

Code for the paper "Jukebox: A Generative Model for Music"
https://openai.com/blog/jukebox/
Other
7.81k stars 1.4k forks source link

problems installing required packages #279

Open earo16 opened 1 year ago

earo16 commented 1 year ago

I'm trying to install this on my computer, and it gives me an error every time I try to install tensorboardX. It gives a few errors, but they're all like the same thing

excerpts:

Building wheels for collected packages: tensorboardX
  Building wheel for tensorboardX (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [133 lines of output]

and then later

     installing to build\bdist.win-amd64\wheel
      running install
      error: [WinError 2] The system cannot find the file specified
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for tensorboardX
  Running setup.py clean for tensorboardX
Failed to build tensorboardX
Installing collected packages: tensorboardX
  Running setup.py install for tensorboardX ... error
  error: subprocess-exited-with-error

  × Running setup.py install for tensorboardX did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      C:\ProgramData\Anaconda3\envs\jukebox\lib\site-packages\setuptools\config\setupcfg.py:516: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
        warnings.warn(msg, warning_class)
      running install
      C:\ProgramData\Anaconda3\envs\jukebox\lib\site-packages\setuptools\command\install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        setuptools.SetuptoolsDeprecationWarning,
      error: [WinError 2] The system cannot find the file specified
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> tensorboardX

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

I've installed wheel so I don't know why this is happening or what else I need to get this going

I'm having problems on the Colab too, it doesn't want to install llvmlite

Created wheel for mpi4py: filename=mpi4py-3.1.4-cp39-cp39-linux_x86_64.whl size=3380649 sha256=1ea0dc29c4083e107181ffc7ee3921ad2154bb71fb1c859fbbd1207a85794a64
  Stored in directory: /root/.cache/pip/wheels/db/81/9f/43a031fce121c845baca1c5d9a1468cad98208286aa2832de9
  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 jukebox fire librosa numba mpi4py
Failed to build llvmlite
Installing collected packages: llvmlite, unidecode, tqdm, numba, mpi4py, fire, soundfile, resampy, librosa, jukebox
  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
  WARNING: No metadata found in /usr/local/lib/python3.9/dist-packages
  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.

I dunno what to do or if this is even important. I'm running it in a session as a copy, if that matters

aureyano commented 1 year ago

Bump +1 same issue

*edit: According to Broccaloo:

"All Colab notebooks for Jukebox were broken because Colab upgraded to Python 3.9.

The jukebox-saveopt repo, which is used by the One-Click V2 notebook you mentioned has been fixed already, so everything should be back to normal there. https://colab.research.google.com/drive/1sJda9v46gNzBc7m59MP5zn63AWc-axCY?usp=sharing "

ybotwe commented 1 year ago

Has anyone found a solution to this issue yet?

spullara commented 1 year ago

This code is so old that it needs to be updated to recent dependencies to be released reliably.