mikael-alafriz-deel / lucid-sonic-dreams

MIT License
771 stars 157 forks source link

tensorflow 1.15 depends on functools32, which breaks on Python3 #4

Open systemallica opened 3 years ago

systemallica commented 3 years ago

I'm using Poetry to create a project that uses lucicsonicdreams, but the install won't work because of the dependency of tensorflow 1.15 on functools32, which is a package for python 2.7:

• Installing functools32 (3.2.3-2): Failed

  EnvCommandError

  Command ['/Users/systemallica/lucid-dreams/.venv/bin/pip', 'install', '--no-deps', '/Users/systemallica/Library/Caches/pypoetry/artifacts/cc/71/34/615e333a8fc645394774e7918927a0da138fed2cb5123662e5b7268791/functools32-3.2.3-2.tar.gz'] errored with the following return code 1, and output: 
  Processing /Users/systemallica/Library/Caches/pypoetry/artifacts/cc/71/34/615e333a8fc645394774e7918927a0da138fed2cb5123662e5b7268791/functools32-3.2.3-2.tar.gz
      ERROR: Command errored out with exit status 1:
       command: /Users/systemallica/lucid-dreams/.venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/3q/zrkjzwbs4mb6t8qfncsnhsyw0000gn/T/pip-req-build-065gasm7/setup.py'"'"'; __file__='"'"'/private/var/folders/3q/zrkjzwbs4mb6t8qfncsnhsyw0000gn/T/pip-req-build-065gasm7/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/3q/zrkjzwbs4mb6t8qfncsnhsyw0000gn/T/pip-pip-egg-info-gw6z2dx3
           cwd: /private/var/folders/3q/zrkjzwbs4mb6t8qfncsnhsyw0000gn/T/pip-req-build-065gasm7/
      Complete output (1 lines):
      This backport is for Python 2.7 only.
      ----------------------------------------
  WARNING: Discarding file:///Users/systemallica/Library/Caches/pypoetry/artifacts/cc/71/34/615e333a8fc645394774e7918927a0da138fed2cb5123662e5b7268791/functools32-3.2.3-2.tar.gz. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Please consider upgrading to a newer tensorflow version.

robot-99 commented 3 years ago

Thanks for this, Really just want to play with this :(