Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work #4889
Unanswered
pankajSrivastava54
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to run https://github.com/microsoft/autogen/tree/main/python/packages/autogen-magentic-one code and reached point where i am getting error as below:
RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
Traceback (most recent call last):
File "/Users/pankajsrivastava/autogen/python/packages/autogen-magentic-one/examples/example.py", line 115, in
asyncio.run(main(args.logs_dir, args.hil_mode, args.save_screenshots))
File "/opt/anaconda3/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/opt/anaconda3/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Users/pankajsrivastava/autogen/python/packages/autogen-magentic-one/examples/example.py", line 35, in main
client = create_completion_client_from_env(model="gpt-4o")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/pankajsrivastava/autogen/python/packages/autogen-magentic-one/src/autogen_magentic_one/utils.py", line 55, in create_completion_client_from_env
_kwargs = json.loads(env.get(ENVIRON_KEY_CHAT_COMPLETION_KWARGS_JSON, "{}"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: unhashable type: 'dict'
Beta Was this translation helpful? Give feedback.
All reactions