79579300

Date: 2025-04-17 13:03:33
Score: 0.5
Natty:
Report link
  1. PyCoTools3 ([PyPI]: pycotools3) is a pure Python package, and should install on any Python 3

    (py_pc064_03.06_test1_pippkgs) [cfati@CFATI-5510-0:e:\Work\Dev\StackExchange\StackOverflow\q079481428]> python -VV
    Python 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 24 2018, 00:16:47) [MSC v.1916 64 bit (AMD64)]
    
    (py_pc064_03.06_test1_pippkgs) [cfati@CFATI-5510-0:e:\Work\Dev\StackExchange\StackOverflow\q079481428]> python -m pip install --no-deps pycotools3
    Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
    Collecting pycotools3
      Downloading pycotools3-2.1.22-py3-none-any.whl (128 kB)
         |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 128 kB 2.2 MB/s
    Installing collected packages: pycotools3
    Successfully installed pycotools3-2.1.22
    

    So, the package itself is perfectly installable (not to be confused with runable). Its one of the dependencies (and it has 113 of them) that has the problem, yielding the question ill formed. Also, it doesn't list the install command as it should ([SO]: How to create a Minimal, Reproducible Example (reprex (mcve)))

  2. Python 3.6 seems like an odd Python 3 version to use, as its EoL is 3+ years ago

Hmm, as I noticed that [GitHub]: CiaranWelsh/pycotools3 doesn't have any dependency version requirements, I just attempted installing:

(py_pc064_03.06_test1_pippkgs) [cfati@CFATI-5510-0:e:\Work\Dev\StackExchange\StackOverflow\q079481428]> python -m pip uninstall -y pycotools3
Found existing installation: pycotools3 2.1.22
Uninstalling pycotools3-2.1.22:
  Successfully uninstalled pycotools3-2.1.22

(py_pc064_03.06_test1_pippkgs) [cfati@CFATI-5510-0:e:\Work\Dev\StackExchange\StackOverflow\q079481428]> python -m pip install --prefer-binary pycotools3
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting pycotools3

# @TODO - cfati: Truncated output

Successfully installed MarkupSafe-2.0.1 alabaster-0.7.13 antimony-2.15.0 appdirs-1.4.4 async-generator-1.10 atomicwrites-1.4.0 attrs-22.2.0 babel-2.11.0 backcall-0.2.0 bleach-4.1.0 certifi-2025.1.31 charset-normalizer-2.0.12 colorama-0.4.5 cycler-0.11.0 decorator-5.1.1 defusedxml-0.7.1 dill-0.3.4 docutils-0.18.1 entrypoints-0.4 idna-3.10 imagesize-1.4.1 importlib-metadata-4.8.3 iniconfig-1.1.1 ipykernel-5.5.6 ipython-7.16.3 ipython-genutils-0.2.0 jedi-0.17.2 jinja2-3.0.3 jsonschema-3.2.0 jupyter-client-7.1.2 jupyter-core-4.9.2 jupyterlab-pygments-0.1.2 kiwisolver-1.3.1 libroadrunner-2.0.5 lxml-5.3.2 matplotlib-3.3.4 mistune-0.8.4 multiprocess-0.70.12.2 munch-4.0.0 nbclient-0.5.9 nbconvert-6.0.7 nbformat-5.1.3 nbsphinx-0.8.8 nest-asyncio-1.6.0 nose-1.3.7 numpy-1.19.3 packaging-21.3 pandas-1.1.5 pandocfilters-1.5.1 parso-0.7.1 pathos-0.2.8 phrasedml-1.3.0 pickleshare-0.7.5 pillow-8.4.0 plotly-5.18.0 pluggy-1.0.0 pox-0.3.0 ppft-1.6.6.4 prompt-toolkit-3.0.36 psutil-7.0.0 py-1.11.0 pycotools3-2.1.22 pygments-2.14.0 pyparsing-3.1.4 pyrsistent-0.18.0 pytest-7.0.1 python-dateutil-2.9.0.post0 python-libcombine-0.2.15 python-libnuml-1.1.4 python-libsbml-5.19.2 python-libsedml-2.0.26 pytz-2025.2 pywin32-305 pyyaml-6.0.1 pyzmq-25.1.2 requests-2.27.1 rrplugins-2.1.3 sbml2matlab-1.2.3 scipy-1.5.4 seaborn-0.11.2 six-1.17.0 sklearn-0.0.post12 snowballstemmer-2.2.0 sphinx-5.3.0 sphinx-rtd-theme-2.0.0 sphinxcontrib-applehelp-1.0.2 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-2.0.0 sphinxcontrib-jquery-4.1 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.5 tellurium-2.2.0 tenacity-8.2.2 testpath-0.6.0 tomli-1.2.3 tornado-6.1 traitlets-4.3.3 typing-extensions-4.1.1 urllib3-1.26.20 wcwidth-0.2.13 webencodings-0.5.1 zipp-3.6.0

Since I used a VirtualEnv, I found [anaconda]: Installing pip packages that states:

However, you might need to use pip if a package or specific version is not available through conda channels.

So, there you go, problem solved (with no need of installing anything).

Might be interesting to read:

Reasons:
  • Blacklisted phrase (1): How do I
  • Blacklisted phrase (1): StackOverflow
  • Probably link only (1):
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • High reputation (-2):
Posted by: CristiFati