saimn / sigal

yet another simple static gallery generator
http://sigal.saimon.org/
MIT License
893 stars 170 forks source link

Sigal not found #486

Open in3aqk opened 1 year ago

in3aqk commented 1 year ago

Installed and the tried also to upgrade sigal on a windows machine. But Sigal is not found:

`c:\Python39\Lib\site-packages\sigal>python -m pip install --upgrade sigal WARNING: Ignoring invalid distribution -igal (c:\users\paolo\appdata\roaming\python\python39\site-packages) WARNING: Ignoring invalid distribution -p (c:\python39\lib\site-packages) WARNING: Ignoring invalid distribution -ip (c:\python39\lib\site-packages) WARNING: Ignoring invalid distribution - (c:\python39\lib\site-packages) WARNING: Ignoring invalid distribution -igal (c:\users\paolo\appdata\roaming\python\python39\site-packages) WARNING: Ignoring invalid distribution -p (c:\python39\lib\site-packages) WARNING: Ignoring invalid distribution -ip (c:\python39\lib\site-packages) WARNING: Ignoring invalid distribution - (c:\python39\lib\site-packages) Requirement already satisfied: sigal in c:\python39\lib\site-packages (2.3) Requirement already satisfied: natsort in c:\python39\lib\site-packages (from sigal) (8.1.0) Requirement already satisfied: Pillow>=4.0.0 in c:\python39\lib\site-packages (from sigal) (9.4.0) Requirement already satisfied: Jinja2>=2.7 in c:\users\paolo\appdata\roaming\python\python39\site-packages (from sigal) (3.0.3) Requirement already satisfied: pilkit in c:\users\paolo\appdata\roaming\python\python39\site-packages (from sigal) (2.0) Requirement already satisfied: Markdown in c:\users\paolo\appdata\roaming\python\python39\site-packages (from sigal) (3.3.6) Requirement already satisfied: click in c:\users\paolo\appdata\roaming\python\python39\site-packages (from sigal) (8.0.3) Requirement already satisfied: blinker in c:\users\paolo\appdata\roaming\python\python39\site-packages (from sigal) (1.4) Requirement already satisfied: MarkupSafe>=2.0 in c:\users\paolo\appdata\roaming\python\python39\site-packages (from Jinja2>=2.7->sigal) (2.0.1) Requirement already satisfied: colorama in c:\users\paolo\appdata\roaming\python\python39\site-packages (from click->sigal) (0.4.4) Requirement already satisfied: importlib-metadata>=4.4 in c:\users\paolo\appdata\roaming\python\python39\site-packages (from Markdown->sigal) (4.11.1) Requirement already satisfied: zipp>=0.5 in c:\users\paolo\appdata\roaming\python\python39\site-packages (from importlib-metadata>=4.4->Markdown->sigal) (3.7.0) WARNING: Ignoring invalid distribution -igal (c:\users\paolo\appdata\roaming\python\python39\site-packages) WARNING: Ignoring invalid distribution -p (c:\python39\lib\site-packages) WARNING: Ignoring invalid distribution -ip (c:\python39\lib\site-packages) WARNING: Ignoring invalid distribution - (c:\python39\lib\site-packages) WARNING: Ignoring invalid distribution -igal (c:\users\paolo\appdata\roaming\python\python39\site-packages) WARNING: Ignoring invalid distribution -p (c:\python39\lib\site-packages) WARNING: Ignoring invalid distribution -ip (c:\python39\lib\site-packages) WARNING: Ignoring invalid distribution - (c:\python39\lib\site-packages) WARNING: Ignoring invalid distribution -igal (c:\users\paolo\appdata\roaming\python\python39\site-packages) WARNING: Ignoring invalid distribution -igal (c:\users\paolo\appdata\roaming\python\python39\site-packages)

c:\Python39\Lib\site-packages\sigal>sigal 'sigal' is not recognized as an internal or external command, operable program or batch file.`

C:\Users\paolo\Pictures\website>cd C:\Users\paolo\Pictures\website

C:\Users\paolo\Pictures\website>sigal 'sigal' is not recognized as an internal or external command, operable program or batch file.

C:\Users\paolo\Pictures\website>

saimn commented 1 year ago

I never tried on Windows, so cannot really help sorry. This seems a bit weird:

WARNING: Ignoring invalid distribution -igal (c:\users\paolo\appdata\roaming\python\python39\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python39\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python39\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python39\lib\site-packages)
WARNING: Ignoring invalid distribution -igal (c:\users\paolo\appdata\roaming\python\python39\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python39\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python39\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python39\lib\site-packages)
WARNING: Ignoring invalid distribution -igal (c:\users\paolo\appdata\roaming\python\python39\site-packages)
WARNING: Ignoring invalid distribution -igal (c:\users\paolo\appdata\roaming\python\python39\site-packages)

Also here sigal seems already installed:

 Requirement already satisfied: sigal in c:\python39\lib\site-packages (2.3)

but when you run pip install it creates a script somewhere in your $PATH. Can you uninstall and re-install with pip install sigal -v, and check the log to see where the script is installed ?

in3aqk commented 1 year ago

Unfortunately I'm also a Linux user, I use windows only for multimedia photos tasks, and in this case trying sigal. Six months ago I was able to use Sigal and I had the same problem! But at the moment I don't remember the recipe!

sean-hammon commented 3 weeks ago

Two years later, but if anyone else lands here make sure %APPDATA%\Python\Python{version}\Scripts is in your path. I have Python 3.1.2 installed so {version} is 312 (Python312).