title: pip install pyodbc is not working on python
body: <p>I installed Python on my Windows 10 computer</p>
  <p>when I try to run my python code</p>
  <p>I get error</p>
  <blockquote>
  <p>ModuleNotFoundError: No module named 'pyodbc'</p>
  </blockquote>
  <p>I checked multiple questions here and the solution is to pip pyodbc</p>
  <p>I tried that</p>
  <pre><code>pip install pyodbc
  </code></pre>
  <p>but i get error</p>
  <blockquote>
  <p>SyntaxError: invalid syntax</p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/oyPC2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oyPC2.png" alt="enter image description here" /></a></p>
  <p>I checked similar propblems here and it seems that <strong>pip</strong> is not installed.</p>
  <p>I unistalled and reinstalled python from <strong>python.org</strong> and still same issue!</p>
  <p>any solution?</p>
  <p><strong>Edit</strong></p>
  <p>I did as suggested to try from command prompt</p>
  <p>but still same error</p>
  <p><a href="https://i.stack.imgur.com/7pLxW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7pLxW.png" alt="enter image description here" /></a></p>
  <p>I installed Python with ticking the option to include environment variables option.</p>
  <p><strong>Edit 2 :</strong></p>
  <p>I think the problem was that I was trying to install from witthin python.</p>
  <p>I misunderstood the answers, I have to run pip as an application outside of python. to allocate pop.exe and then do pip install.</p>