Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/290.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python ModuleNotFoundError:没有名为';pyinputplus';_Python_Google Colaboratory - Fatal编程技术网

Python ModuleNotFoundError:没有名为';pyinputplus';

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语句之前添加“!”。这将帮助您从笔记本上运行终端命令好的,为什么您认为它应该能够找到模块?是的,它

当我尝试在GoogleColab中运行此代码时,它显示模块未找到错误。 这是我的密码

   import pyinputplus as pyip

   response = pyip.inputNum('Enter num: ')

我认为您可能需要在google colab中安装PyInputPlus。您可以使用此
在google colab中安装!pip安装PyInputPlus
。您需要在pip语句之前添加“!”。这将帮助您从笔记本上运行终端命令

好的,为什么您认为它应该能够找到模块?是的,它正在工作。我以为谷歌已经有了所有的图书馆…谢谢