LoginSignup
1
0

More than 1 year has passed since last update.

Amazon Linux2にPython 3.10をインストールした時のメモ

Posted at

opensslは1.1.1にあげないとインストール後にpipで何かインストールしようとしたときに
SSLのエラーが出た。色々調べた結果、openssl-develを消して、openssl11とopenssl11-develを
入れるとよいというのを見つけて試したらうまくいった。

sudo yum remove -y openssl-devel
sudo yum install -y openssl11 openssl11-devel

wget -c https://www.python.org/ftp/python/3.10.4/Python-3.10.4.tar.xz
tar -Jxvf Python-3.10.4.tar.xz
cd Python-3.10.4
./configure --enable-optimizations
make
sudo make install
cd
python3.10 -m venv py310
source ~/py310/bin/activate
1
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
1
0