philipperemy / n-beats

Keras/Pytorch implementation of N-BEATS: Neural basis expansion analysis for interpretable time series forecasting.
MIT License
860 stars 165 forks source link

No module named 'nbeats_keras' #66

Closed shathaa1983 closed 2 years ago

shathaa1983 commented 2 years ago

I downloaded the requirement library pip install nbeats-keras, but when I tried to import it, this error appeared No module named 'nbeats_keras'.

Any help with this issue? Thanks

philipperemy commented 2 years ago

@shathaa1983 did the pip install work?

virtualenv -p python3.10 venv && source venv/bin/activate
pip install nbeats-keras
python -c "from nbeats_keras.model import NBeatsNet as NBeatsKeras"

Works for me. Are you running on a New MacBook M1?