Skip to content

How to enable plugin when using Google Colab notebook #80

Answered by tkittel
XuShuqi7 asked this question in Q&A
Discussion options

You must be logged in to vote

UPDATE SEPTEMBER 2024: There is now an example notebook which compiles the texture plugin in the https://github.com/mctools/ncrystal-notebooks repo .

Indeed, the plugins need cmake-3.15.

I am not sure how the google collab environment works, or what platform it is emulating, but you can try to add the following commands at the top:

curl -OLf https://github.com/Kitware/CMake/releases/download/v3.23.1/cmake-3.23.1-Linux-x86_64.tar.gz
tar xf cmake-3.23.1-Linux-x86_64.tar.gz
export CMAKE_ROOT="$PWD/cmake-3.23.1-linux-x86_64"
export PATH="$PWD/cmake-3.23.1-linux-x86_64/bin:$PATH"

That works locally on my linux machine.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@XuShuqi7
Comment options

Comment options

You must be logged in to vote
2 replies
@XuShuqi7
Comment options

@tkittel
Comment options

Answer selected by XuShuqi7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants