-
Clone the repo and cd into it.
-
Create and activate a new virtual environment:
python3 -m venv nqueens
- linux:
source nqueens/bin/activate
- windows:
\nqueens\bin\activate
-
Install dependencies:
- if you want to use the jupyter notebook,
pip install -r jupyter_requirements.txt
- if you just want to run the script via the command line,
pip install -r requirements.txt
- if you want to use the jupyter notebook,
-
Running the script
jupyter notebook nqueens_demo.ipynb
python3 nqueens_constraint.py