Google Colab 上でbaselines をインポートすると、次のようなエラーが出ます。
python3
1import baselines
<エラーメッセージ>
<br> 試してみたこと。 ```ここに言語を入力 !pip install baselines import baselines ``` **<エラーメッセージ>** > ...中略... > Failed building wheel for mpi4py > ...中略... > Failed building wheel for mujoco-py > ...中略... > Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-cppinopa/mpi4py/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-jy44gmj0/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-cppinopa/mpi4py/ > --------------------------------------------------------------------------- > ModuleNotFoundError Traceback (most recent call last) > <ipython-input-10-7dfa8af00785> in <module>() > 1 get_ipython().system('pip install baselines') > ----> 2 import baselines > > ModuleNotFoundError: No module named 'baselines' > > --------------------------------------------------------------------------- > 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. > ---------------------------------------------------------------------------No module named 'baselines'
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。