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

Installation error: Cannot install subsai and subsai==1.3.0 because these package versions have conflicting dependencies #119

Closed
ononoki1 opened this issue Mar 4, 2024 · 2 comments

Comments

@ononoki1
Copy link

ononoki1 commented Mar 4, 2024

OS: Windows 10
Python: Miniconda with python 3.10

ffmpeg already installed. When running pip install git+https://github.com/abdeladim-s/subsai, the following error occurs.

Error message:

INFO: pip is looking at multiple versions of whisperx to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install subsai and subsai==1.3.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    subsai 1.3.0 depends on faster-whisper
    whisperx 3.1.1 depends on faster-whisper==1.0.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Similar to #115 and #116.

Environment (output of conda list):

# packages in environment at C:\Users\username\miniconda3\envs\subsai:
#
# Name                    Version                   Build  Channel
bzip2                     1.0.8                h2bbff1b_5    defaults
ca-certificates           2023.12.12           haa95532_0    defaults
libffi                    3.4.4                hd77b12b_0    defaults
openssl                   3.0.13               h2bbff1b_0    defaults
pip                       23.3.1          py310haa95532_0    defaults
python                    3.10.13              he1021f5_0    defaults
setuptools                68.2.2          py310haa95532_0    defaults
sqlite                    3.41.2               h2bbff1b_0    defaults
tk                        8.6.12               h2bbff1b_0    defaults
tzdata                    2024a                h04d1e81_0    defaults
vc                        14.2                 h21ff451_1    defaults
vs2015_runtime            14.27.29016          h5e58377_2    defaults
wheel                     0.41.2          py310haa95532_0    defaults
xz                        5.4.6                h8cc25b3_0    defaults
zlib                      1.2.13               h8cc25b3_0    defaults
@abdeladim-s
Copy link
Owner

@ononoki1, it's weird this issue is still popping up, I have deleted the faster-whisper version from the requirements so basically pip should install the version provided by the whisperx package.

Can you please change faster-whisper into faster-whisper>=1.0.0 in the requirement.txt file and see if that solved the issue ?

@ononoki1
Copy link
Author

ononoki1 commented Mar 5, 2024

The issue was caused by using outdated pypi mirror (https://mirrors.bfsu.edu.cn/pypi/web/simple). It works after changing to another one (https://pypi.tuna.tsinghua.edu.cn/simple).

@ononoki1 ononoki1 closed this as completed Mar 5, 2024
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