Fix 'ModuleNotFoundError: No module named 'requests'' on Mac
The error message suggests that the 'requests' module is not installed on your Mac.
To resolve this issue, you can install the 'requests' module by following these steps:
- Open a terminal on your Mac.
- Run the following command to install the 'requests' module using pip (Python package installer):
pip install requests
If you don't have pip installed, you can install it by following the instructions at https://pip.pypa.io/en/stable/installing/.
3. Wait for the installation to complete.
4. Once the installation is finished, you should be able to run your 'movie.py' script without encountering the 'ModuleNotFoundError'.
原文地址: https://www.cveoy.top/t/topic/pmvZ 著作权归作者所有。请勿转载和采集!