mandiant / flare-vm

A collection of software installations scripts for Windows systems that allows you to easily setup and maintain a reverse engineering environment on a VM.
Apache License 2.0
6.37k stars 900 forks source link

Python installation broken after update #40

Closed iphelix closed 6 years ago

iphelix commented 6 years ago

Python installer forces installation to C:\PythonXX and does not detect an existing path. As a result, an existing installation of Python installed in C:\Program Files\PythonXX gets broken after an update.

A temporary fix is to reinstall python manually in the expected C:\Program Files\PythonXX path and rerun pip installer if necessary with

python -ensurepip

iphelix commented 6 years ago

I have forked python2 installer to install itself into the Program Files directory. If you have ran into this issue after an update where installed packages stopped working (e.g. FLOSS, Fakenet-NG) please execute the following commands as Administrator:

cuninst -f python2 cinst python2