Search code examples
pythonscipystatistics-bootstrapscipy.stats

scipy.stats.bootstrap not importing, python


I have tried pip install scipy and everything appears fine, going through the path I opened the files and couldn't find any mention of the bootstrap library despite it being on their website: https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.bootstrap.html

After looking on Github https://github.com/scipy/scipy/blob/master/scipy/stats/_bootstrap.py I can see there was an update 5 days ago although I last ran the code three days ago with no issues

Error Message


Solution

  • I had this issue and solved it by re-installing the scipy package with pip install -U scipy in order to upgrade to version 1.7