-
If you have
python
andpip
installed, you can skip this section. -
If not, install python from python.org. You can follow this guide for Windows. The suggested way is to follow the How to install from the full installer part. Please remember to check the option to add python to the PATH.
-
Open a
Windows Powershell
and typepython
. If you enter the python interactive python console everything is fine. If not, something is wrong and I suggest to redo the procedure. To exit the interactive windows just typequit()
. -
It is advised to install a Python IDE. Suggested is VSCode, but popular options are Spyder or PyCharm.
-
The installation of nazca and its requirements is managed by the package installer for Python
pip
program. In order to verify that you have it installed and working open aWindows Powersheel
and run:pip --version
If you see an output like this one:
pip 23.3.1 from C:\Users\Marco.Passoni\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip (python 3.11)
everything is ok and you can move forward.
-
Download the requirements file requirements.txt and the nazca installer from nazca-design.org.
-
Put both files in the same folder, then open a
Windows Powershell
in the same folder. -
Run the following commands to install the packages:
pip install -r requirements.txt pip install nazca-0.5.13.zip
-
In order to verify the package is accessible enter the python interactive console by typing
python
. Then run the following command:import nazca
If you see this output:
INFO: index.py: Index models version: 0.5.13
everything is ok.
- Go to the Download section of Klayout website.
- Download the version compatible with your operating system and install it (for windows select 64bit installer).
- Install it following the guided procedure.
The training will make use of the file contained in nazca_training.zip.