Replies: 1 comment 1 reply
-
The first failure can be avoided by |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Environment
OS=Ubuntu 20.04 (BitcrazeVM)
ROS=Noetic
Python=3.8.10
Hi. I'm in trouble with installing crazyswarm.
I'm glad if you help to solve my problem.
Situation:
I'm trying to install crazyswarm to my PC by reading a official document.
[https://crazyswarm.readthedocs.io/en/latest/installation.html]
When I execute the following command, the error emerged.
python3 -m pytest
It seems my computer can't find the crazyswarm.srv file.
Try:
・attempt to find crazyswarm.srv from my computer -> can't find
・search issues -> no same problem
Error Log:
============================= test session starts ==============================
platform linux -- Python 3.8.10, pytest-4.6.9, py-1.8.1, pluggy-0.13.0
rootdir: /home/bitcraze/apps/crazyswarm/ros_ws/src/crazyswarm/scripts, inifile: pytest.ini
collected 31 items
test_collisionAvoidance.py ............ [ 38%]
test_highLevel.py ......... [ 67%]
test_lowLevel.py ...... [ 87%]
test_ros.py F [ 90%]
test_simOnly.py . [ 93%]
test_videoOutput.py F [ 96%]
test_yamlString.py . [100%]
=================================== FAILURES ===================================
_______________________________ test_ros_import ________________________________
test_ros.py:6:
pycrazyswarm/crazyflie.py:12: ModuleNotFoundError
_______________________________ test_videoOutput _______________________________
tmp_path = PosixPath('/tmp/pytest-of-bitcraze/pytest-2/test_videoOutput0')
test_videoOutput.py:64:
/usr/lib/python3.8/subprocess.py:340: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.8/subprocess.py:858: in init
self._execute_child(args, executable, preexec_fn, close_fds,
self = <subprocess.Popen object at 0x7f2d43db77f0>
args = ['python', '/home/bitcraze/apps/crazyswarm/ros_ws/src/crazyswarm/scripts/test_videoOutput.py', '/tmp/pytest-of-bitcraze/pytest-2/test_videoOutput0/crazyswarm_test_video.mp4']
executable = b'python', preexec_fn = None, close_fds = True, pass_fds = ()
cwd = None, env = None, startupinfo = None, creationflags = 0, shell = False
p2cread = -1, p2cwrite = -1, c2pread = -1, c2pwrite = -1, errread = -1
errwrite = -1, restore_signals = True, start_new_session = False
E FileNotFoundError: [Errno 2] No such file or directory: 'python'
/usr/lib/python3.8/subprocess.py:1704: FileNotFoundError
===================== 2 failed, 29 passed in 6.91 seconds ======================
Beta Was this translation helpful? Give feedback.
All reactions