microsoft / FLAML

A fast library for AutoML and tuning. Join our Discord: https://discord.gg/Cppx2vSPVP.
https://microsoft.github.io/FLAML/
MIT License
3.91k stars 508 forks source link

Examples: Time series forecasting - ModuleNotFoundError #201

Closed JosephKarpinski closed 3 years ago

JosephKarpinski commented 3 years ago

Python 3.8.5 Examples URL https://github.com/microsoft/FLAML ModuleNotFoundError: No module named 'prophet'

See attached

Screen Shot 2021-09-11 at 11 01 52 AM Screen Shot 2021-09-11 at 11 02 38 AM Screen Shot 2021-09-11 at 11 04 43 AM Screen Shot 2021-09-11 at 11 05 17 AM
sonichi commented 3 years ago

Does pip install flaml[forecast] succeed?

JosephKarpinski commented 3 years ago

No

Output

zsh: no matches found: flaml[forecast]

Sent from my iPhone

On Sep 11, 2021, at 12:17 PM, Chi Wang @.***> wrote:



Does pip install flaml[forecast] succeed?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/FLAML/issues/201#issuecomment-917432759, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AI3HMIBIGG4B6FKVWGOE343UBN6KDANCNFSM5D3BRRFA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

JosephKarpinski commented 3 years ago

Got it.

zsh uses square brackets for glowing/pattern matching. That means that if you need to pass literal square brackets as an argument to a command, you either need to escape them or quit the argument

pip install 'flame[forecast]'

Same issue for notebook

pip install 'flam[notebook]'

JosephKarpinski commented 3 years ago

Well pip install 'flame[forecast]' just moved the problem further down the chain to matplotlib. Tried to uninstall/install marplotlib but can't get by the new error See attached below

Screen Shot 2021-09-11 at 1 37 42 PM Screen Shot 2021-09-11 at 1 38 34 PM Screen Shot 2021-09-11 at 1 38 59 PM Screen Shot 2021-09-11 at 1 39 20 PM Screen Shot 2021-09-11 at 1 39 42 PM
sonichi commented 3 years ago

my prophet and matplotlib version: prophet 1.0.1 matplotlib 3.2.0

JosephKarpinski commented 3 years ago

My versions are similar. Unable to upgrade to prophet 1.0.1 with Python 3.8.5

Screen Shot 2021-09-12 at 9 00 26 AM Screen Shot 2021-09-12 at 9 03 47 AM
JosephKarpinski commented 3 years ago

Of course now the issue has cleared. Guessing running the setup for one of the other example fixed the issue. Closing

Screen Shot 2021-09-12 at 9 09 51 AM Screen Shot 2021-09-12 at 9 09 17 AM