Skip to content
This repository has been archived by the owner on Jun 4, 2018. It is now read-only.

installation and first use #69

Open
joaomedeiros opened this issue Sep 25, 2016 · 0 comments
Open

installation and first use #69

joaomedeiros opened this issue Sep 25, 2016 · 0 comments

Comments

@joaomedeiros
Copy link

Hello,

I'm trying to use opesci-fd (https://github.com/opesci/opesci-fd). I followed the instructions there.

1)The first problem, I wasn't able to install using this command (even after pip install -r requirements.txt successfully)

pip install --local git+https://github.com/opesci/opesci-fd.git

First I had to do install libyaml-dev
sudo apt-get install libyaml-dev

And gave the command (note the --allow-external)
pip install --allow-external --local git+https://github.com/opesci/opesci-fd.git

  1. After the installation I still not able to use import opesci, please see below:

Python 2.7.12 (default, Jul 1 2016, 15:12:24)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.

from opesci import *
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/opesci/init.py", line 4, in
from staggeredgrid import *
File "/usr/local/lib/python2.7/dist-packages/opesci/staggeredgrid.py", line 8, in
from opesci.regulargrid import RegularGrid
File "/usr/local/lib/python2.7/dist-packages/opesci/regulargrid.py", line 11, in
from templates import regular3d_tmpl
ImportError: No module named templates

My OS is Ubuntu 16.04.1 LTS.

Joao

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant