[GH-ISSUE #3] problem in running git-story #3

Closed
opened 2026-03-02 16:46:50 +03:00 by kerem · 12 comments
Owner

Originally created by @binayakbishnu on GitHub (Jul 19, 2022).
Original GitHub issue: https://github.com/initialcommit-com/git-story/issues/3

Originally assigned to: @initialcommit-io on GitHub.

'git-story' is not recognized as an internal or external command,
operable program or batch file.

Installation has been correct
image

Originally created by @binayakbishnu on GitHub (Jul 19, 2022). Original GitHub issue: https://github.com/initialcommit-com/git-story/issues/3 Originally assigned to: @initialcommit-io on GitHub. 'git-story' is not recognized as an internal or external command, operable program or batch file. Installation has been correct ![image](https://user-images.githubusercontent.com/71837066/179802521-4e0db916-316a-4f87-844e-a426e9b512a5.png)
kerem 2026-03-02 16:46:50 +03:00
Author
Owner

@initialcommit-io commented on GitHub (Jul 20, 2022):

Looks like you're on Windows. Can you let me know the version of Windows and the installation steps you used?

I'm wondering if maybe it got installed but not added to the PATH. Also, did you try closing and reopening the CMD Terminal after installation?

<!-- gh-comment-id:1189694009 --> @initialcommit-io commented on GitHub (Jul 20, 2022): Looks like you're on Windows. Can you let me know the version of Windows and the installation steps you used? I'm wondering if maybe it got installed but not added to the PATH. Also, did you try closing and reopening the CMD Terminal after installation?
Author
Owner

@binayakbishnu commented on GitHub (Jul 21, 2022):

  1. Windows 11
  2. I followed the steps mentioned: manim -> gitpython -> git-story
  3. What all do I need to add to PATH?
  4. Yep reopened CMD
<!-- gh-comment-id:1191016641 --> @binayakbishnu commented on GitHub (Jul 21, 2022): 1. Windows 11 2. I followed the steps mentioned: manim -> gitpython -> git-story 3. What all do I need to add to PATH? 4. Yep reopened CMD
Author
Owner

@initialcommit-io commented on GitHub (Jul 21, 2022):

Did you install on Windows subsystem for Linux? Or just regular Windows?

If on regular Windows, can you try locating the following folder and check to see if the "git-story" executable is in there?

C:\PythonXX\Scripts

It might not be in that exact location, but apparently, there should be a "Scripts" folder within your Python installation that is where the executables get put by default.

<!-- gh-comment-id:1191562167 --> @initialcommit-io commented on GitHub (Jul 21, 2022): Did you install on Windows subsystem for Linux? Or just regular Windows? If on regular Windows, can you try locating the following folder and check to see if the "git-story" executable is in there? `C:\PythonXX\Scripts` It might not be in that exact location, but apparently, there should be a "Scripts" folder within your Python installation that is where the executables get put by default.
Author
Owner

@binayakbishnu commented on GitHub (Jul 22, 2022):

Nope based on the above screenshot my packages get installed in C:\Users\......\AppData\Roaming\Python\Python310\site-packages

Do I have to somehow install git-story globally for it to work?

<!-- gh-comment-id:1192209121 --> @binayakbishnu commented on GitHub (Jul 22, 2022): Nope based on the above screenshot my packages get installed in C:\Users\\......\AppData\Roaming\Python\Python310\site-packages Do I have to somehow install git-story globally for it to work?
Author
Owner

@initialcommit-io commented on GitHub (Jul 22, 2022):

The site-packages folder contains the Python module, but the install process should also have created an executable file somewhere called git-story. That's what I was trying to ask about. Can you search your PC for a file called "git-story"? On Windows it is probably "git-story.exe".

I'm guessing it was created somewhere that is not on your PATH environment variable, so if we locate the directory it's in you can try adding it to your PATH environment variable.

<!-- gh-comment-id:1192725750 --> @initialcommit-io commented on GitHub (Jul 22, 2022): The `site-packages` folder contains the Python module, but the install process should also have created an executable file somewhere called `git-story`. That's what I was trying to ask about. Can you search your PC for a file called "git-story"? On Windows it is probably "git-story.exe". I'm guessing it was created somewhere that is not on your `PATH` environment variable, so if we locate the directory it's in you can try adding it to your PATH environment variable.
Author
Owner

@binayakbishnu commented on GitHub (Jul 22, 2022):

Couldn't find it anywhere apart from site-packages although I installed it.
There is a git_story.py but no git-story.exe.

image

<!-- gh-comment-id:1192754292 --> @binayakbishnu commented on GitHub (Jul 22, 2022): Couldn't find it anywhere apart from site-packages although I installed it. There is a git_story.py but no git-story.exe. ![image](https://user-images.githubusercontent.com/71837066/180486179-468dba7b-1208-4721-ad09-83079f35120b.png)
Author
Owner

@initialcommit-io commented on GitHub (Jul 22, 2022):

That's weird if the install was successful it should have created the executable somewhere. From some StackOverflow posts (https://stackoverflow.com/questions/46486236/python-execute-console-script-on-windows) it looks like it should be in a folder called "Scripts" within your Python home folder. Can you see if it exists in the these locations:

C:\Users\bishn\AppData\Roaming\Python\Scripts
or
C:\Users\bishn\AppData\Roaming\Python\Python310\Scripts

<!-- gh-comment-id:1192813218 --> @initialcommit-io commented on GitHub (Jul 22, 2022): That's weird if the install was successful it should have created the executable somewhere. From some StackOverflow posts (https://stackoverflow.com/questions/46486236/python-execute-console-script-on-windows) it looks like it should be in a folder called "Scripts" within your Python home folder. Can you see if it exists in the these locations: C:\Users\bishn\AppData\Roaming\Python\Scripts or C:\Users\bishn\AppData\Roaming\Python\Python310\Scripts
Author
Owner

@initialcommit-io commented on GitHub (Jul 22, 2022):

Actually, I think I found some threads that will help you, please check these out and let me know if you're able to resolve:

https://discuss.python.org/t/windows-appdata-roaming-vs-local/2682

https://github.com/pypa/pip/issues/7209

<!-- gh-comment-id:1192816272 --> @initialcommit-io commented on GitHub (Jul 22, 2022): Actually, I think I found some threads that will help you, please check these out and let me know if you're able to resolve: https://discuss.python.org/t/windows-appdata-roaming-vs-local/2682 https://github.com/pypa/pip/issues/7209
Author
Owner

@initialcommit-io commented on GitHub (Jul 25, 2022):

Did you get a chance to check these threads?

<!-- gh-comment-id:1194098607 --> @initialcommit-io commented on GitHub (Jul 25, 2022): Did you get a chance to check these threads?
Author
Owner

@binayakbishnu commented on GitHub (Jul 25, 2022):

I found git-story.exe
Now I just have to add the folder to PATH and run normally via project directory?

<!-- gh-comment-id:1194106645 --> @binayakbishnu commented on GitHub (Jul 25, 2022): I found git-story.exe Now I just have to add the folder to PATH and run normally via project directory?
Author
Owner

@initialcommit-io commented on GitHub (Jul 25, 2022):

Oh ok that's great - can you let me know the full path to the folder you found git-story.exe in? It might help someone in the future.

And yes, that's correct! Just make sure to close and repoen your terminal after making the environment variable change for it to take effect.

<!-- gh-comment-id:1194207135 --> @initialcommit-io commented on GitHub (Jul 25, 2022): Oh ok that's great - can you let me know the full path to the folder you found `git-story.exe` in? It might help someone in the future. And yes, that's correct! Just make sure to close and repoen your terminal after making the environment variable change for it to take effect.
Author
Owner

@binayakbishnu commented on GitHub (Jul 26, 2022):

Thank you @initialcommit-io
Here's the PATH I found it on: C:\Users\......\AppData\Roaming\Python\Python310\Scripts

<!-- gh-comment-id:1195139444 --> @binayakbishnu commented on GitHub (Jul 26, 2022): Thank you @initialcommit-io Here's the PATH I found it on: ```C:\Users\......\AppData\Roaming\Python\Python310\Scripts```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-story#3
No description provided.