I need to use python3.7 as default python version to use in google colab(via this notebook ) for testing the faceswap GitHub project, by this codes:
%cd "/content/faceit"
!rm -rf faceswap
!git clone  https://github.com/deepfakes/faceswap.git
%cd faceswap
!python setup.py
The reason is that,when i try to install faceswap in google colab i get this error:
/content/faceit
Cloning into 'faceswap'...
remote: Enumerating objects: 7725, done.
remote: Total 7725 (delta 0), reused 0 (delta 0), pack-reused 7725
Receiving objects: 100% (7725/7725), 194.20 MiB | 31.66 MiB/s, done.
Resolving deltas: 100% (5338/5338), done.
/content/faceit/faceswap
INFO    Running as Root/Admin
INFO    The tool provides tips for installation
        and installs required python packages
INFO    Setup in Linux 4.19.112+
INFO    Installed Python: 3.6.9 64bit
ERROR   Please run this script with Python version 3.7 or 3.8 64bit and try again.
So based of the different python module which needs to be installed by different files, it needs to install python 3.7 and set it as python default command.
I would appropriate, any help to solve it.
Thanks.
 
    
