简体   繁体   中英

undo git commit for an package installed via pip

I've installed keras using pip install , and currently running the newest version of it.. I currently seem to have a problem, that seem to be caused by a recent commit , and the solution seem to be git revert that commit. Since i haven't cloned the git repository, but just pip install keras how do i then revert it back to a state in which the commit has not been done?

There are many versions currently hosted at PyPI . Install the previous one. The lates is 2.0.6, so try 2.0.5:

pip install -U Keras==2.0.5

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM