Troubles with Python imports
Terry Reedy
tjreedy at udel.edu
Tue Feb 9 12:23:17 EST 2021
On 2/9/2021 9:55 AM, Philipp Daher via Python-list wrote:
> Hello,
>
> I’ve just typed „pip install selenium“ into my command prompt on windows 10. Although my computer told me that the requirement was already satisfied, import selenium did not work. So I tried different methods to install it and typed „Python“ in my command prompt and imported selenium. It worked fine. Then, I typed it into my shell and got an error. Why is it working in the command prompt but not in the actual shell?
One common problem (and answer -- monthy on stackoverflow) is that you
have more than one python binary installed; do not have module xyz
installed for all of them; and are running different binaries to get the
different responses.
--
Terry Jan Reedy
More information about the Python-list
mailing list