Python Forum
windows update - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: windows update (/thread-13901.html)



windows update - EmilySenechal - Nov-06-2018

My laptop did a windows update the other day. Now my powershell won't notice the path to pyton. Has anyone else had this problem or knows how to fix it?
Thank you,
Emily S.


RE: windows update - Larz60+ - Nov-06-2018

It sounds like your path got mangled during the update.
Best choice is to reinstall python. Use the tutorial here:+
Part1: https://python-forum.io/Thread-Basic-Part-1-Python-3-6-and-pip-installation-under-Windows
part2: https://python-forum.io/Thread-Part-2-Python-environment-Windows


RE: windows update - pcsailor - Nov-06-2018


  1. Hit windows key
  2. Type 'envir'
  3. select "Edit the System Environmental Variables"
  4. Add the directory path to where your python installation folder is installed, your lib folder, etc. (Follow the video Larz posted for required dir's)


Phil


RE: windows update - Larz60+ - Nov-06-2018

Changing the environment is the way that I would do it, but be extremely careful as you can cause damage if you make a mistake. That's why I suggested re-installation. If you are comfortable with changing environment variables, then that's the quickest method.


RE: windows update - nilamo - Nov-06-2018

I think this might be an issue we'll see more often. When my computer did the October update, python's help() started throwing errors, saying man couldn't be found. Which confused me, because I wasn't on Linux, but it turned out that the Scripts directory was removed from my PATH. Python's folder was still there, so python launched normally, which really threw me for a loop lol


RE: windows update - EmilySenechal - Nov-07-2018

Thank you everyone for the help! It's working now. I'm happily back to coding and not cussing at my computer.