Error installing FB Prophet

pkansal
Level 3
Error installing FB Prophet

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:

 

1 Reply
tgb417

@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. 

--Tom
0 Kudos