0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【Ubuntu】BlenderのPythonにpipでパッケージを追加する方法

Last updated at Posted at 2022-07-15

方法

1. Blenderをダウンロード・インストール

以下のサイトからビルド済みのバイナリが入っているtar.xzをダウンロードし、任意の場所に展開。

  • 今回は/opt/blenderに展開
  • 記事執筆時のBlenderのバージョンは3.2
  • ターミナルで/opt/blender/blednerを実行するとBlenderが起動する

2. pipの導入

cd /opt/blender/3.2/python/bin
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
./python3.10 get-pip.py

3. パッケージ追加

cd /opt/blender/3.2/python/bin
./python3.10 -m pip install h5py # h5pyパッケージを追加したい場合
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?