run-jekyll-on-windows
run-jekyll-on-windows copied to clipboard
Windows restart is needed to enable the execution of the python command
So I just followed everything from the Syntax
page, but I was not able to execute the python
command from the command line. I browsed the Internet a bit and realized that the restart is needed to finish the process of adding Python to the path. This restart is not required by the Python installation, so I thought that it may be useful to include it here instead.
AFAIK, changes to environment vars like PATH are picked up even without a restart of the entire system; just open a new command line. Not sure however, if previously opened command line windows need to be closed beforehand. Will investigate.
Can you link to any of the resources you found while troubleshooting? And/or did you try restarting just the command line before trying a full reboot?
Can't guarantee, but I don't think I tried that. Anyway, I looked through my browsing history and here's what I came up with, so I just restarted it when I read the top answer: http://stackoverflow.com/questions/21372637/installing-python-2-7-on-windows-8
I just checked the Python documentation and it doesn't really say anything about restarting neither here nor here, so it looks like I was wrong and I only needed to restart my cmd
.
I don't know if this should be included or not, so I'll leave this issue opened for you to decide. Maybe it will be useful to add some sentence like this one:
Be sure to restart your command line if you already have it opened.
"previously opened command line windows need to be closed beforehand".
Yes, previously opened command line instances will not pick up the new PATH value. You have to close and open a new instance to get the new PATH value.