1. PyStanがインポートできない
ちょうど今年の5月ごろ、こんな記事を書きました。
toeming.hatenablog.com
「何かと環境構築がダルいらしいPyStanだけど、Google Colaboratoryならわざわざinstallしなくてもpystanが使えちゃうよ」ってな記事だったのですが、その後異変が。
それは上記の記事のリリースから2ヶ月経った7月ごろ、久しぶりにpystanをいじろうと以下を実行したところ発生しました。
import pystan
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-3bed4a8a68f5> in <module>
1
----> 2 import pystan
ModuleNotFoundError: No module named 'pystan'
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------
いや、めちゃめちゃエラー出てるんだが。
続きを読む