How to uninstall Python and all packages

前端 未结 1 1393
耶瑟儿~
耶瑟儿~ 2021-02-09 16:11

I wish to uninstall Python 2.7 and all packages connected to it. I initially installed Python from the official website and I installed all packages using the pip install comman

1条回答
  •  梦毁少年i
    2021-02-09 16:54

    If you uninstall from the control panel, it should remove all packages with it. To ensure that your path doesn't contain your old python when you try and use anaconda, you should remove Python from your path. In windows 10:

    1. From desktop go bottom left and find the menu.
    2. Click system, then Advanced System Settings
    3. In this window, go to the Advanced tab and click on the environment variables button.
    4. From there you can edit your Path, with the edit button.
    5. Make sure there is no reference to Python here. Also, all variables are separated by a ; so make sure all syntax is good before saving.
    6. Install anaconda and at the end of the install it should ask if you want to make it the default Python. Say yes and every time you or another program asks for Python, it will get pointed to anaconda.

    0 讨论(0)
提交回复
热议问题