No module named 'esys'!

Asked by Mojtaba Tavakoli

Hello,

I am a new user of Escript, have installed Escript on my virtual Ubuntu via Anaconda-navigator (on a new environment and not on the base (root) environment).

FIRST QUESTION:
I tried this in my Jupiter Notebook: "from esys.escript import *", but I got the error: No module named escript.

SECOND QUESTION:
I could not find the module esys.escript while I was searching for it in the base (root) environment via Anaconda-navigator.

I highly appreciate any help.

WITH BEST REGARDS

Question information

Language:
English Edit question
Status:
Solved
For:
esys-escript Edit question
Assignee:
No assignee Edit question
Solved by:
Mojtaba Tavakoli
Solved:
Last query:
Last reply:
Revision history for this message
Adam Ellery (aellery) said :
#1

Hi Mojtaba,

Could you please tell me what version of Ubuntu and Anaconda that you are using?

Adam

Revision history for this message
Mojtaba Tavakoli (mjtba) said :
#2

Dear Adam,

these are the versions I am using:

Ubuntu 18.04
anaconda 2020.02
anaconda-client 1.7.2
anaconda-navigator 1.9.12
anaconda-project 0.8.4

Mojtaba

Revision history for this message
Adam Ellery (aellery) said :
#3

Hi Mojtaba,

Could you please open a jupyter notebook from your new environment and run the following commands?

import sys
!conda install --yes --prefix {sys.prefix} esys-escript -c conda-forge

and tell me what the output says?

Adam

Revision history for this message
Mojtaba Tavakoli (mjtba) said :
#5

Thank you Adam Ellery,