Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 2
    What's the significance of python -m? What does that do? Commented Aug 26, 2020 at 0:08
  • 1
    To make sure you use the same Python version for pip and your script. See snarky.ca/why-you-should-use-python-m-pip
    – Hugo
    Commented Aug 27, 2020 at 3:36
  • 1
    This did not work in my case, the root cause was the missing libraries as per vikas Tikoo's answer. Commented Oct 7, 2022 at 12:22