You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Possible Issue with the "source activate devito" command #12
Following instructions for installing data and programs needed for the FWI (Part I) tutorial, I receive the following error (Image 1). Also, my current working system/specs are shown in another image (Image 2).
After attempting to run source activate devito, the following error displays:
+1 for what Alessandro said. (If you are not using conda, but venv, say, there may be other ways of activating the environment. For example, you may need to find the environment folder and run the activate.bat file there.)
Be advised the conda link at Link 1 does not work. Also, the Tutorial notebooks with latest Devito/master link at Link 2 does not work.
The suggested command provided by @aadm passed: conda activate devito. However, after issuing that command and running the last one (i.e. pip install -e .), other problems start to unfold with the Python commands (see Image 1 below).
Note that I am using a Windows 10 machine and am trying to develop a better approach for using this tutorial for other users in similar situations, if possible.
After running the following commands, error messages follow:
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline
# FIGURE 1
from IPython.display import HTML
HTML("../Figures/Figure1_composed.svg")
# NOT FOR MANUSCRIPT
from examples.seismic import Model, plot_velocity
# Define a velocity model. The velocity is in km/s
vp = np.empty((101, 101), dtype=np.float32)
vp[:, :51] = 1.5
vp[:, 51:] = 2.5
Activity
aadm commentedon Mar 12, 2019
Did you install Python via anaconda/miniconda? If yes try
conda activate devito.kwinkunks commentedon Mar 12, 2019
+1 for what Alessandro said. (If you are not using conda, but
venv, say, there may be other ways of activating the environment. For example, you may need to find the environment folder and run theactivate.batfile there.)Note that you may encounter issues with
devitoon Windows. See https://github.com/opesci/devito/wiki/Installation-Issuesnate-benton90 commentedon Mar 14, 2019
Hi, @aadm and @kwinkunks - thanks for the feedback.
Be advised the conda link at Link 1 does not work. Also, the Tutorial notebooks with latest Devito/master link at Link 2 does not work.
The suggested command provided by @aadm passed:
conda activate devito. However, after issuing that command and running the last one (i.e.pip install -e .), other problems start to unfold with the Python commands (see Image 1 below).Note that I am using a Windows 10 machine and am trying to develop a better approach for using this tutorial for other users in similar situations, if possible.
After running the following commands, error messages follow:
Image 1:

CavalcanteLucas commentedon Mar 14, 2019
it seems like this is an outdated version of devito's codebase