I use Windows 7 32 bit and Python 3.7.
I was trying to install a module with pip and this error came up:
cd C:\Windows\System32
pip install pyttsx3
Output:
Traceback (most recent call last):
File "d:\python\python 3.7\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "d:\python\python 3.7\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "D:\Python\Python 3.7\Scripts\pip.exe\__main__.py", line 5, in <module>
ModuleNotFoundError: No module named 'pip'
How can I fix this?
Make sure you have python path added to the PATH variable. Then run
python -m ensurepip
Could you try?
pip3 install pyttsx3
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With