scancode-toolkit icon indicating copy to clipboard operation
scancode-toolkit copied to clipboard

package versions have conflicting dependencies

Open chinyeungli opened this issue 4 years ago • 2 comments
trafficstars

Collecting patch>=1.16
  Downloading https://thirdparty.aboutcode.org/pypi/patch-1.16-py3-none-any.whl (12 kB)
INFO: pip is looking at multiple versions of dparse to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of debian-inspector to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of commoncode to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of colorama to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of click to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of chardet to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of boolean-py to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of bitarray to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of beautifulsoup4 to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of attrs to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of scancode-toolkit to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install extractcode[full]==21.7.23 because these package versions have conflicting dependencies.

The conflict is caused by:
    extractcode[full] 21.7.23 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:
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/user_guide/#fixing-conflicting-dependencies

I am having the above error when doing a configure on the develop branch downloaded on 2021-11-17 OS: Windows 10

chinyeungli avatar Nov 17 '21 08:11 chinyeungli

This needs to be fixed in the next release

pombredanne avatar Feb 02 '22 07:02 pombredanne

solution of this please. I download latest version and tried installation by docker ` 19.8s

[6/6] RUN ./scancode --reindex-licenses:
#11 0.212 * Configuring ScanCode for first use...
#11 19.45 ERROR: Cannot install scancode-toolkit[packages]==31.0.0rc2 because these package versions have conflicting dependencies. #11 19.45 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies


executor failed running [/bin/sh -c ./scancode --reindex-licenses]: exit code: 1 ➜ scancode-toolkit git:(develop) `

usmankhanisb avatar Jun 28 '22 12:06 usmankhanisb

This is solved in https://github.com/nexB/scancode-toolkit/pull/3053 Thanks!

pombredanne avatar Aug 17 '22 13:08 pombredanne