当前位置:网站首页>No module named 'yaml' solution
No module named 'yaml' solution
2022-07-19 08:21:00 【jndingxin】
Error phenomenon :
Traceback (most recent call last):
File "/home/pi/ble-uart-peripheral/uart_peripheral.py", line 16, in <module>
import yaml
ModuleNotFoundError: No module named 'yaml'
Generally speaking , The command line can solve the problem by using the following commands :
pip install yaml
however , unfortunately , The results are as follows :
[email protected]:~/HeatMap $ pip install yaml
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting yaml
Could not find a version that satisfies the requirement yaml (from versions: )
No matching distribution found for yaml
In fact, the correct command line content should be as follows :
pip install pyyaml
Results show success
[email protected]:~/HeatMap $ pip install pyyaml
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pyyaml
Downloading https://files.pythonhosted.org/packages/a0/a4/d63f2d7597e1a4b55aa3b4d6c5b029991d3b824b5bd331af8d4ab1ed687d/PyYAML-5.4.1.tar.gz (175kB)
100% |████████████████████████████████| 184kB 481kB/s
Installing build dependencies ... done
Building wheels for collected packages: pyyaml
Running setup.py bdist_wheel for pyyaml ... done
Stored in directory: /home/pi/.cache/pip/wheels/2a/d4/92/cf299bdf4162957ca8126b46e913e29f76a4f17ca762c45028
Successfully built pyyaml
Installing collected packages: pyyaml
Successfully installed pyyaml-5.4.1
[email protected]:~/HeatMap $
边栏推荐
- 数据库写入优化:分库分表及相关问题
- Paddleserving服务化部署 tensorrt报错, shape of trt subgraph is [-1,-1,768],
- 从赌场逻辑,分析平台币的投资价值 2020-03-03
- WPF 三维应用搭建(基础)
- Dark horse programmer - software testing -16 stage 3 - function testing -175-198, URL composition introduction, request content and composition description line function test and database, URL composi
- Detailed explanation of type, user-defined type, preliminary understanding of structure
- 5G正当时,无人驾驶未来将驶向何方?
- Complete square number
- the max_ iter was reached which means the coef_ did not converge “the coef_ did not converge“
- The connection between neural network and automatic control
猜你喜欢
随机推荐
数据库写入优化:分库分表及相关问题
Yolov5 label and establish your own data set
Code learning (deamnet) CVPR | adaptive consistency prior based deep network for image learning
ansible自动化运维详解(四)ansible中playbook的编写使用、执行命令及实例演示
Discussion on risc-v Technology
总结的太好了!终于有人把SQL的各种连接Join都讲明白了
Unity custom sky ball model to prevent it from being cropped
【Kernel】驱动开发学习之字符设备
网传USDT和USDC要做空?带你一探究竟 | Tokenview
WPF 三维应用搭建(基础)
Viewing the technology stack of distributed system from the crash report of station B
The core problem of concurrent programming
Standard Version (release and changelog Automation)
Seaport 以及 ERC-4907 能否成为释放NFT流动性的新途径?| Tokenview
Can seaport and erc-4907 become new ways to release NFT liquidity| Tokenview
Visual Studio 生产环境配置方案:SlowCheetah
[C# 类和对象]-C# 中的方法以及类和对象编程
[kernel] character device that drives development and learning
First experience of openvino machine learning
Leetcode daily question 2021/7/11-2021/7/17









