concrete-numpy icon indicating copy to clipboard operation
concrete-numpy copied to clipboard

Unable to install through PIP

Open zxcCEn opened this issue 3 years ago • 3 comments

Pycharm cannot be installed by PIP command ERROR: Cannot install concrete-numpy==0.2.0, concrete-numpy==0.2.1, concrete-numpy==0.3.0, Concrete-numpy ==0.4.0 and concrete-Numpy ==0.5.0 because these package versions have conflicting dependencies.

zxcCEn avatar Jun 04 '22 07:06 zxcCEn

Hello,

It looks like an error you could have when trying to install concrete-numpy on another architecture than x86. is it the case?

(I got for example this error when trying to run:

pip install concrete-numpy

on my Macbook M1)

aquint-zama avatar Jun 04 '22 16:06 aquint-zama

Hello, is it because the library can only be installed under Linux and is limited to python versions? Do you need to install concrete-Compiler? If so, how should the library be installed? Thank you very much.

zxcCEn avatar Jun 05 '22 07:06 zxcCEn

as you could see here concrete-compiler is available on Linux and macOS (but only x86) from python 3.8 to python 3.10. If you cant successfully install it, maybe the easiest way is to use docker, following commands download the latest version then open a bash session inside the docker image:

docker pull --platform linux/amd64 zamafhe/concrete-numpy:v0.5.0
docker run --platform linux/amd64  --rm   -v "$PWD":/data --entrypoint /bin/bash  -it zamafhe/concrete-numpy:v0.5.0

aquint-zama avatar Jun 05 '22 09:06 aquint-zama

Hi, can you try to install v0.6.0 and let us know how it went? (Note that you might want to run pip install -U pip wheel setuptools before running pip install concrete-numpy)

umut-sahin avatar Aug 31 '22 14:08 umut-sahin

Closing due to inactivity. Please create another issue if your problem is not resolved.

umut-sahin avatar Oct 10 '22 11:10 umut-sahin