title: How to solve "exec: \"Python\": executable file not found in $PATH": unknown. for simple python script on AWS
body: <p>I've tried things on the previous questions but none have seemed to work.</p>
  <p>When I try to run docker container I receive this error:</p>
  <pre><code>docker run ....dkr.ecr.us-west-2.amazonaws.com/....(omitting some information here)        
  docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused &quot;exec: \&quot;Python\&quot;: executable file not found in $PATH&quot;: unknown.
  </code></pre>
  <p>The file exists in the specified path.</p>
  <p>Installable</p>
  <pre><code>    python-socketio==4.6.0
      fxcmpy==1.2.6
      pandas==1.0.5
      joblib==0.16.0
      DateTime==4.3
      schedule==0.6.0
      matplotlib==3.3.0
      numpy==1.19.1
      scipy==1.5.1
      scikit-learn==0.23.1
  </code></pre>
  <p>docker file:</p>
  <pre><code>    FROM python:3
  
      WORKDIR /usr/src/app
  
      COPY Final_Classifier_KNN_N=4.pkl .
      COPY my_functions.py .
      COPY KNN_FXCM_ALGO.py .
      COPY installables.txt .
  
      RUN pip install --no-cache-dir -r installables.txt 
  
      CMD [ &quot;Python&quot;, &quot;./KNN_FXCM_ALGO.py&quot; ]
  </code></pre>
  <p>I have tried to run this container using these commands:</p>
  <pre><code>- docker run .dkr.ecr.us-west-2.amazonaws.com/
  - docker run -ti .dkr.ecr.us-west-2.amazonaws.com/
  - docker run python3 .dkr.ecr.us-west-2.amazonaws.com/
  </code></pre>
  <p>Any help would be appreciated</p>