Hi Marin,
The Django documentation assumes that you are running on a Linux or
maybe MacOsX system.
if instead you are working on Windows none of the suggested commands
make sense.
if you are a Windows user (as it seems very likely) the simplest way
to install SpatiaLite is the following:
#1 dowload this pre-compiled package:
http://www.gaia-gis.it/gaia-sins/windows-bin-amd64/mod_spatialite-5.0.1-win-amd64.7z
#2 now you have just to inflate the 7z compressed file
you'll get a brand new folder containing a lot of DLLs
and a copy of the sqlite3.exe executable binary
#3 you are ready to start sqlite3 (just click on the exe icon)
#4 final step: you have to load SpatiaLite as an extension by
executing these SQL statements:
---------------------------
SQLite version 3.34.1 2021-01-20 14:10:07
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite> SELECT load_extension('mod_spatialite');
sqlite> SELECT spatialite_version();
5.0.1
sqlite>
---------------------------
note: the call to spatialite_version() is simply a check
to verify that the extension has been correctly loaded;
if you read the answer "5.0.1" it means that you are now
definitely ready to execute any Spatial function supported
by SpatiaLite
hint: I recommend you to read the most recent online
documentation about all Spatial SQL functions you can
find here:
https://www.gaia-gis.it/gaia-sins/spatialite-sql-5.0.1.html
bye Sandro