Code Monkey home page Code Monkey logo

Comments (14)

NielsPichon avatar NielsPichon commented on June 12, 2024 2

@aquint-zama That was indeed a related issue. It seems there are 2 pip versions on my machine.

>> /home/niels/.local/bin/pip --version
pip 22.3.1 from /home/niels/.local/lib/python3.8/site-packages/pip (python 3.8)

>> pip --version
pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)

Not sure what happened given this is a fresh WSL install... But either way it works now when using the latest pip verison🀷.

Thanks for your help :)

from concrete-numpy.

IceTDrinker avatar IceTDrinker commented on June 12, 2024 2

If I may, I would recommend always creating virtual environments in python, as you see there are several python versions floating around!

Relevant xkcd: https://xkcd.com/1987/

from concrete-numpy.

umut-sahin avatar umut-sahin commented on June 12, 2024

PyPI has the version 0.19 https://pypi.org/project/concrete-compiler/0.19.0/, but it seems it's not compatible with your setup. Required glibc version got bumped recently, it could be due to that. Could you run ldd --version ldd on your machine and share the output?

from concrete-numpy.

s-naveen avatar s-naveen commented on June 12, 2024

As i stated before I am using mac there's no ldd command.

from concrete-numpy.

umut-sahin avatar umut-sahin commented on June 12, 2024

Are you using an M1 mac? If that's the case, concrete-numpy is not natively supported yet. You can use the docker image instead, for the time being.

Otherwise, could you try running pip install -U pip before installing concrete-numpy?

from concrete-numpy.

s-naveen avatar s-naveen commented on June 12, 2024

I am using intel mac. 0.7.0 is installing and working fine.

I tried downloading and installing wheel directly from pypi uptill 0.16 of concrete-compiler it works but on latest version its throwing this error.

ERROR: concrete_compiler-0.21.0-cp310-cp310-macosx_11_0_x86_64.whl is not a supported wheel on this platform.

from concrete-numpy.

bcm-at-zama avatar bcm-at-zama commented on June 12, 2024

Hey, I am on macOS as well, let me help you

from concrete-numpy.

bcm-at-zama avatar bcm-at-zama commented on June 12, 2024

So, you're able to pip install concrete-compiler uphill 0.16 and it fails afterwards. Strange

Are you with python 3.9 (I have this impression in this comment #47 (comment)) or 3.10 (I have this impression in this comment #47 (comment))

Also, you're on macOS 11, I am on macOS 12:

sw_vers
ProductName:	macOS
ProductVersion:	12.5.1
BuildVersion:	21G83

I am not sure if it makes a difference but it is to be noted

from concrete-numpy.

bcm-at-zama avatar bcm-at-zama commented on June 12, 2024

Can we organise a zoom call to debug this? It may be easier

from concrete-numpy.

youben11 avatar youben11 commented on June 12, 2024

Could you try pip3.9 install concrete-numpy==0.8.0 (you might need to specify the pip version here)?

from concrete-numpy.

NielsPichon avatar NielsPichon commented on June 12, 2024

Hello πŸ‘‹
Is there any progress on this issue? I have tried to install concrete-numpy and concrete-ml and have been met with the same error message.

ERROR: Could not find a version that satisfies the requirement concrete-compiler<0.20.0,>=0.19.0 (from concrete-numpy>=0.8.0->concrete-ml==0.5.1) (from versions: none)
ERROR: No matching distribution found for concrete-compiler<0.20.0,>=0.19.0 (from concrete-numpy>=0.8.0->concrete-ml==0.5.1)

List of what I have tried:

  • pip install concrete-numpy (same result specifying ==0.8.0)
  • pip install concrete-ml
  • pip install concrete-compiler (also with the specified version all the way back to 0.14).
  • Clone the concrete-ml repo and at the root of the repo pip install .

I initially thought this might be related to the OS I was using (Ubuntu 20.04LTS running inside a docker container), but I also got the same error message running inside WSL. In the former I use python3.8.7 and python 3.8.10 in the latter.

Also maybe not related, but the homepage link in the pypi page for the concrete-compiler package points to a 404 github page. Had the concrete-compiler github repo gone private which could explain pypi not being able to reach the released packages?

Thanks for your help

from concrete-numpy.

umut-sahin avatar umut-sahin commented on June 12, 2024

Hey,

GItHub repository being private doesn't affect PyPI in any way. Python packages are uploaded to PyPI, they are not fetched from GitHub.

And v0.19.0 of concrete-compiler is on PyPI: https://pypi.org/project/concrete-compiler/0.19.0/#files, could you try to install the whl file manually using pip install /path/to/downloaded.whl and share the error you're getting?

Thanks.

from concrete-numpy.

aquint-zama avatar aquint-zama commented on June 12, 2024

Ubuntu 20.04 LTS debug

I reproduce the same issue with old version of pip

root@f6bb8e0b6107:/data# pip --version
pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)

root@f6bb8e0b6107:/data# pip install concrete-compiler==0.19.0
ERROR: Could not find a version that satisfies the requirement concrete-compiler==0.19.0 (from versions: none)
ERROR: No matching distribution found for concrete-compiler==0.19.0

while it's ok when using the updated version pip3:

root@f6bb8e0b6107:/data# pip3 --version
pip 22.3.1 from /usr/local/lib/python3.8/dist-packages/pip (python 3.8)

root@f6bb8e0b6107:/data# pip3 install concrete-compiler==0.19.0
Collecting concrete-compiler==0.19.0
  Downloading concrete_compiler-0.19.0-cp38-cp38-manylinux_2_28_x86_64.whl (58.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.6/58.6 MB 29.3 MB/s eta 0:00:00
Collecting numpy
  Downloading numpy-1.23.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 59.3 MB/s eta 0:00:00
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from concrete-compiler==0.19.0) (45.2.0)
Collecting PyYAML
  Downloading PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (701 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 701.2/701.2 kB 59.5 MB/s eta 0:00:00
Installing collected packages: PyYAML, numpy, concrete-compiler
Successfully installed PyYAML-6.0 concrete-compiler-0.19.0 numpy-1.23.5

I think this is related to upgrading pip issue on ubuntu (see here)

from concrete-numpy.

umut-sahin avatar umut-sahin commented on June 12, 2024

Seems to be resolved. Please create another issue if the problem is persisting.

from concrete-numpy.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.