python - 尝试在 Linux 上下载 Python 包时出错
问题描述
我想使用覆盆子 bi 上的“黯淡”包连接到蓝牙低功耗外围设备。当我使用命令时,pip install bleak
我得到错误:
Could not find a version that satisfies the requirement dbus-next; platform_system == "Linux" (from bleak) (from versions: ) No matching distribution found for dbus-next; platform_system ++ "Linux" (from bleak)
在他们的网站上声明他们确实支持 Linux 平台。
我尝试在安装它的 Macbook 上下载该软件包,但没有任何问题。
对于该错误消息的确切含义有什么帮助吗?先感谢您。
解决方案
也许您使用了错误版本的 pip ,请尝试 pip3 install bleak
。如果它不起作用,请使用以下命令的输出编辑您的帖子:
which python
which pip
推荐阅读
- c++ - 是否可以在文本文件中找到最长单词的长度,并在同一个文本文件中读取,只需 1 个 while 循环?
- flutter - VideoPlayerPlugin.java 使用或覆盖已弃用的 API
- python - 如何基于月份python保存数据
- sitecore - 搜索框输入中的 X 不清除文本
- ubuntu - Kubernetes 上的 Consul:Consul pod 正在运行但尚未准备好
- android - Google 不将数字资产链接识别为有效的域验证方法
- apache-nifi - NiFi:将文件内容存储在内存或全局变量中
- java - 将 C# 中由泛型类扩展的非泛型类转换为 Java
- c# - 构建并发布到 IIS 后,在发布命令中使用调试时,我总是看到生产构建
- vue.js - Vuex / Vue-Router - 将 auth:user id 从 vuex 存储传递到 vue-router 路由器链接参数