Error installing FB Prophet

Options
pkansal
pkansal Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Registered Posts: 23 ✭✭✭✭

I am getting following error when trying to update my env with prophet package from Facebook:

File "/dss/data/dataiku/python-3.6.8/lib/python3.6/bz2.py", line 23, in <module> from _bz2 import BZ2Compressor, BZ2Decompressor ModuleNotFoundError: No module named '_bz2' ---------------------------------------- ERROR: Failed building wheel for prophet Running setup.py install for prophet: started ERROR: Command errored out with exit status 1:

Answers

  • tgb417
    tgb417 Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Neuron 2020, Neuron, Registered, Dataiku Frontrunner Awards 2021 Finalist, Neuron 2021, Neuron 2022, Frontrunner 2022 Finalist, Frontrunner 2022 Winner, Dataiku Frontrunner Awards 2021 Participant, Frontrunner 2022 Participant, Neuron 2023 Posts: 1,595 Neuron
    edited July 17
    Options

    @pkansal

    I believe that I have successfully used FB profit with DSS. It has been a while.


    My guess is that your host environment is missing some type of library needed to install FB profit.

    You might checkout this rather old post

    https://stackoverflow.com/questions/12806122/missing-python-bz2-module

    that suggests the following for Ubuntu/Debian:

    sudo apt-get install libbz2-dev

    Note: I’ve not tried this recently. Have a backup and go with care.

    Do let’s us know how you are getting with your install. This could be helpful to others in the community.

Setup Info
    Tags
      Help me…