Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not installing with pip (python 3.10 not supported workaround?) #27

Closed
ballesterosbr opened this issue Aug 26, 2022 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@ballesterosbr
Copy link

ballesterosbr commented Aug 26, 2022

NOTE: This is not actually a bug.

Summary

What happened/what you expected to happen?

Not abe to install concrete-ml with pip. Requires Python >=3.8, <3.10 from Pypi concrete-ml 0.2.1.

EDIT: Sorry I printed the pip list from different python (3.9) version.

I do not have concrete-numpy installed.

Description

  • versions affected: 0.1.0; 0.1.1; 0.2.0; 0.2.1.
  • python version: Python 3.10.4
  • pip version: 22.2.2
  • config (optional: HW, OS): Ubuntu 20.04.1 LTS
  • workaround (optional): if you’ve a way to workaround the issue
  • proposed fix (optional): if you’ve a way to fix the issue

Step by step procedure someone should follow to trigger the bug:

$ pip install concrete-ml
ERROR: Ignored the following versions that require a different python version: 0.1.0 Requires-Python >=3.8,<3.10; 0.1.1 Requires-Python >=3.8,<3.10; 0.2.0 Requires-Python >=3.8,<3.10; 0.2.1 Requires-Python >=3.8,<3.10
ERROR: Could not find a version that satisfies the requirement concrete-ml (from versions: none)
ERROR: No matching distribution found for concrete-ml
@ballesterosbr ballesterosbr added the bug Something isn't working label Aug 26, 2022
@ballesterosbr ballesterosbr changed the title Not installing with pip (python 3.10 not supported?) Not installing with pip (python 3.10 not supported workaround?) Aug 26, 2022
@bcm-at-zama
Copy link
Collaborator

Hello @ballesterosbr . We currently don't support officially 3.10 (nor 3.7, for people on Google Collab or Kaggle) but we'll add it soon.

In the meantime, would you like to:

  • either, run your tests on python 3.9 (the safest, since we test it like that)
  • or, try installing as pip3 install --ignore-requires-python concrete-ml
    ?

Tell us how it goes. Cheers

@ballesterosbr
Copy link
Author

ballesterosbr commented Aug 26, 2022

Hello @bcm-at-zama, both work perfectly! Forgot to mention that I'm using jupyter notebooks, but I can run my scripts on console in the meantime. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants