最近、Let’s Encrypt を使用して Web サイトの 1 つを保護する作業をしていましたが、「 ./letsencrypt-auto 」の実行中に次のエラーが発生しました。
Checking for new version...
Creating virtual environment...
./letsencrypt-auto: line 455: virtualenv: command not found
それは DigitalOcean でホストされている CentOS 6.7 上にありました。これが私が修正した方法です。
root 権限があることを確認して、次のコマンドを実行します。
yum install centos-release-SCL
yum update
yum install scl-utils python27 python27-scldevel
scl enable python27 bash
その後、Let’s Encrypt のセットアップを続行することができました。
参考: https://community.letsencrypt.org/t/solved-virtualenv-command-not-found/2127/8






![2021 年に Raspberry Pi Web サーバーをセットアップする方法 [ガイド]](https://i0.wp.com/pcmanabu.com/wp-content/uploads/2019/10/web-server-02-309x198.png?w=1200&resize=1200,0&ssl=1)





