Comment on page
It is strongly recommended to use the development tool Docker. However, you are able to set the project up on a bare Linux or macOS as long as you have the required dependencies. You can see the required dependencies in
Concrete-Numpy is a
Pythonshould be installed to develop it.
v3.9are, currently, the only supported versions.
You probably have Python already, but in case you don't, or in case you have an unsupported version, you can google
how to install python 3.8and follow one of the results.
Poetryis our package manager. It drastically simplifies dependency and environment management.
makeis used to launch various commands such as formatting and testing.
On Linux, you can install
makeusing the package manager of your distribution.
On macOS, you can install
brew install make
In the following sections, be sure to use the proper
maketool for your system (i.e.,
Now, it's time to get the source code of Concrete-Numpy.
Clone the git repository from GitHub using the protocol of your choice (ssh or https).
Virtual environments are utilized to keep the project isolated from other
Pythonprojects in the system.
To create a new virtual environment and install dependencies, use the command:
To activate the newly created environment, use:
From time to time, new dependencies will be added to the project and old ones will be removed.mThe command below will make sure the project has the proper environment, so run it regularly.
If you are having issues in a native setup, you can try to re-create your environment like this:
rm -rf .venv
If the problem persists, you should consider using Docker. If you are working on a platform specific feature and Docker is not an option, you should create an issue so that we can take a look at your problem.
If you are having issues in a docker setup, you can try to re-build the docker image:
If the problem persists, you should contact us for help.