Antificial is a real-time swarm simulation framework with real-time user interaction.
It is recommended to use virtualenv with this project.
$ git clone https://github.com/Antificial/antificial.git
$ cd antificial
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ cd antificial/
$ python main.py
This likely occurs after trying to install the requirements through pip. Please pip install Cython and then try again.
Likely occurs after trying to start the program for the first time. Sometimes when creating a virtual environment, python does not copy the link to OpenCV, so it has to be done manually afterwards. The original link can be found in the site-packages of the respective original python installation, e.g. /usr/local/lib/python3.6/site-packages/cv2.so.
To re-establish the link in the virtual environment, simply copy the link into it like this, then run the program again:
cp /usr/local/lib/python3.6/site-packages/cv2.so venv/lib/python3.6/site-packages/cv2.so.
This is due to recent changes in Cython and Kivy. Installing the master version (1.10.1.dev0) fixes the error:
pip install https://github.com/kivy/kivy/archive/master.zip
Numpy wasn't installed correctly. This can be fixed by manually installing numpy:
pip install numpy
- see LICENSE file
- Version 1.0
- see USAGE file
