ncsnv2 icon indicating copy to clipboard operation
ncsnv2 copied to clipboard

Requirements - Pykerberos, Numba, Scikit-image

Open d-dimos opened this issue 2 years ago • 0 comments

I think the requirements.txt file should be checked for version validity problems.

Trying: pip install -r requirements.txt yields errors concerning the numba, scikit-image and pykerberos packages.

pykerberos's issue is Q&Aed here: https://github.com/requests/requests-kerberos/issues/109

Both scikit-image and numba, run on Colab, output:

. . . Building wheels for collected packages: scikit-image Building wheel for scikit-image (setup.py) ... error ERROR: Failed building wheel for scikit-image Running setup.py clean for scikit-image Failed to build scikit-image . . . Running setup.py install for scikit-image ... error Rolling back uninstall of scikit-image Moving to /usr/local/bin/skivi from /tmp/pip-uninstall-6hpppytk/skivi Moving to /usr/local/lib/python3.7/dist-packages/scikit_image-0.14.0.dist-info/ from /usr/local/lib/python3.7/dist-packages/~cikit_image-0.14.0.dist-info Moving to /usr/local/lib/python3.7/dist-packages/skimage/ from /usr/local/lib/python3.7/dist-packages/~kimage

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-k0wygbfd/scikit-image_c91cf20f99884249931a8a1d91256722/setup.py'"'"'; __file__='"'"'/tmp/pip-install-k0wygbfd/scikit-image_c91cf20f99884249931a8a1d91256722/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-7dzzbcjg/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7/scikit-image Check the logs for full command output.

Not sure, but I think it is due to version upgrades. I fixed it by changing scikit-image's version to 0.14.0 and numba's to 0.39.0

Still testing the repo, though, to check if everything is working fine.

d-dimos avatar Oct 28 '21 19:10 d-dimos