rdkit icon indicating copy to clipboard operation
rdkit copied to clipboard

Installation on raspberry pi failed

Open kovalp opened this issue 2 years ago • 1 comments

Describe the bug I could not install the rdkit on raspberry pi in Python 3.10

To Reproduce

I installed Python 3.10.11 (using pyenv) on Raspberry Pi Raspbian GNU/Linux 11 (bullseye). When I wanted to install the rdkit, python -m pip install rdkit would fail with this output

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
ERROR: Could not find a version that satisfies the requirement rdkit (from versions: none)
ERROR: No matching distribution found for rdkit

Expected behavior I expected that rdkit would get installed. The combination of Raspberry Pi and Python 3.10 is reported as supported here https://pypi.org/project/rdkit/.

Screenshots

kovalp@raspberrypi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye
kovalp@raspberrypi:~ $ python --version 
Python 3.10.11
kovalp@raspberrypi:~ $ python -m pip install rdkit 
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
ERROR: Could not find a version that satisfies the requirement rdkit (from versions: none)
ERROR: No matching distribution found for rdkit
kovalp@raspberrypi:~ $ python -m pip -vvv install rdkit 
Using pip 23.0.1 from /home/kovalp/.pyenv/versions/3.10.11/lib/python3.10/site-packages/pip (python 3.10)
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-build-tracker-v03qm_w1
Initialized build tracking at /tmp/pip-build-tracker-v03qm_w1
Created build tracker: /tmp/pip-build-tracker-v03qm_w1
Entered build tracker: /tmp/pip-build-tracker-v03qm_w1
Created temporary directory: /tmp/pip-install-ms602zfc
Created temporary directory: /tmp/pip-ephem-wheel-cache-540ioktm
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
2 location(s) to search for versions of rdkit:
* https://pypi.org/simple/rdkit/
* https://www.piwheels.org/simple/rdkit/
Fetching project page and analyzing links: https://pypi.org/simple/rdkit/
Getting page https://pypi.org/simple/rdkit/
Found index url https://pypi.org/simple
Looking up "https://pypi.org/simple/rdkit/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/rdkit/ HTTP/1.1" 304 0
Fetched page https://pypi.org/simple/rdkit/ as application/vnd.pypi.simple.v1+json
  Skipping link: none of the wheel's tags (cp310-cp310-macosx_10_9_x86_64) are compatible (run pip debug --verbose to show compatible tags): https://files.pythonhosted.org/packages/9c/37/46cb24e4537c45089f8530d019c0597d0fb2034e7bbc7412e12b6d716fd0/rdkit-2022.3.3-cp310-cp310-macosx_10_9_x86_64.whl (from https://pypi.org/simple/rdkit/)
  Skipping link: none of the wheel's tags (cp310-cp310-macosx_11_0_arm64) are compatible (run pip debug --verbose to show compatible tags): 
 [... more output about skipping ...]
  Skipping link: none of the wheel's tags (cp39-cp39-win_amd64) are compatible (run pip debug --verbose to show compatible tags): https://files.pythonhosted.org/packages/29/79/1d920e86906553801db54dd6bf3b36b630a8400a453285be1519ea0b0b27/rdkit-2022.9.5-cp39-cp39-win_amd64.whl (from https://pypi.org/simple/rdkit/)
Fetching project page and analyzing links: https://www.piwheels.org/simple/rdkit/
Getting page https://www.piwheels.org/simple/rdkit/
Found index url https://www.piwheels.org/simple
Looking up "https://www.piwheels.org/simple/rdkit/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): www.piwheels.org:443
https://www.piwheels.org:443 "GET /simple/rdkit/ HTTP/1.1" 200 105
Updating cache with response from "https://www.piwheels.org/simple/rdkit/"
etag object cached for 1209600 seconds
Caching due to etag
Fetched page https://www.piwheels.org/simple/rdkit/ as text/html
Skipping link: not a file: https://www.piwheels.org/simple/rdkit/
Skipping link: not a file: https://pypi.org/simple/rdkit/
Given no hashes to check 0 links for project 'rdkit': discarding no candidates
ERROR: Could not find a version that satisfies the requirement rdkit (from versions: none)
ERROR: No matching distribution found for rdkit
Exception information:
Traceback (most recent call last):
  File "/home/kovalp/.pyenv/versions/3.10.11/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 348, in resolve
    self._add_to_criteria(self.state.criteria, r, parent=None)
  File "/home/kovalp/.pyenv/versions/3.10.11/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria
    raise RequirementsConflicted(criterion)
pip._vendor.resolvelib.resolvers.RequirementsConflicted: Requirements conflict: SpecifierRequirement('rdkit')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/kovalp/.pyenv/versions/3.10.11/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve
    result = self._result = resolver.resolve(
  File "/home/kovalp/.pyenv/versions/3.10.11/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 481, in resolve
    state = resolution.resolve(requirements, max_rounds=max_rounds)
  File "/home/kovalp/.pyenv/versions/3.10.11/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 350, in resolve
    raise ResolutionImpossible(e.criterion.information)
pip._vendor.resolvelib.resolvers.ResolutionImpossible: [RequirementInformation(requirement=SpecifierRequirement('rdkit'), parent=None)]

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/kovalp/.pyenv/versions/3.10.11/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper
    status = run_func(*args)
  File "/home/kovalp/.pyenv/versions/3.10.11/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 247, in wrapper
    return func(self, options, args)
  File "/home/kovalp/.pyenv/versions/3.10.11/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 419, in run
    requirement_set = resolver.resolve(
  File "/home/kovalp/.pyenv/versions/3.10.11/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 101, in resolve
    raise error from e
pip._internal.exceptions.DistributionNotFound: No matching distribution found for rdkit
Remote version of pip: 23.0.1
Local version of pip:  23.0.1
Was pip installed by pip? True
Removed build tracker: '/tmp/pip-build-tracker-v03qm_w1'

Configuration (please complete the following information):

  • RDKit version: any version I guess
  • OS: Raspberry Pi Bullseye
  • Python version (if relevant): 3.10.11
  • Are you using conda? No
  • If you are not using conda: how did you install the RDKit? Using pyenv

kovalp avatar Apr 08 '23 09:04 kovalp

This issue was marked as stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Oct 19 '24 02:10 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Nov 03 '24 02:11 github-actions[bot]