If you use a supported OS listed here: On which OSes does Concrete Numpy work? Do we need special hardware? then the following should help fix your issue.
If you encounter the following error:
ERROR: Could not find a version that satisfies the requirement concrete-compiler<0.2.0,>=0.1.1 (from concrete-numpy) (from versions: none)
ERROR: No matching distribution found for concrete-compiler<0.2.0,>=0.1.1 (from concrete-numpy)
Then you may be missing some packages to install python packages that you can install with the following commands:
# First update pip
python3 -m pip install -U pip
# Then install and update wheel and setuptools
python3 -m pip install -U wheel setuptools
You should now have the missing pieces to install concrete-numpy
.
1 Like
Followed the steps advised. But the problem persists.
pip 22.0.3
wheel 0.37.1
setuptools 60.9.3
I am also facing the same problem:
ERROR: Could not find a version that satisfies the requirement concrete-compiler
Nothing seems to work-
@ykkfaheem and @sandeep
Be aware we don’t support Windows and we require Python 3.8 or 3.9
Could you share more info about the machine configuration?
Python 3.8.10
Linux ubuntu 5.15.0-46-generic #49~20.04.1-Ubuntu
ubuntu@ubuntu:~$ pip3 install concrete-compiler
ERROR: Could not find a version that satisfies the requirement concrete-compiler (from versions: none)
ERROR: No matching distribution found for concrete-compiler
Hello @ykkfaheem I don’t seem to be able to reproduce your issue with, here are the steps I followed to have a setup like yours:
python3 --version
Python 3.8.10
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.5 LTS
Release: 20.04
Codename: focal
python3 -m venv test_env
source test_env/bin/activate
pip install pip==22.0.3 wheel==0.37.1 setuptools==60.9.3
pip install concrete-compiler
...
Installing collected packages: PyYAML, numpy, concrete-compiler
Successfully installed PyYAML-6.0 concrete-compiler-0.21.0 numpy-1.23.4
pip freeze | grep compiler
concrete-compiler==0.21.0
Maybe you have issues with the pypi urls