Loading [MathJax]/jax/output/CommonHTML/config.js
首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >关于cmd执行pip install baidu-aip错误的问题?

关于cmd执行pip install baidu-aip错误的问题?

提问于 2019-06-25 01:55:01
回答 1关注 0查看 2.5K

如何安装pip,setuptools ?我的是在PyCharm里面引得pip和baidu-aip和setuptools,见下图:

如你文档中描述的:

  • 如果已安装pip,执行pip install baidu-aip即可。
  • 如果已安装setuptools,执行python setup.py install即可。

我cmd执行完之后,提示我如下:

这是因为什么呢

回答 1

用户6221281

发布于 2019-09-10 16:18:35

SPH是你python安装的位置?

和开发者交流更多问题细节吧,去 写回答
相关文章
pip install opencv-python遇到的错误
Found existing installation: numpy 1.8.0rc1 DEPRECATION: Uninstalling a distutils installed project (numpy) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project. Uninstalling numpy-1.8.0rc1: Exception: Traceback (most recent call last): File “/Library/Python/2.7/site-packages/pip/basecommand.py”, line 215, in main status = self.run(options, args) File “/Library/Python/2.7/site-packages/pip/commands/install.py”, line 342, in run prefix=options.prefix_path, File “/Library/Python/2.7/site-packages/pip/req/req_set.py”, line 778, in install requirement.uninstall(auto_confirm=True) File “/Library/Python/2.7/site-packages/pip/req/req_install.py”, line 754, in uninstall paths_to_remove.remove(auto_confirm) File “/Library/Python/2.7/site-packages/pip/req/req_uninstall.py”, line 115, in remove renames(path, new_path) File “/Library/Python/2.7/site-packages/pip/utils/init.py”, line 267, in renames shutil.move(old, new) File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py”, line 302, in move copy2(src, real_dst) File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py”, line 131, in copy2 copystat(src, dst) File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py”, line 103, in copystat os.chflags(dst, st.st_flags) OSError: [Errno 1] Operation not permitted: ‘/tmp/pip-ByxPrJ-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy-1.8.0rc1-py2.7.egg-info’
matinal
2020/11/27
2.2K0
执行composer install遇到错误:
执行composer install遇到错误:Your requirements could not be resolved to an installable set of packages. 这是因为不匹配composer.json要求的版本。
双面人
2019/04/10
1.3K0
CMD终端关于pip报错,scrapy报
如果在终端输入pip,或scrapy,报如下错误: Fatal error in launcher: Unable to create process using '"'
py3study
2020/01/19
4210
"pip install" 引发错误 SyntaxError: invalid syntax
由于自己的机器重装了需要重新安装python 多年没装Python了手也生了,打算安装django的时候居然出了点问题
idealclover
2018/10/31
10.7K1
执行pip 命令出现Could not install packages due to an EnvironmentError错误的解决办法「建议收藏」
因为环境的错误导致的原因,查了一下,只需把命令改为pip install –user pyspider就可以了
全栈程序员站长
2022/09/30
1.4K0
执行pip 命令出现Could not install packages due to an EnvironmentError错误的解决办法「建议收藏」
pip install browserc
这几天在看《精通Scrapy网络爬虫》一书,需要涉及到browsercookie库的安装。一切有些不如人意,花了两三个小时才安装成功,所以在这里记录一下,一方面谨防自己忘记,一方面希望能够帮助到有需要的人
py3study
2020/01/19
6240
pip install browserc
如何彻底解决pip install慢的问题
Python 的一大优点就是丰富的类库,所以我们经常会用 pip 来安装各种库,所以对于Python开发用户来讲,PIP安装软件包是家常便饭。但国外的源下载速度实在太慢,浪费时间。而且经常出现下载后安装出错问题。所以把PIP安装源替换成国内镜像,可以大幅提升下载速度,还可以提高安装成功率。
用户9239730
2021/11/30
3.7K0
关于pip 换源的问题
  阿里云 http://mirrors.aliyun.com/pypi/simple/   中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/   豆瓣(douban) http://pypi.douban.com/simple/   清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/   中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/
zhengzongwei
2019/07/31
1K1
pip install pypinyin Killed
https://github.com/mozillazg/python-pinyin/issues/98
卓越笔记
2023/02/18
6720
pip install MySQL-py
本来很简单的东西,因为安装了mysql5.7 执行以下几步 1.wget  2.cd MySQL-python-1.2.3 3.yum -y install  python-devel  mysql-devel 4.mkdir -p /usr/local/mysql/lib && ln -s /opt/mysql/lib /usr/local/mysql/lib/mysql 5.Edit the setup_posix.py and change the following mysql_config.pat
py3study
2020/01/14
7230
pip install 使用国内镜像
对于Python开发用户来讲,PIP安装软件包是家常便饭。但国外的源下载速度实在太慢,浪费时间。而且经常出现下载后安装出错问题。所以把PIP安装源替换成国内镜像,可以大幅提升下载速度,还可以提高安装成功率。
全栈程序员站长
2022/06/27
1.6K0
npm install 时关于spawn git 的问题
装完系统吧,啥东西都需要重新安装,在我装好 VScode node 和 git 之后想要安装依赖运行项目的时候,报了这么一个错
xyzzz
2020/11/13
4K0
npm install 时关于spawn git 的问题
anaconda+pycharm的安装与配置教程
注:anaconda是自带Python解释器和Python编辑器于一身的,但是Python编辑器中pycharm更好用,所以本教程是写给自己的,每次重新安装anaconda和pycharm的时候有的要注意的地方都记不住了
全栈程序员站长
2022/09/27
2.7K0
anaconda+pycharm的安装与配置教程
pip install时timeout设置
在使用pip安装python相关包时,常常会由于网络问题,导致超时,下载失败,而且换成国内源的时候,也有可能出现这种情况,比如使用pip安装pytorch的时候,这个时候可以通过修改timeout加长download的下载时间,缓解超时的问题: 默认timeout:不指定timeout时15s,
chaibubble
2020/07/21
3.1K0
sqlplus执行错误的问题探究
今天碰到个很诡异的问题,在装了Oracle Clinet的机器,不同路径下执行指令sqlplus,回显不同。
bisal
2020/07/25
8960
Linux下指定pip install和make install安装路径
在Linux下直接用pip install packageName,有些文件会被放到根目录下,如果没有sudo权限的话,是会安装失败的。这个以后我们就需要指定安装的目录了。 pip install --install-option="--prefix=绝对路径" packageName 一般编译源代码三部曲 ./configure make make install 这种默认安装路径的话,会把可执行文件拷贝到/usr/local/bin,如果没有sudo权限的话是会失败的,有两种方法指定安装路径。
用户1680321
2020/07/21
7.4K0
点击加载更多

相似问题

为什么打开cmd键入 pip install pynput 之后会出现错误??

22.8K

安装sudo pip install twisted的时候报错怎么处理?

0223

为什么pip install -U qcloud-python-sts报错?

21.1K

萌新求教,关于小程序函数执行顺序问题?

1160

关于registAudioDataCallbackWithByteBuffer的问题?

0185
相关问答用户
腾讯 | 高级工程师擅长2个领域
平安资管 | 架构师擅长4个领域
擅长3个领域
擅长4个领域
添加站长 进交流群

领取专属 10元无门槛券

AI混元助手 在线答疑

扫码加入开发者社群
关注 腾讯云开发者公众号

洞察 腾讯核心技术

剖析业界实践案例

扫码关注腾讯云开发者公众号
领券
💥开发者 MCP广场重磅上线!
精选全网热门MCP server,让你的AI更好用 🚀
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档