Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'nhentai' is not recognized as an internal or external command. #315

Closed
UVladM opened this issue May 16, 2024 · 4 comments
Closed

'nhentai' is not recognized as an internal or external command. #315

UVladM opened this issue May 16, 2024 · 4 comments

Comments

@UVladM
Copy link

UVladM commented May 16, 2024

Screenshot 2024-05-16 050010
Problems with the pip version of the install.
Best way to fix is downgrade to version 0.4.18, then copy the py file out of path, then upgrade, and replace it

Just dealt with this tonight, still looking for better solutions as this script fails to handle the mirror.

@hanabate
Copy link

hanabate commented Sep 4, 2024

Good evening, can I ask you how you fixed that and how to downgrade please?

@ExtremeCaliber
Copy link

Good evening, can I ask you how you fixed that and how to downgrade please?

figured out what he meant, so first you downgrade your version using pip install nhentai==0.4.18 then navigate to where your scripts python folder is located, in my case it was "C:\Users\XXXX\AppData\Local\Programs\Python\Python312\Scripts". Copy the nhentai.exe, then upgrade your nhentai again with pip install --upgrade nhentai. Replace the nhentai.exe file back into the scripts folder, and now it should work, even with the gui.

@LabAviator
Copy link

LabAviator commented Sep 5, 2024

Good evening, can I ask you how you fixed that and how to downgrade please?

figured out what he meant, so first you downgrade your version using pip install nhentai==0.4.18 then navigate to where your scripts python folder is located, in my case it was "C:\Users\XXXX\AppData\Local\Programs\Python\Python312\Scripts". Copy the nhentai.exe, then upgrade your nhentai again with pip install --upgrade nhentai. Replace the nhentai.exe file back into the scripts folder, and now it should work, even with the gui.

This does not seem to fix the issue for me sadly.

Using this method I get a quite different error, but an error nontheless:
Screenshot 2024-09-05 214943

@Wolf0006
Copy link

Good evening, can I ask you how you fixed that and how to downgrade please?

figured out what he meant, so first you downgrade your version using pip install nhentai==0.4.18 then navigate to where your scripts python folder is located, in my case it was "C:\Users\XXXX\AppData\Local\Programs\Python\Python312\Scripts". Copy the nhentai.exe, then upgrade your nhentai again with pip install --upgrade nhentai. Replace the nhentai.exe file back into the scripts folder, and now it should work, even with the gui.

I followed your instuctions but accidentally deleted the nhentai.exe script. Now when I uninstall nhentai and even whole python and install it all back again, I still don't have nhentai.exe. It won't appear again. How can I get it back?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants