Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip3 install and cargo issues #214

Open
bernid opened this issue Jan 7, 2024 · 2 comments
Open

pip3 install and cargo issues #214

bernid opened this issue Jan 7, 2024 · 2 comments

Comments

@bernid
Copy link

bernid commented Jan 7, 2024

Hello,
Thank you for this script.
I'm trying to build ffmpeg with '--enable-gpl-and-non-free' on my Ubuntu 23.10 x64 machine.
Unfortunately I got stuck 2 times.
First time I've received:
'error: externally-managed-environment'
when script run:
$ pip3 install pip setuptools --quiet --upgrade --no-cache-dir --disable-pip-version-check
So I 've installed python3-venv, created a new virtual environment 'python3 -m venv myenv' and activated the virtual environment 'source myenv/bin/activate'.
The script moved on but stops building cargo and errors again appear indicating 'undefined reference to ...' some functions/files
See full script log:
https://www.dropbox.com/scl/fi/wr1xvwasm5sjdru4pt89i/script.log?rlkey=0agotbpxlpovsgad7f2qxa9s6&raw=1
What should I do move forward?

@mhaponiu
Copy link

mhaponiu commented Jan 9, 2024

rav1e is so sloow, I recommend you to disable it with env var SKIPRAV1E
if you want to use av1 codec - use svtav1

@bernid
Copy link
Author

bernid commented Jan 9, 2024

Thanks for leading me to a temporary solution to sacrifice the rarely used librav1e AV1 encoder. I simply uninstalled rust/cargo
rustup self uninstall
and the building script continued to the end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants