facebookresearch / audio2photoreal

Code and dataset for photorealistic Codec Avatars driven from audio
Other
2.66k stars 250 forks source link

How to downgrade python version on Colab to 3.9 #25

Closed abishpius closed 8 months ago

abishpius commented 8 months ago

https://www.geeksforgeeks.org/how-to-downgrade-python-version-in-colab/

tl;dr step1: !sudo apt-get install python3.9 step2: !sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1

reap the benefits: !python --version

evonneng commented 8 months ago

Oh awesome! Thanks a bunch for this pointer. I’ll test it out and update the collab soon 😊

abishpius commented 8 months ago

You will also need to use !pip3 in all the future executions of pip just fyi