简体   繁体   English

我无法安装 Urllib 模块所有其他模块都可以轻松安装,但这给了我错误

[英]I Cannot install Urllib Module all other modules can be installed easily but this gave me error

I am using Version 3.9.0 and also 3.8.5 for some tests i am a begginer with 6 months experience.我正在使用版本 3.9.0 和 3.8.5 进行一些测试,我是一个有 6 个月经验的初学者。 Anyone can pls help me Thank you in advance, And i saw this urllib.request module fails to install in my system but then it kept going.任何人都可以帮助我提前谢谢你,我看到这个urllib.request 模块无法安装在我的系统中,但它继续运行。

在此处输入图像描述

You can use it without installing it.您无需安装即可使用它。 Can you please try this:你能试试这个:

from urllib.request import urlopen
html = urlopen("http://www.google.com/").read()
print(html)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如果我使用pip安装模块,如何确保其他人可以在不安装该模块的情况下运行我的程序? - If I install modules with pip, how can I make sure other people can run my program without having that module installed? 无法安装已安装Anaconda的模块 - Cannot install modules with anaconda installed 为什么即使我安装了 setuptools,`pip install -e` 也会给我一个“没有名为 'setuptools' 的模块”错误? - Why does `pip install -e` give me a "no module named 'setuptools'" error even though I have setuptools installed? 为什么会出现错误:没有名为“ urllib.request.urlretrieve”的模块; 'urllib.request'不是一个软件包 - Why it gives me the error: No module named 'urllib.request.urlretrieve'; 'urllib.request' is not a package 如何打包和分发python程序(.py源代码),以便其他开发人员可以轻松安装所有必需的依赖项? - How to pack and distribute python program (.py source code) so that other developers can easily install all required dependencies? 如何在 Python 中轻松检查一个列表中的所有项目都包含在另一个列表中? - How can I easily check in Python that all items in one list are included in the other list? 没有名为 urllib.parse 的模块(我应该如何安装它?) - no module named urllib.parse (How should I install it?) 如何在 python 中安装 plyer 库? 我已经安装了 plyer 模块,仍然收到“没有模块错误” - how to install plyer library in python? i have already installed plyer module , still am getting "no module error" 它给我一个模块未找到错误但它已安装但是如果我运行不同的代码它不会给出错误 - Its giving me a module not found error but its installed but if i run a different code it does not give a error 它说我的笔记本电脑中安装了 pip,但无法下载其他模块 - It says pip is installed in my laptop, but it cannot download other modules
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM