擅长:python、mysql、java
<p>这不起作用,因为您正在使用<code>Amazon Linux 2</code>,而下面的<strong>教程</strong>正在使用<code>Amazon Linux 1</code></p>
<p>要在创建Python环境时使用<code>Amazon Linux 1</code>,请选择:</p>
<pre><code>Python 3.6 running on 64bit Amazon Linux
</code></pre>
<p>请注意,AL2和AL1之间存在着巨大的差异,大多数涉及AL1的教程在AL2中不起作用</p>