asweigart/pyinputplus

pyinputplus issue

Ruby-Newbie-85 opened this issue · 2 comments

Hi,

I am using Windows 10 64bit
I also pip installed pyinputplus in command prompt
I am in 3.7.9 virtual environment

code:
import pyinputplus as pyip

response = ('Enter a number: ')

Error message:
import pyinputplus as pyip
ModuleNotFoundError: No module named 'pyinputplus'

any suggestions would be much appreciated

I'm running into the exact same issue. In editors, I get the error
ModuleNotFoundError: No module named 'pyinputplus'

However, using IDLE everything works as expected.
Was this issue resolved?

in my case, I figured out that the Python interpreter used in the code editor tool (vs code) was different. Once I chose the correct interpreter, everything worked like magic. :)
I hope this is helpful @Ruby-Newbie-85