scancode-toolkit
scancode-toolkit copied to clipboard
ERROR: Cannot install extractcode[full]==31.0.0 because these package versions have conflicting dependencies.
Description
Getting the following error while setting up dev env for scancode-toolkit.
Error
ERROR: Cannot install extractcode[full]==31.0.0 because these package versions have conflicting dependencies.
The conflict is caused by: extractcode[full] 31.0.0 depends on extractcode-7z>=16.5.210525; extra == "full" The user requested (constraint) extractcode-7z==16.5.210531
To fix this you could try to:
- loosen the range of package versions you've specified
- 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
How To Reproduce
- clone the project
- run ./configure --dev
System configuration
- What OS are you running on? MacOS M1
- What version of scancode-toolkit was used to generate the scan file? latest develop branch
- What installation method was used to install/run scancode? git clone
Ran into the same issue, tried to workaround this bug by changing line 20 in requirements.txt from extractcode-7z>=16.5.210531 to extractcode-7z>=16.5.210525 extractcode-7z>=16.5.210525 but still getting below error message. Happy to help debug the issue if someone can from the ScanCode team can assist me.
ERROR: Cannot install extractcode[full]==31.0.0 because these package versions have conflicting dependencies.
The conflict is caused by:
extractcode[full] 31.0.0 depends on extractcode-7z>=16.5.210525; extra == "full"
The user requested (constraint) extractcode-7z>=16.5.210525
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
Issue seems to be same as https://github.com/nexB/scancode-toolkit/issues/3141
@tsteenbe @arnav-mandal1234 are you both running an ARM on Apple?
Could you try to install v31.2.6 in the 31 range?
@pombredanne I've tried this with 31.2.6 and 32.0.6 and still get the same error as posted above.
Any progress on this? I still cannot use the latest dev branch.
@Telshin Maybe my workaround described https://github.com/nexB/scancode-toolkit/issues/3626#issuecomment-2084527200 will work for you as well.