Is there a way to rollback python packages' updates in PyCharm

Viewed 167

I am working on a project and it was working fine until I decided to update all the packages in my virtual environment of Pycharm. Now it's giving me error on the function that was working fine before. I'm getting

'SVC' object has no attribute '_probA'

on this line of code

pickle.loads(open(rec, "rb").read()).predict_proba(vec)[0]

Is there a way to rollback packages updates or what is the new attribute which will work?

1 Answers

Can you remove the package and reinstall? The installation screen gives you the option to 'Specify Version'. enter image description here

Related