pip出现Remainder of file ignored错误,上网搜索不到答案

已经尝试过在网上搜索答案,但是没有找到合适的答案,希望能有大佬给我解惑,谢谢了

(base) C:\WINDOWS\system32>pip install --upgrade pip
Error processing line 7 of D:\Python-x\lib\site-packages\pywin32.pth:

  Traceback (most recent call last):
    File "D:\Python-x\lib\site.py", line 168, in addpackage
      exec(line)
    File "<string>", line 1, in <module>
  ModuleNotFoundError: No module named 'pywin32_bootstrap'

执行了pip-review --local --interactive命令之后就出现这种情况
虽然有这个显示 但是输入命令还是可以运行

iriswu18
iriswu18 同问,请问解决了吗?
12 天之前 回复
perseverance_wang
perseverance_wang 怎么解决啊?我也遇到了?
19 天之前 回复
perseverance_wang
perseverance_wang 你好,请问解决了吗?
19 天之前 回复

1个回答

# cmd中输入:
python -V
#得到python是哪个版本?

然后试试在pip之前加上 :

python -m pip install.......

这个安装方式通常比较“安全”,不容易报错

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
python pip导入包是出现错误
![图片说明](https://img-ask.csdn.net/upload/201911/27/1574785889_849707.png) 想用其他包..pyinstaller和opencv什么的 但是我用网上的代码pip这样的时候总是出错.. 想问问大佬们怎么解决??是不是我的pip安装有什么问题 直接输入pip也有问题也是zhe'y
pip 安装出现错误SSL,然后升级之后,又出现No module named _internal
windows 下,python2.7.5 pip 安装 beautifulsoup4 时 第一次没有成功,报的是 SSL 的错误 然后查了说是需要什么手动升级pip 之后就用这条指令 就出现这个错误了 查了说是,pip 包已经损坏 我在自己解压之后的pip包里面重新执行了python setup.py install, 问题还是没有解决 是要重新下载安装pip 吗? ``` E:\python2.7.5\Scripts> pip --trusted-host pypi.python.org install beautifulsoup4 Traceback (most recent call last): File "E:\python2.7.5\Scripts\pip-script.py", line 11, in <module> load_entry_point('pip==10.0.1', 'console_scripts', 'pip')() File "build\bdist.win32\egg\pkg_resources\__init__.py", line 476, in load_entry_point File "build\bdist.win32\egg\pkg_resources\__init__.py", line 2700, in load_entry_point File "build\bdist.win32\egg\pkg_resources\__init__.py", line 2318, in load File "build\bdist.win32\egg\pkg_resources\__init__.py", line 2324, in resolve ImportError: No module named _internal ``` 多谢各位了! 喜欢学python ,安装包的问题把自己给难住了
关于Mac下python pip版本问题以及pycharm安装python第三方库失败问题
我的电脑是mac 10.15版本 目前有两个python: 1. 系统自带Python 2.7.16 2. 自己安装python Python 3.7.3 在终端查询pip版本,结果是2.7的那个: pip 19.3.1 from /Library/Python/2.7/site-packages/pip (python 2.7) 查询pip3,结果显示错误: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 好像问题就是在这里,我在终端用 pip install 安装python第三方库的时候总会有问题,提示pip版本过低,我想更新pip又会失败;或者根本无法安装。 然后我就选择从pycharm上搜索第三方库并安装,奇怪的是有的库可以成功安装,有的库安装失败并提示说pip版本过低,让我尝试从终端安装,可是从终端安装的话又会遇到之前的问题。 请问这个该怎么解决?
[Python]为什么在win10系统中pip指令用不了?
**哪位大神能帮我解决一下?** 本人还是个小白,所以出现这个错误也不敢妄下断言。 ``` C:\Users\46000>pip Traceback (most recent call last): File "c:\program files\python38\lib\runpy.py", line 193, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\program files\python38\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Program Files\Python38\Scripts\pip.exe\__main__.py", line 9, in <module> TypeError: 'module' object is not callable ``` 为什么'module'对象不可调用? ![图片说明](https://img-ask.csdn.net/upload/202001/06/1578279867_896220.png)
python3.7配置了pip,安装3.7对应的pygame一直安装不成功显示找不到对应是什么问题?
如图一,python3.7配置了pip19.3.1,安装3.7对应的pygame一直安装不成功,提示找不到对应版本,求教下这个怎么解决?![图片说明](https://img-ask.csdn.net/upload/201912/02/1575216297_77750.png) 使用powershell配置,结果如下: ![图片说明](https://img-ask.csdn.net/upload/201912/02/1575216352_197983.png)
pip / conda install 报 SSLError
# 我想安装 pycurl 库一直报ssl的错 **安装其他库也报这个错 我python 和 anacoda 卸载重装还是这样** ![图片说明](https://img-ask.csdn.net/upload/201912/29/1577603682_113807.png) ![图片说明](https://img-ask.csdn.net/upload/201912/29/1577603787_388466.png) **网上查到说添加环境变量 添加了但还是不行** anacoda 安装文件夹是anacode (新建文件夹的时候打错了) Python 3.7.6 windows 10 系统 大佬们知道什么原因吗? ``` 错误文本: pip install pycurl WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Requirement already satisfied: pycurl in d:\anacode\lib\site-packages (7.43.0.3) WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping C:\Users\Enz>conda install scrapy Collecting package metadata (current_repodata.json): failed CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/current_repodata.json> Elapsed: - An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way. If your current network has https://www.anaconda.com blocked, please file a support request with your network engineering team. SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/main/win-64/current_repodata.json (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."))')) ```
pip install pycurl 成功 import pucurl 报错
![图片说明](https://img-ask.csdn.net/upload/201912/28/1577547546_810095.png) pip list 上已经安装了 但 import 找不到 有大佬知道这是什么问题吗?
pip install ipython 时出现什么编码解码的问题导致无法安装
``` (django_st) pyvip@VIP:~/django_st$ pip install ipython Looking in indexes: https://pypi.douban.com/simple Collecting ipython Downloading https://pypi.doubanio.com/packages/05/d7/77b7a1988c99227f52402f93fb0f7e88c97239960516f53907ebbc44149c/ipython-7.11.0-py3-none-any.whl (777kB) |████████████████████████████████| 778kB 1.4MB/s ERROR: Could not install packages due to an EnvironmentError: ('Received response with content-encoding: gzip, but failed to decode it.', error('Error -3 while decompressing data: incorrect header check',)) (django_st) pyvip@VIP:~/django_st$ python manage.py shell Python 3.6.9 (default, Nov 7 2019, 10:44:02) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. (InteractiveConsole) >>> exit() (django_st) pyvip@VIP:~/django_st$ sudo pip install ipython [sudo] pyvip 的密码: The directory '/home/pyvip/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/home/pyvip/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Requirement already satisfied: ipython in /usr/local/lib/python3.6/dist-packages Requirement already satisfied: decorator in /usr/local/lib/python3.6/dist-packages (from ipython) Requirement already satisfied: pickleshare in /usr/local/lib/python3.6/dist-packages (from ipython) Requirement already satisfied: traitlets>=4.2 in /usr/local/lib/python3.6/dist-packages (from ipython) Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in /usr/local/lib/python3.6/dist-packages (from ipython) Requirement already satisfied: pexpect; sys_platform != "win32" in /usr/lib/python3/dist-packages (from ipython) Requirement already satisfied: backcall in /usr/local/lib/python3.6/dist-packages (from ipython) Requirement already satisfied: pygments in /usr/local/lib/python3.6/dist-packages (from ipython) Requirement already satisfied: jedi>=0.10 in /usr/local/lib/python3.6/dist-packages (from ipython) Requirement already satisfied: setuptools>=18.5 in /usr/lib/python3/dist-packages (from ipython) Requirement already satisfied: six in /usr/lib/python3/dist-packages (from traitlets>=4.2->ipython) Requirement already satisfied: ipython-genutils in /usr/local/lib/python3.6/dist-packages (from traitlets>=4.2->ipython) Requirement already satisfied: wcwidth in /usr/local/lib/python3.6/dist-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython) Requirement already satisfied: parso>=0.5.2 in /usr/local/lib/python3.6/dist-packages (from jedi>=0.10->ipython) (django_st) pyvip@VIP:~/django_st$ ipython --version 7.11.0 (django_st) pyvip@VIP:~/django_st$ python manage.py shell Python 3.6.9 (default, Nov 7 2019, 10:44:02) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. (InteractiveConsole) >>> exit() ```
u盘里的python用不了pip?
我照网上的步骤把它安装在u盘里,测试过了,用得了。 但pip用不了。怎办? 报错为: ``` ModuleNotFoundError: No module named 'pip' H:\learn\python_01001》pip install Traceback (most recent call last): File "runpy.py", line 192, in _run_module_as_main File "runpy.py", line 85, in _run_code File "H:\learn\python_01001\Scripts\pip.exe\__main__.py", line 4, in <module> ModuleNotFoundError: No module named 'pip' ```
pip升级怎么提示这个 怎么 解决 老版本也删除了 我的是python 3.7
``` D:\python>python -m pip install --upgrade pip Collecting pip Downloading https://files.pythonhosted.org/packages/30/db/9e38760b32e3e7f40cce46dd5fb107b8c73840df38f0046d8e6514e675a1/pip-19.2.3-py2.py3-none-any.whl (1.4MB) 1% |▌ | 20kB 1.4kB/s eta 0:16:35Exception: Traceback (most recent call last): File "D:\python\lib\site-packages\pip\_vendor\urllib3\response.py", line 302, in _error_catcher yield File "D:\python\lib\site-packages\pip\_vendor\urllib3\response.py", line 384, in read data = self._fp.read(amt) File "D:\python\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py", line 60, in read data = self.__fp.read(amt) File "D:\python\lib\http\client.py", line 447, in read n = self.readinto(b) File "D:\python\lib\http\client.py", line 491, in readinto n = self.fp.readinto(b) File "D:\python\lib\socket.py", line 589, in readinto return self._sock.recv_into(b) File "D:\python\lib\ssl.py", line 1049, in recv_into return self.read(nbytes, buffer) File "D:\python\lib\ssl.py", line 908, in read return self._sslobj.read(len, buffer) socket.timeout: The read operation timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "D:\python\lib\site-packages\pip\_internal\basecommand.py", line 228, in main status = self.run(options, args) File "D:\python\lib\site-packages\pip\_internal\commands\install.py", line 291, in run resolver.resolve(requirement_set) File "D:\python\lib\site-packages\pip\_internal\resolve.py", line 103, in resolve self._resolve_one(requirement_set, req) File "D:\python\lib\site-packages\pip\_internal\resolve.py", line 257, in _resolve_one abstract_dist = self._get_abstract_dist_for(req_to_install) File "D:\python\lib\site-packages\pip\_internal\resolve.py", line 210, in _get_abstract_dist_for self.require_hashes File "D:\python\lib\site-packages\pip\_internal\operations\prepare.py", line 310, in prepare_linked_requirement progress_bar=self.progress_bar File "D:\python\lib\site-packages\pip\_internal\download.py", line 837, in unpack_url progress_bar=progress_bar File "D:\python\lib\site-packages\pip\_internal\download.py", line 674, in unpack_http_url progress_bar) File "D:\python\lib\site-packages\pip\_internal\download.py", line 898, in _download_http_url _download_url(resp, link, content_file, hashes, progress_bar) File "D:\python\lib\site-packages\pip\_internal\download.py", line 618, in _download_url hashes.check_against_chunks(downloaded_chunks) File "D:\python\lib\site-packages\pip\_internal\utils\hashes.py", line 48, in check_against_chunks for chunk in chunks: File "D:\python\lib\site-packages\pip\_internal\download.py", line 586, in written_chunks for chunk in chunks: File "D:\python\lib\site-packages\pip\_internal\utils\ui.py", line 159, in iter for x in it: File "D:\python\lib\site-packages\pip\_internal\download.py", line 575, in resp_read decode_content=False): File "D:\python\lib\site-packages\pip\_vendor\urllib3\response.py", line 436, in stream data = self.read(amt=amt, decode_content=decode_content) File "D:\python\lib\site-packages\pip\_vendor\urllib3\response.py", line 401, in read raise IncompleteRead(self._fp_bytes_read, self.length_remaining) File "D:\python\lib\contextlib.py", line 130, in __exit__ self.gen.throw(type, value, traceback) File "D:\python\lib\site-packages\pip\_vendor\urllib3\response.py", line 307, in _error_catcher raise ReadTimeoutError(self._pool, None, 'Read timed out.') pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. ```
问,u盘里的python用不了pip?
我照网上的步骤把它安装在u盘里,测试过了,用得了。 但pip用不了。怎办? 报错为: ``` H:\learn\python》pip install Traceback (most recent call last): File "runpy.py", line 192, in _run_module_as_main File "runpy.py", line 85, in _run_code File "H:\learn\python_01001\Scripts\pip.exe\__main__.py", line 4, in <module> ModuleNotFoundError: No module named 'pip' ```
TypeError: 'module' object is not callable cmd中pip无法使用?
C:\Users\lenovo>pip -version Traceback (most recent call last): File "c:\users\lenovo\appdata\local\programs\python\python38\lib\runpy.py", line 192, in _run_module_as_main ``` return _run_code(code, main_globals, None,"__main__", mod_spec) ``` File "c:\users\lenovo\appdata\local\programs\python\python38\lib\runpy.py", line 85, in _run_code ``` exec(code, run_globals) ``` File "C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts\pip.exe\__main.py", line 9, in ``` <module> ``` **TypeError: 'module' object is not callable** ![图片说明](https://img-ask.csdn.net/upload/201911/13/1573644096_292149.png) 我已经把网上所有的方法都试了, 设置添加路径 ![图片说明](https://img-ask.csdn.net/upload/201911/13/1573643660_888350.png) ![图片说明](https://img-ask.csdn.net/upload/201911/13/1573643548_640661.png) 我也重装了python 用python -m pip install -U pip 升级了pip (python -m pip可以使用) 都不行 到底怎么办啊!
python 用cmd下载 pyqt5-tools出现错误,安装其他模块也一样
python 用cmd下载 pyqt5-tools出现错误,安装其他模块也一样 pyqt5等库我都是用离线安装的,这次安装的pyqt5-tools不知道怎么离线安装了 ![图片说明](https://img-ask.csdn.net/upload/201910/31/1572531851_935114.png) 求大神帮我看看帮我想想解决方案 出现的错误: Microsoft Windows [版本 6.1.7601] 版权所有 (c) 2009 Microsoft Corporation。保留所有权利。 C:\Users\xe100>pip3 install PyQt5-tools Collecting PyQt5-tools Downloading https://files.pythonhosted.org/packages/20/8e/c5ee7dcf8168327bb6d2 e3f830edadc91485f23049afaa709a3e019d47ef/pyqt5_tools-5.13.0.1.5-cp37-none-win_am d64.whl (67.2MB) 10% |███▌ | 7.3MB 16kB/s eta 1:00:09Exception : Traceback (most recent call last): File "d:\python\lib\site-packages\pip\_vendor\urllib3\response.py", line 360, in _error_catcher yield File "d:\python\lib\site-packages\pip\_vendor\urllib3\response.py", line 442, in read data = self._fp.read(amt) File "d:\python\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py", li ne 62, in read data = self.__fp.read(amt) File "d:\python\lib\http\client.py", line 447, in read n = self.readinto(b) File "d:\python\lib\http\client.py", line 491, in readinto n = self.fp.readinto(b) File "d:\python\lib\socket.py", line 589, in readinto return self._sock.recv_into(b) File "d:\python\lib\ssl.py", line 1052, in recv_into return self.read(nbytes, buffer) File "d:\python\lib\ssl.py", line 911, in read return self._sslobj.read(len, buffer) socket.timeout: The read operation timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "d:\python\lib\site-packages\pip\_internal\cli\base_command.py", line 179 , in main status = self.run(options, args) File "d:\python\lib\site-packages\pip\_internal\commands\install.py", line 315 , in run resolver.resolve(requirement_set) File "d:\python\lib\site-packages\pip\_internal\resolve.py", line 131, in reso lve self._resolve_one(requirement_set, req) File "d:\python\lib\site-packages\pip\_internal\resolve.py", line 294, in _res olve_one abstract_dist = self._get_abstract_dist_for(req_to_install) File "d:\python\lib\site-packages\pip\_internal\resolve.py", line 242, in _get _abstract_dist_for self.require_hashes File "d:\python\lib\site-packages\pip\_internal\operations\prepare.py", line 3 34, in prepare_linked_requirement progress_bar=self.progress_bar File "d:\python\lib\site-packages\pip\_internal\download.py", line 878, in unp ack_url progress_bar=progress_bar File "d:\python\lib\site-packages\pip\_internal\download.py", line 702, in unp ack_http_url progress_bar) File "d:\python\lib\site-packages\pip\_internal\download.py", line 946, in _do wnload_http_url _download_url(resp, link, content_file, hashes, progress_bar) File "d:\python\lib\site-packages\pip\_internal\download.py", line 639, in _do wnload_url hashes.check_against_chunks(downloaded_chunks) File "d:\python\lib\site-packages\pip\_internal\utils\hashes.py", line 62, in check_against_chunks for chunk in chunks: File "d:\python\lib\site-packages\pip\_internal\download.py", line 607, in wri tten_chunks for chunk in chunks: File "d:\python\lib\site-packages\pip\_internal\utils\ui.py", line 159, in ite r for x in it: File "d:\python\lib\site-packages\pip\_internal\download.py", line 596, in res p_read decode_content=False): File "d:\python\lib\site-packages\pip\_vendor\urllib3\response.py", line 494, in stream data = self.read(amt=amt, decode_content=decode_content) File "d:\python\lib\site-packages\pip\_vendor\urllib3\response.py", line 459, in read raise IncompleteRead(self._fp_bytes_read, self.length_remaining) File "d:\python\lib\contextlib.py", line 130, in __exit__ self.gen.throw(type, value, traceback) File "d:\python\lib\site-packages\pip\_vendor\urllib3\response.py", line 365, in _error_catcher raise ReadTimeoutError(self._pool, None, 'Read timed out.') pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files .pythonhosted.org', port=443): Read timed out. C:\Users\xe100>
ModuleNotFoundError: No module named 'pip._vendor.urllib3.packages'出现这种错误是什么意思?
安装pip时候出现ModuleNotFoundError: No module named 'pip._vendor.urllib3.packages'我重新下载了urllib3安装包安装了urllib3成功了,Extracting urllib3-1.25.2-py3.7.egg to e:\计算机二级备考\python37\lib\site-packages urllib3 1.25.2 is already the active version in easy-install.pth Installed e:\计算机二级备考\python37\lib\site-packages\urllib3-1.25.2-py3.7.egg Processing dependencies for urllib3==1.25.2 Finished processing dependencies for urllib3==1.25.2(安装完成后的代码)然后运行pip list就出现了这种错误 要怎么处理呢?谢谢指导。 原来是想安装模块requests,后面弄了好久还是错误,能给出解决方法,感激不尽。
Windows使用pip命令安装jupyter的错误
![图片说明](https://img-ask.csdn.net/upload/201908/29/1567087487_961468.png)![图片说明](https://img-ask.csdn.net/upload/201908/29/1567087501_994294.png) pip 已经更新到最新版本,安装时还是有问题
为什么用pip安装的库有的可以直接在终端用命令执行?
1.如题,在终端用pip安装一些第三方库,有些是需要进入python中,使用import该第三方库进行使用;另外有一种是用pip安装第三方库之后,直接在终端输入相关命令使用该第三方库,此时该三方库犹如一条命令,其中一些完美的库里还附带使用说明,查看该第三方库的使用说明,这是怎么做到的? 2.例如用pip安装TensorFlow深度学习框架下的tensorboard后,可以在命令行使用tensorbord --help查看tensorboard的使用说明。而自己写的一些.py文件就需要在python里用import进行导入后使用。 3.尝试过使用python自带的setuptools,但是不得其法。 4.求解。
python:我的pip无法安装库是什么情况?
我的pip一安装库就会错误,求大佬解答 例如在终端执行pip install flask就会这样 ![图片说明](https://img-ask.csdn.net/upload/201909/02/1567431191_534064.png) 我已经安装了pip python是3.7版本 求解答
pip3 install ERROR: Exception: Traceback (most recent call last)
操作系统:macOS。 凡是在使用"pip3 install XXX"时,都会出现如下报错。 和网上别人提出的报错内容不太一致,网上看到的方法都试过了也没有用。所以来请求大佬们帮助。 ``` ERROR: Exception: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 397, in _error_catcher yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 479, in read data = self._fp.read(amt) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 62, in read data = self.__fp.read(amt) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 457, in read n = self.readinto(b) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 501, in readinto n = self.fp.readinto(b) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socket.py", line 589, in readinto return self._sock.recv_into(b) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 1071, in recv_into return self.read(nbytes, buffer) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 929, in read return self._sslobj.read(len, buffer) socket.timeout: The read operation timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 188, in main status = self.run(options, args) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 345, in run resolver.resolve(requirement_set) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/legacy_resolve.py", line 196, in resolve self._resolve_one(requirement_set, req) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/legacy_resolve.py", line 359, in _resolve_one abstract_dist = self._get_abstract_dist_for(req_to_install) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/legacy_resolve.py", line 307, in _get_abstract_dist_for self.require_hashes File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 199, in prepare_linked_requirement progress_bar=self.progress_bar File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/download.py", line 1064, in unpack_url progress_bar=progress_bar File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/download.py", line 924, in unpack_http_url progress_bar) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/download.py", line 1152, in _download_http_url _download_url(resp, link, content_file, hashes, progress_bar) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/download.py", line 861, in _download_url hashes.check_against_chunks(downloaded_chunks) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/utils/hashes.py", line 75, in check_against_chunks for chunk in chunks: File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/download.py", line 829, in written_chunks for chunk in chunks: File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/utils/ui.py", line 156, in iter for x in it: File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/download.py", line 818, in resp_read decode_content=False): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 531, in stream data = self.read(amt=amt, decode_content=decode_content) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 496, in read raise IncompleteRead(self._fp_bytes_read, self.length_remaining) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/contextlib.py", line 130, in __exit__ self.gen.throw(type, value, traceback) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 402, in _error_catcher raise ReadTimeoutError(self._pool, None, 'Read timed out.') pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. ```
pip问题 系统找不到指定的路径。: 'f:\\'
pip老是提示系统找不到路径是怎么回事,不知道是什么原因,有大佬知道原因吗![图片说明](https://img-ask.csdn.net/upload/201809/16/1537085687_351025.png)
Java学习的正确打开方式
在博主认为,对于入门级学习java的最佳学习方法莫过于视频+博客+书籍+总结,前三者博主将淋漓尽致地挥毫于这篇博客文章中,至于总结在于个人,实际上越到后面你会发现学习的最好方式就是阅读参考官方文档其次就是国内的书籍,博客次之,这又是一个层次了,这里暂时不提后面再谈。博主将为各位入门java保驾护航,各位只管冲鸭!!!上天是公平的,只要不辜负时间,时间自然不会辜负你。 何谓学习?博主所理解的学习,它是一个过程,是一个不断累积、不断沉淀、不断总结、善于传达自己的个人见解以及乐于分享的过程。
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过...
前端 | 2. 正则
转载请注明以下: 本文转自清自以敬的博客:https://blog.csdn.net/qq_45791147 文章目录1.转义2.正则表达式初步2.1.匹配字符2.1.1.组成元素2.1.2.基础正则的设计 1.转义 转义的作用: 当某个字符在表达式中具有特殊含义,例如字符串引号中出现了引号,为了可以使用这些字符本身,而不是使用其在表达式中的特殊含义,则需要通过转义符“\”来构建该字符转义...
有哪些让程序员受益终生的建议
从业五年多,辗转两个大厂,出过书,创过业,从技术小白成长为基层管理,联合几个业内大牛回答下这个问题,希望能帮到大家,记得帮我点赞哦。 敲黑板!!!读了这篇文章,你将知道如何才能进大厂,如何实现财务自由,如何在工作中游刃有余,这篇文章很长,但绝对是精品,记得帮我点赞哦!!!! 一腔肺腑之言,能看进去多少,就看你自己了!!! 目录: 在校生篇: 为什么要尽量进大厂? 如何选择语言及方...
大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了
大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...
linux系列之常用运维命令整理笔录
本博客记录工作中需要的linux运维命令,大学时候开始接触linux,会一些基本操作,可是都没有整理起来,加上是做开发,不做运维,有些命令忘记了,所以现在整理成博客,当然vi,文件操作等就不介绍了,慢慢积累一些其它拓展的命令,博客不定时更新 free -m 其中:m表示兆,也可以用g,注意都要小写 Men:表示物理内存统计 total:表示物理内存总数(total=used+free) use...
比特币原理详解
一、什么是比特币 比特币是一种电子货币,是一种基于密码学的货币,在2008年11月1日由中本聪发表比特币白皮书,文中提出了一种去中心化的电子记账系统,我们平时的电子现金是银行来记账,因为银行的背后是国家信用。去中心化电子记账系统是参与者共同记账。比特币可以防止主权危机、信用风险。其好处不多做赘述,这一层面介绍的文章很多,本文主要从更深层的技术原理角度进行介绍。 二、问题引入 假设现有4个人...
程序员接私活怎样防止做完了不给钱?
首先跟大家说明一点,我们做 IT 类的外包开发,是非标品开发,所以很有可能在开发过程中会有这样那样的需求修改,而这种需求修改很容易造成扯皮,进而影响到费用支付,甚至出现做完了项目收不到钱的情况。 那么,怎么保证自己的薪酬安全呢? 我们在开工前,一定要做好一些证据方面的准备(也就是“讨薪”的理论依据),这其中最重要的就是需求文档和验收标准。一定要让需求方提供这两个文档资料作为开发的基础。之后开发...
网页实现一个简单的音乐播放器(大佬别看。(⊙﹏⊙))
今天闲着无事,就想写点东西。然后听了下歌,就打算写个播放器。 于是乎用h5 audio的加上js简单的播放器完工了。 演示地点演示 html代码如下` music 这个年纪 七月的风 音乐 ` 然后就是css`*{ margin: 0; padding: 0; text-decoration: none; list-...
Python十大装B语法
Python 是一种代表简单思想的语言,其语法相对简单,很容易上手。不过,如果就此小视 Python 语法的精妙和深邃,那就大错特错了。本文精心筛选了最能展现 Python 语法之精妙的十个知识点,并附上详细的实例代码。如能在实战中融会贯通、灵活使用,必将使代码更为精炼、高效,同时也会极大提升代码B格,使之看上去更老练,读起来更优雅。
数据库优化 - SQL优化
以实际SQL入手,带你一步一步走上SQL优化之路!
2019年11月中国大陆编程语言排行榜
2019年11月2日,我统计了某招聘网站,获得有效程序员招聘数据9万条。针对招聘信息,提取编程语言关键字,并统计如下: 编程语言比例 rank pl_ percentage 1 java 33.62% 2 cpp 16.42% 3 c_sharp 12.82% 4 javascript 12.31% 5 python 7.93% 6 go 7.25% 7 p...
通俗易懂地给女朋友讲:线程池的内部原理
餐盘在灯光的照耀下格外晶莹洁白,女朋友拿起红酒杯轻轻地抿了一小口,对我说:“经常听你说线程池,到底线程池到底是个什么原理?”
《奇巧淫技》系列-python!!每天早上八点自动发送天气预报邮件到QQ邮箱
将代码部署服务器,每日早上定时获取到天气数据,并发送到邮箱。 也可以说是一个小型人工智障。 知识可以运用在不同地方,不一定非是天气预报。
经典算法(5)杨辉三角
杨辉三角 是经典算法,这篇博客对它的算法思想进行了讲解,并有完整的代码实现。
腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹?
昨天,有网友私信我,说去阿里面试,彻底的被打击到了。问了为什么网上大量使用ThreadLocal的源码都会加上private static?他被难住了,因为他从来都没有考虑过这个问题。无独有偶,今天笔者又发现有网友吐槽了一道腾讯的面试题,我们一起来看看。 腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹? 在互联网职场论坛,一名程序员发帖求助到。二面腾讯,其中一个算法题:64匹...
面试官:你连RESTful都不知道我怎么敢要你?
干货,2019 RESTful最贱实践
Docker 从入门到掉坑
Docker 介绍 简单的对docker进行介绍,可以把它理解为一个应用程序执行的容器。但是docker本身和虚拟机还是有较为明显的出入的。我大致归纳了一下,可以总结为以下几点: docker自身也有着很多的优点,关于它的优点,可以总结为以下几项: 安装docker 从 2017 年 3 月开始 docker 在原来的基础上分为两个分支版本: Docker CE 和 Doc...
为啥国人偏爱Mybatis,而老外喜欢Hibernate/JPA呢?
关于SQL和ORM的争论,永远都不会终止,我也一直在思考这个问题。昨天又跟群里的小伙伴进行了一番讨论,感触还是有一些,于是就有了今天这篇文。 声明:本文不会下关于Mybatis和JPA两个持久层框架哪个更好这样的结论。只是摆事实,讲道理,所以,请各位看官勿喷。 一、事件起因 关于Mybatis和JPA孰优孰劣的问题,争论已经很多年了。一直也没有结论,毕竟每个人的喜好和习惯是大不相同的。我也看...
白话阿里巴巴Java开发手册高级篇
不久前,阿里巴巴发布了《阿里巴巴Java开发手册》,总结了阿里巴巴内部实际项目开发过程中开发人员应该遵守的研发流程规范,这些流程规范在一定程度上能够保证最终的项目交付质量,通过在时间中总结模式,并推广给广大开发人员,来避免研发人员在实践中容易犯的错误,确保最终在大规模协作的项目中达成既定目标。 无独有偶,笔者去年在公司里负责升级和制定研发流程、设计模板、设计标准、代码标准等规范,并在实际工作中进行...
SQL-小白最佳入门sql查询一
不要偷偷的查询我的个人资料,即使你再喜欢我,也不要这样,真的不好;
项目中的if else太多了,该怎么重构?
介绍 最近跟着公司的大佬开发了一款IM系统,类似QQ和微信哈,就是聊天软件。我们有一部分业务逻辑是这样的 if (msgType = "文本") { // dosomething } else if(msgType = "图片") { // doshomething } else if(msgType = "视频") { // doshomething } else { // doshom...
Nginx 原理和架构
Nginx 是一个免费的,开源的,高性能的 HTTP 服务器和反向代理,以及 IMAP / POP3 代理服务器。Nginx 以其高性能,稳定性,丰富的功能,简单的配置和低资源消耗而闻名。 Nginx 的整体架构 Nginx 里有一个 master 进程和多个 worker 进程。master 进程并不处理网络请求,主要负责调度工作进程:加载配置、启动工作进程及非停升级。worker 进程负责处...
Python 编程开发 实用经验和技巧
Python是一门很灵活的语言,也有很多实用的方法,有时候实现一个功能可以用多种方法实现,我这里总结了一些常用的方法和技巧,包括小数保留指定位小数、判断变量的数据类型、类方法@classmethod、制表符中文对齐、遍历字典、datetime.timedelta的使用等,会持续更新......
YouTube排名第一的励志英文演讲《Dream(梦想)》
Idon’t know what that dream is that you have, I don't care how disappointing it might have been as you've been working toward that dream,but that dream that you’re holding in your mind, that it’s po...
“狗屁不通文章生成器”登顶GitHub热榜,分分钟写出万字形式主义大作
一、垃圾文字生成器介绍 最近在浏览GitHub的时候,发现了这样一个骨骼清奇的雷人项目,而且热度还特别高。 项目中文名:狗屁不通文章生成器 项目英文名:BullshitGenerator 根据作者的介绍,他是偶尔需要一些中文文字用于GUI开发时测试文本渲染,因此开发了这个废话生成器。但由于生成的废话实在是太过富于哲理,所以最近已经被小伙伴们给玩坏了。 他的文风可能是这样的: 你发现,...
程序员:我终于知道post和get的区别
是一个老生常谈的话题,然而随着不断的学习,对于以前的认识有很多误区,所以还是需要不断地总结的,学而时习之,不亦说乎
《程序人生》系列-这个程序员只用了20行代码就拿了冠军
你知道的越多,你不知道的越多 点赞再看,养成习惯GitHub上已经开源https://github.com/JavaFamily,有一线大厂面试点脑图,欢迎Star和完善 前言 这一期不算《吊打面试官》系列的,所有没前言我直接开始。 絮叨 本来应该是没有这期的,看过我上期的小伙伴应该是知道的嘛,双十一比较忙嘛,要值班又要去帮忙拍摄年会的视频素材,还得搞个程序员一天的Vlog,还要写BU...
程序员把地府后台管理系统做出来了,还有3.0版本!12月7号最新消息:已在开发中有github地址
第一幕:缘起 听说阎王爷要做个生死簿后台管理系统,我们派去了一个程序员…… 996程序员做的梦: 第一场:团队招募 为了应对地府管理危机,阎王打算找“人”开发一套地府后台管理系统,于是就在地府总经办群中发了项目需求。 话说还是中国电信的信号好,地府都是满格,哈哈!!! 经常会有外行朋友问:看某网站做的不错,功能也简单,你帮忙做一下? 而这次,面对这样的需求,这个程序员...
网易云6亿用户音乐推荐算法
网易云音乐是音乐爱好者的集聚地,云音乐推荐系统致力于通过 AI 算法的落地,实现用户千人千面的个性化推荐,为用户带来不一样的听歌体验。 本次分享重点介绍 AI 算法在音乐推荐中的应用实践,以及在算法落地过程中遇到的挑战和解决方案。 将从如下两个部分展开: AI算法在音乐推荐中的应用 音乐场景下的 AI 思考 从 2013 年 4 月正式上线至今,网易云音乐平台持续提供着:乐屏社区、UGC...
相关热词 c#中dns类 c#合并的excel c# implicit c#怎么保留3个小数点 c# 串口通信、 网络调试助手c# c# 泛型比较大小 c#解压分卷问题 c#启动居中 c# 逻辑或运算符
立即提问

相似问题