'hypergan' is not recognized as an internal or external command
I installed all of hypergan's requirements and did pip3 install hypergan in cmd. No errors. I even tried adding C:\Users\[user]\AppData\Local\Programs\Python\Python37\Lib\site-packages\hypergan to PATH. Everytime I use hypergan in command prompt, I get the error 'hypergan' is not recognized as an internal or external command, operable program or batch file.
Screenshot of error: https://i.imgur.com/bQP3aGy.png
OS: Windows 10
Any help is greatly appreciated.
Hi, it looks like the program is not in the path. I'm not sure why this is (we develop on linux) but windows support is top of the list after multi gpu support. I will tag this/similar tickets with 'windows support'. Our windows installer will resolve this.
it was probably due to removal of hypergan.cmd that exist on version 0.10 https://github.com/HyperGAN/HyperGAN/tree/0.10.1/bin
Good catch! This was a mistake so I've re-added the hypergan.cmd and re-released a new pip package.
Hi, I've just installed HyperGAN today on Windows and I'm getting the same error. I used pip3 install hypergan and it installed the latest version with no issues. However, running hypergan train preset:celeba -s 128x128x3 to test it out gives the same error. Is there something that needs to be fixed or am I doing something wrong? Thanks!
Same for me doesn't work
Running pip3 install hypergan on PowerShell as administrator seems to have solved this. However, when I run hypergan this "how do you wish to open this file" screen pops up

Same problem, renaming it to hypergan.py and running it with py hypergan.py makes it say hypergan is not a package
You need to add manually the "hypergan.cmd" file, that @IIIBlueberry mentioned, to the anaconda3\envs\YOUR ENVIRONMENT\Scripts folder (on Win10 and Anaconda).
For some reason, pip still does not add this file during installation both on Windows 10 and MacOS (at least on my friend's MacBook).
Hi, I've just installed HyperGAN today on Windows and I'm getting the same error. I used
pip3 install hyperganand it installed the latest version with no issues. However, runninghypergan train preset:celeba -s 128x128x3to test it out gives the same error. Is there something that needs to be fixed or am I doing something wrong? Thanks!
same exact problem. Just installed with pip. @Konradoslaw where do I find said cmd file?
You need to add manually the "hypergan.cmd" file, that @IIIBlueberry mentioned, to the anaconda3\envs\YOUR ENVIRONMENT\Scripts folder (on Win10 and Anaconda).
For some reason, pip still does not add this file during installation both on Windows 10 and MacOS (at least on my friend's MacBook).
also, that directory isn't familiar to me, I do not use anaconda. What is the parallel here?
Edit: I found something here: Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts but that seems different. Theres a "file" there called hypergan, 9KB, seems like the right thing without the .cmd extension
I've got the same exact problem as described here. I tried directly running the hypergan file in the directory, same error.
I've got the same exact problem as described here. I tried directly running the hypergan file in the directory, same error.
Hello! If you join the discord, I had a really helpful person send me their files and work me through it and I'm pretty sure the main problem was with dependencies. Try doing pip3 freeze and sending me the results.
You need to add manually the "hypergan.cmd" file, that @ IIIBlueberry mentioned, to the anaconda3\envs\YOUR ENVIRONMENT\Scripts folder (on Win10 and Anaconda).
For some reason, pip still does not add this file during installation both on Windows 10 and MacOS (at least on my friend's MacBook).
I have the same problem, how do I add hypergan.cmd? I am almost completely lost on how to solve this issue.
bump still not working a year later
bump, still not working.