我正在尝试安装 rosbag
使用点子:pip install python-rosbag
但我收到以下错误:
(base) C:\Users\santhoshe.e\annotator-master>pip install python-rosbag Collecting python-rosbag ERROR: Could not find a version that satisfies the requirement python-rosbag (from versions: none) ERROR: No matching distribution found for python-rosbag
如何安装
rosbag
在 Windows 中不使用 pip
?或 pip
我用错了吗?
最佳答案
pyrosbag
实际上是与 rosbag
不同的包.
正确的方法应该是
conda install -c conda-forge ros-rosbag
之后,您可以运行 import rosbag
在 Python 中。
关于python - ModuleNotFoundError : No module named 'rosbag' with pip,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57254026/