Issue
I'm trying to install a package called fenics
in Google Colab.
I tried both:
!pip install fenics
>> fenics in /usr/local/lib/python3.6/dist-packages (2019.1.0)
and
!apt-get install fenics
Then a simple import fenics
raises ModuleNotFoundError
. Restarting the runtime doesn't solve the problem. Any clues?
Solution
Following the instruction
!apt-get install software-properties-common
!add-apt-repository ppa:fenics-packages/fenics
!apt-get update
!apt-get install --no-install-recommends fenics
Then you can import fenics
. Here's the notebook I tested.
Answered By - korakot