(个人记录)安装pycocotools库出现Could not build wheels for pycocotools which use PEP 517 and cannot be install
事先声明,问题已经解决,本文章为记录尝试过程以及最终解决方案。
本人使用的pycharm
第一次在pycharm中的Settings里尝试安装pycocotools时pycharm报错:
Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed foryour Python interpreter located at 'D:\Anaconda\envs\pytorch\python.exe'.
之后在anaconda软件中使用conda search进行搜索发现没有这个包,第二次上网搜索解决方法,尝试在'D:\Anaconda\envs\pytorch\'路径下打开命令窗口,输入python.exe -m pip install pycocotools -i http://pypi.douban.com/simple --trusted-host pypi.douban.com。(豆瓣国内源),于是出现了新的错误:
Could not build wheels for pycocotools which use PEP 517 and cannot be installed directly
并建议我安装Microsoft Visual C++,由于太大,本人不想安装,于是寻找其他方法。
第三次尝试在anaconda的命令行中输入pip install pycocotools(摆烂试一下)发现与第二次尝试结果相同。
第四次上网搜索发现有人使用conda install pycocotools命令可以下载,试了下发现仍然不行,但anaconda中给出建议可以上网站https://anaconda.org中进行搜索查看,进入网站搜索pycocotools后发现应该是有人上传过这个包
选择第一个搜索结果后,发现下面有可以直接运行的命令
选择了第一个命令进行安装,最终成功。
(个人记录)安装pycocotools库出现Could not build wheels for pycocotools which use PEP 517 and cannot be install相关推荐
- 安装pandas-profiling错误:Could not build wheels for _ which use PEP 517 and cannot be installed directly
我是通过安装visual studio C++ build tools解决: 安装方式参考
- 安装opencv时报错:Could not build wheels for opencv-python which use PEP 517 and cannot be installed direc
一.问题背景 最近写一批程序,需要用到opencv里面的函数,但是导入cv2的时候,新电脑提示没有安装,所以首先安装opencv的库,直接pip install opencv-python,不过报错了 ...
- 【错误记录】Mac 中 Python 报错 ( ERROR: Could not build wheels for numpy which use PEP 517 | 问题未解决 | 问题记录 )
文章目录 一.报错信息 二.解决方案 一.报错信息 首先 , 更新 pip ; 执行如下命令 : /usr/local/bin/python3 -m pip install --upgrade pip ...
- 【报错】安装scrapy时Could not build wheels for cryptography which use PEP 517 and cannot be installed direc
问题: Windows在安装scrapy时候报错 error: Microsoft Visual C++ 14.0 or greater is required. Get it with " ...
- 安装paddlex出现“ERROR: Could not build wheels for pycocotools, which is required to install pyproject‘
问题: 在安装pallex时出现报错 解决: 安装Visual Studio,百度云下载地址参考 https://blog.csdn.net/qq_41101213/article/details/1 ...
- 解决安装mmdet报错- ERROR: Could not build wheels for pycocotools, which is required to install pyproject.t
记录一下自己在安装mmlab中的mmdet库遇到的问题,直接使用pip install mmdet报错如下: ERROR: Could not build wheels for pycocotools ...
- 安装pycocotools时遇到ERROR: Could not build wheels for pycocotools which use PEP 517 and cannot be instal
操作系统:ubuntu18.04.6 最近在安装MMdetection3d时,其中一步需要安装pycocotools,但是直接采用 pip install pycocotools 进行安装时,我遇到了 ...
- ERROR: Could not build wheels for pycocotools, which is required to install pyproject.toml-based pro
安装pycocotools时总是安装不成功? 问题1:ERROR:Could not build wheels for pycocotools, which is required to insta ...
- ERROR:Could not build wheels for pycocotools, which is required to install pyproject.toml-based
我下载paddlex时候出现的问题 利用国内镜像资源下载比较快 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple paddlex 你以为这 ...
最新文章
- java数据类型相互转换工具类
- 算法导论-MIT笔记
- python从入门到精通pdf下载清华大学出版社-python从入门到精通 清华大学出版社...
- MinGW 和 MSVC 下,使用 FILE 类型的一个奇怪的问题
- oracle遇到无效lob,sql – ORA-22275错误:指定了无效的LOB定位符
- C和C++之用extern “C“实现它们之间的互调
- [转]国际化: 理解Java平台上的Locale
- 区分 JSON 字符串与JSON对象
- AMP、HMP、SMP
- 云监控中inode使用率监控具体作用是什么
- android 8187驱动 win7,8187无线网卡驱动,教您Realtek瑞昱8187无线网卡驱动
- navicat下载安装
- iOS修改生成的APP名称
- 计算机出现故障后,电脑内存出现故障怎么办 电脑内存常见故障解决方法【详解】...
- 【Matlab三维路径规划】狼群算法算法三维路径规划【含源码 167期】
- 用css实现骰子的六个面(flex布局的学习)
- flappy+bird+android源代码,Flappy Bird(安卓版)逆向分析(一)
- 安卓中的对称加密,非对称加密,MD5加密的算法
- struts2远程代码执行漏洞合集
- 基于关联规则的足球比赛数据分析