I would like to install menpo using the conda install command on Google Colab.

Asked 2 years ago, Updated 2 years ago, 86 views

I would like to install menpo using the conda install command on Google Colab.

Beginner The Menpo Project
Easy-to-use quantum computation automation for anyone (psi4 on google colab)-Qiita

I ran the following code with reference to the above site, but I got an error on line 4 and I can't get the menpo.

Does anyone know the solution?
Thank you for your cooperation.

commands executed:

!wget-c https://repo.anaconda.com/miniconda/Miniconda3-4.5.4-Linux-x86_64.sh
!chmod+x Miniconda3-4.5.4-Linux-x86_64.sh
!bash. / Miniconda3-4.5.4-Linux-x86_64.sh-b-f-p/usr/local
!conda install-conda-forge mempo menpofit menpodetect menpo3d

error messages:

Preparing transaction: done
Verifying transaction: done
Executing transaction: failed
ERROR conda.core.link:_execute(502): An error occurred while installing package 'conda-forge::olefile-0.46-pyh9f0ad1d_1'.
FileNotFoundError(2, "No such file or directory: '/usr/local/bin/python 3.7')
Attempting to roll back.

Rolling back transaction: done

FileNotFoundError(2, "No such file or directory: '/usr/local/bin/python 3.7')

anaconda google-colaboratory

2022-09-29 22:50

1 Answers

"Python 3.7 not found", so it may need to be installed separately.

I didn't actually try it, but when I searched by keyword, there were similar questions and answers in SO English.

reference:
install python 3.7 via Google colab as default python-Stack Overflow

#Install the python version
! apt-get install python 3.7

# Select the version
!python 3.7 setup.py


2022-09-29 22:50

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.