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

EMAGE_2024 Install requirements.txt failed in windows #98

Open
r530044129 opened this issue Jan 4, 2024 · 2 comments
Open

EMAGE_2024 Install requirements.txt failed in windows #98

r530044129 opened this issue Jan 4, 2024 · 2 comments

Comments

@r530044129
Copy link

Here is window and python 3.7, when I install the requirements.txt, I met this error, looks like something wrong about the python's version.Or your code doesn't support windows?

Here is log:

(beat) D:\Git\BEAT\audio2pose\codes\audio2pose>pip install -r requirements.txt
Collecting ConfigArgParse==1.7
  Using cached ConfigArgParse-1.7-py3-none-any.whl (25 kB)
Collecting fasttext==0.9.2
  Using cached fasttext-0.9.2.tar.gz (68 kB)
  Preparing metadata (setup.py) ... done
ERROR: Ignored the following versions that require a different python version: 3.10.0 Requires-Python >=3.8; 3.9.0 Requires-Python >=3.8
ERROR: Could not find a version that satisfies the requirement h5py==3.10.0 (from versions: 2.2.1, 2.3.0b1, 2.3.0, 2.3.1, 2.4.0b1, 2.4.0, 2.5.0, 2.6.0, 2.7.0rc2, 2.7.0, 2.7.1, 2.8.0rc1, 2.8.0, 2.9.0rc1, 2.9.0, 2.10.0, 3.0.0rc1, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.3.0, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0)
ERROR: No matching distribution found for h5py==3.10.0

And I tried the python 3.10 again, I met another error:

