Deep-Live-Cam icon indicating copy to clipboard operation
Deep-Live-Cam copied to clipboard

Error while installing dependencies tb-nightly

Open Brianwind opened this issue 1 year ago • 1 comments

I encountered a problem while using pip install.

The first problem give me something like this:

error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [93 lines of output]
      D:\Programs\Anaconda\envs\deeplivecam\lib\site-packages\setuptools\__init__.py:85: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
      !!

              ********************************************************************************
              Requirements should be satisfied by a PEP 517 installer.
              If you are using pip, you can try `pip install --use-pep517`.
              ********************************************************************************

      !!
        dist.fetch_build_eggs(dist.setup_requires)

so I tried --use-pep517.

Then I encountered another problem as below:

ERROR: Ignored the following versions that require a different python version: 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10
ERROR: Could not find a version that satisfies the requirement tb-nightly (from gfpgan) (from versions: none)
ERROR: No matching distribution found for tb-nightly

It seems there is a problem about tb-nightly package versions. I'm using python 3.10 in anaconda env, x86-64 Windows computer. I'm not sure if I need to switch to python 3.9.

Thank you!

Brianwind avatar Aug 10 '24 09:08 Brianwind

pip install tb_nightly==2.14.0a20230808 -i https://mirrors.aliyun.com/pypi/simple pip install gfpgan==1.3.8

Ahesui avatar Aug 10 '24 10:08 Ahesui

thank you, it worked.

Brianwind avatar Aug 21 '24 03:08 Brianwind