I made some changes to code that came from a package installed via pip. What will happen to those changes when I update the package? Will the changes be erased? Will the upgrade work properly?
The upgrade will probably not work properly; if it does, then it will just overwrite your changes.
Don't do it like this. If you need to make custom changes, fork the library itself - they're mostly on github these days - and install it directly from your fork with pip install -e
.
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.