...
 [10 lines of output]
        Running from numpy source directory.

        `setup.py clean` is not supported, use one of the following instead:

          - `git clean -xdf` (cleans all files)
          - `git clean -Xdf` (cleans all versioned files, doesn't touch
                              files that aren't checked into the git repo)

        Add `--force` to your command to use it anyway if you must (unsupported).

        [end of output]

        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed cleaning build dir for numpy
      Failed to build numpy
      ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
      [end of output]

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

× pip subprocess to install build dependencies 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.
@H-Liu1997
Copy link
Contributor

hi, python 3.7 will not work, please try python 3.8
This can work in python 3.8 and ubuntu 22.04

@r530044129
Copy link
Author

hi, python 3.7 will not work, please try python 3.8 This can work in python 3.8 and ubuntu 22.04

I tried the python 3.8 in windows, another error happen:

(beat) D:\Git\BEAT\audio2pose\codes\audio2pose>pip install -r requirements.txt
Collecting ConfigArgParse==1.7 (from -r requirements.txt (line 1))
  Using cached ConfigArgParse-1.7-py3-none-any.whl.metadata (23 kB)
Collecting fasttext==0.9.2 (from -r requirements.txt (line 2))
  Using cached fasttext-0.9.2.tar.gz (68 kB)
  Preparing metadata (setup.py) ... done
Collecting h5py==3.10.0 (from -r requirements.txt (line 3))
  Downloading h5py-3.10.0-cp38-cp38-win_amd64.whl.metadata (2.5 kB)
Collecting imageio==2.31.4 (from -r requirements.txt (line 4))
  Using cached imageio-2.31.4-py3-none-any.whl.metadata (4.6 kB)
Collecting ipython==8.12.3 (from -r requirements.txt (line 5))
  Using cached ipython-8.12.3-py3-none-any.whl.metadata (5.7 kB)
Collecting joblib==1.3.2 (from -r requirements.txt (line 6))
  Using cached joblib-1.3.2-py3-none-any.whl.metadata (5.4 kB)
Collecting librosa==0.10.1 (from -r requirements.txt (line 7))
  Using cached librosa-0.10.1-py3-none-any.whl.metadata (8.3 kB)
Collecting lmdb==1.4.1 (from -r requirements.txt (line 8))
  Downloading lmdb-1.4.1-cp38-cp38-win_amd64.whl (105 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 105.9/105.9 kB 6.4 MB/s eta 0:00:00
Collecting loguru==0.7.2 (from -r requirements.txt (line 9))
  Using cached loguru-0.7.2-py3-none-any.whl.metadata (23 kB)
Collecting matplotlib==3.7.3 (from -r requirements.txt (line 10))
  Using cached matplotlib-3.7.3-cp38-cp38-win_amd64.whl.metadata (5.8 kB)
Collecting moviepy==1.0.3 (from -r requirements.txt (line 11))
  Using cached moviepy-1.0.3.tar.gz (388 kB)
  Preparing metadata (setup.py) ... done
Collecting numpy (from -r requirements.txt (line 12))
  Using cached numpy-1.24.4-cp38-cp38-win_amd64.whl.metadata (5.6 kB)
Collecting opencv_contrib_python==4.8.1.78 (from -r requirements.txt (line 13))
  Using cached opencv_contrib_python-4.8.1.78-cp37-abi3-win_amd64.whl.metadata (20 kB)
Collecting opencv_python==4.8.1.78 (from -r requirements.txt (line 14))
  Using cached opencv_python-4.8.1.78-cp37-abi3-win_amd64.whl.metadata (20 kB)
Collecting pandas==1.5.3 (from -r requirements.txt (line 15))
  Downloading pandas-1.5.3-cp38-cp38-win_amd64.whl (11.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.0/11.0 MB 46.9 MB/s eta 0:00:00
Collecting peakutils==1.3.4 (from -r requirements.txt (line 16))
  Using cached PeakUtils-1.3.4-py3-none-any.whl (7.7 kB)
Collecting ptflops==0.7.1.2 (from -r requirements.txt (line 17))
  Using cached ptflops-0.7.1.2.tar.gz (15 kB)
  Preparing metadata (setup.py) ... done
Collecting pyarrow==0.16.0 (from -r requirements.txt (line 18))
  Downloading pyarrow-0.16.0-cp38-cp38-win_amd64.whl (20.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.4/20.4 MB 2.3 MB/s eta 0:00:00
Collecting python_igraph==0.11.3 (from -r requirements.txt (line 19))
  Downloading python_igraph-0.11.3-py3-none-any.whl.metadata (2.8 kB)
ERROR: Ignored the following versions that require a different python version: 1.25.0 Requires-Python >=3.9; 1.25.0rc1 Requires-Python >=3.9; 1.25.1 Requires-Python >=3.9; 1.25.2 Requires-Python >=3.9; 1.26.0 Requires-Python <3.13,>=3.9; 1.26.0b1 Requires-Python <3.13,>=3.9; 1.26.0rc1 Requires-Python <3.13,>=3.9; 1.26.1 Requires-Python <3.13,>=3.9; 1.26.2 Requires-Python >=3.9; 1.26.3 Requires-Python >=3.9; 2.1.0 Requires-Python >=3.9; 2.1.0rc0 Requires-Python >=3.9; 2.1.1 Requires-Python >=3.9; 2.1.2 Requires-Python >=3.9; 2.1.3 Requires-Python >=3.9; 2.1.4 Requires-Python >=3.9; 2.2.0rc0 Requires-Python >=3.9; 3.8.0 Requires-Python >=3.9; 3.8.0rc1 Requires-Python >=3.9; 3.8.1 Requires-Python >=3.9; 3.8.2 Requires-Python >=3.9; 8.13.1 Requires-Python >=3.9; 8.13.2 Requires-Python >=3.9; 8.14.0 Requires-Python >=3.9; 8.15.0 Requires-Python >=3.9; 8.16.0 Requires-Python >=3.9; 8.16.1 Requires-Python >=3.9; 8.17.0 Requires-Python >=3.9; 8.17.1 Requires-Python >=3.9; 8.17.2 Requires-Python >=3.9; 8.18.0 Requires-Python >=3.9; 8.18.1 Requires-Python >=3.9; 8.19.0 Requires-Python >=3.10
ERROR: Could not find a version that satisfies the requirement pytorch3d (from versions: none)
ERROR: No matching distribution found for pytorch3d

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

2 participants