Fixed issue that new python packages interfere with system python; fixed some bugs