Python, Virtualenv and Nikola (on Windows 10)

1. Install python

https://www.python.org/downloads/release/python-396/

I used

Windows installer (64-bit)

https://www.python.org/ftp/python/3.9.6/python-3.9.6-amd64.exe

and installed to c:\Python39

2. Use python virtual environments

this keeps clutter out of the virgin python install

check version is currently available

virtualenv –version

(install if necessary)

I have installed virtual environments in to the directory

D:\MYWEB\VirtualEnvs

3. Create a virtual environment for Nikola

virtualenv NikolaPages

4. add Nikola package

cd NikolaPages

.\Scripts\activate

check pip is up to date

python -m pip install –upgrade pip

install Nikola package

pip install –upgrade “Nikola[extras]”

check its installed the package

nikola –version