さくらVPS AlmaLinux 4Gにembedchainをインストールする方法

ちなみにVPS1G、2Gはメモリが足りなくてインストール出来なかった。

anacondaをダウンロード

anacondaダウンロードページ
anacondaインストーラー

ダウンロードしたanacondaのインストーラーを対象サーバーにアップロード

インストーラーのモードを変更

chmod 755 Anaconda3-2023.03-1-Linux-x86_64.sh

anacondaのインストール

./Anaconda3-2023.03-1-Linux-x86_64.sh

Please, press ENTER to continue
>>>  ←enter
  ・
  ・
  ・
Do you accept the license terms? [yes|no]
[no] >>>  ←"yes" + enter
  ・
  ・
  ・
[/home/alma/anaconda3] >>>  ←enter
  ・
  ・
  ・
by running conda init? [yes|no]
[no] >>>  ←"yes" + enter
  ・
  ・
  ・
Thank you for installing Anaconda3!

シェルの再起動

conda自動起動OFF設定

conda config --set auto_activate_base false

conda起動
※初回は既に起動しているので必要なし

conda activate

pipのアップグレード

pip install --upgrade pip

gccのインストール

sudo dnf install gcc

gccのインストール確認

gcc --version

g++をインストール

sudo dnf install gcc-c++

embedchainをインストール

pip install embedchain

以下のエラーが表示されるが一応embedchainをインストール完了

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
spyder 5.4.1 requires pyqt5<5.16, which is not installed.
spyder 5.4.1 requires pyqtwebengine<5.16, which is not installed.
>pip list
Package                       Version
----------------------------- ---------------
embedchain                    0.0.18

返信を残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です