Python ModuleNotFoundError:没有名为';pyinputplus';
当我尝试在GoogleColab中运行此代码时,它显示模块未找到错误。 这是我的密码Python ModuleNotFoundError:没有名为';pyinputplus';,python,google-colaboratory,Python,Google Colaboratory,当我尝试在GoogleColab中运行此代码时,它显示模块未找到错误。 这是我的密码 import pyinputplus as pyip response = pyip.inputNum('Enter num: ') 我认为您可能需要在google colab中安装PyInputPlus。您可以使用此在google colab中安装!pip安装PyInputPlus。您需要在pip语句之前添加“!”。这将帮助您从笔记本上运行终端命令好的,为什么您认为它应该能够找到模块?是的,它
import pyinputplus as pyip
response = pyip.inputNum('Enter num: ')
我认为您可能需要在google colab中安装PyInputPlus。您可以使用此
在google colab中安装!pip安装PyInputPlus
。您需要在pip语句之前添加“!”。这将帮助您从笔记本上运行终端命令好的,为什么您认为它应该能够找到模块?是的,它正在工作。我以为谷歌已经有了所有的图书馆…谢谢