mirror of
https://github.com/initialcommit-com/git-story.git
synced 2026-04-26 03:05:53 +03:00
[GH-ISSUE #3] problem in running git-story #3
Labels
No labels
enhancement
pull-request
subtype:install/build
subtype:install/build
subtype:install/build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/git-story#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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

@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?
@binayakbishnu commented on GitHub (Jul 21, 2022):
@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\ScriptsIt 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.
@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?
@initialcommit-io commented on GitHub (Jul 22, 2022):
The
site-packagesfolder contains the Python module, but the install process should also have created an executable file somewhere calledgit-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
PATHenvironment variable, so if we locate the directory it's in you can try adding it to your PATH environment variable.@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.
@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
@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
@initialcommit-io commented on GitHub (Jul 25, 2022):
Did you get a chance to check these threads?
@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?
@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.exein? 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.
@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