Comments (14)
@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.
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.
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.
As i stated before I am using mac there's no ldd command.
from concrete-numpy.
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.
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.
Hey, I am on macOS as well, let me help you
from concrete-numpy.
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.
Can we organise a zoom call to debug this? It may be easier
from concrete-numpy.
Could you try pip3.9 install concrete-numpy==0.8.0
(you might need to specify the pip version here)?
from concrete-numpy.
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.
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.
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.
Seems to be resolved. Please create another issue if the problem is persisting.
from concrete-numpy.
Related Issues (14)
- Use multiprocessing to avoid crashes
- Ipykernel dies when .compile() method runs/completes HOT 2
- Fix broken link to the table lookups tutorial in the README file HOT 1
- [Question]: Disabling concrete-csprng warning HOT 2
- Not installing with pip in googlecloab HOT 1
- AttributeError: 'FHECircuit' object has no attribute 'encrypt_run_decrypt' HOT 2
- Unable to install through PIP HOT 5
- Is it possible to implement.sum and.array in numpy? Is that possible HOT 4
- Inputset for table lookups HOT 4
- Float usage HOT 9
- Docker M1 Illegal instruction HOT 1
- Allow large models to be compiled, avoiding `RuntimeError: Can't emit artifacts` HOT 1
- np.dot between matrices results in compilation error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from concrete-numpy.