Comments (11)
Hello @marscfeng,
A quick search on Google indicates that it seems to be a common problem on macOS. Unfortunately, I cannot reproduce this error as I don't have macOS. The package has only been tested on Windows and Unix systems.
A first guess may be that the Python you used to install the package is different from the version your interpreter is invoking. How did you install the package evodcinv?
from evodcinv.
Indeed. I have multiple python installed (python2.7/ python3.6), as well as anaconda. When i tried to install EvoDCinv with pip install evodcinv
, it threw out some errors:
RuntimeError: Python is not installed as a framework. The Mac OS X backend will not be able to function correctly if Python is not installed as a framework. See the Python documentation for more information on installing Python as a framework on Mac OS X. Please either reinstall Python as a framework, or try one of the other backends. If you are using (Ana)Conda please install python.app and replace the use of 'python' with 'pythonw'. See 'Working with Matplotlib on OSX' in the Matplotlib FAQ for more information.
So i downloaded the package and conda install python.app
. Finally, i tried pythonw setup.py install
and the installation worked out.
But when i run pythonw(or python) example_dc.py
, the Import Error about symbol not found
occurs.
from evodcinv.
But i successfully run this code on Anaconda>Spyder. I wander why pythonw example_dc.py
does not work.
from evodcinv.
What does the command which pythonw
(or which python
) returns?
from evodcinv.
$ which pythonw(or python there're the same)
~/anaconda/bin/pythonw
from evodcinv.
It seems your Anaconda installation is broken, somehow. You can try pip install .
instead of python setup.py install
(first make sure that which pip
returns Anaconda's one).
from evodcinv.
broken
? I am sorry about my last reply, which python
returns ~/anaconda/bin/python
not pythonw
. And which pip
indeed return Anaconda's pip
. Anyway at least Spyder could run your package successfully. I do not want to wast your time for some untouched reasons. I am phd student who works on near-surface section. I check the true model you gave under /data
, it looks wired (i mean uncommon for my section). Can i have your phd thesis to satisfy my curiosity?
from evodcinv.
Are you using surface waves for geotechnical or geophysical problems? The true model I used as an example for this package presents a thin rapid layer, which is usually encountered in geophysical problems. I used this code to invert real dispersion curves obtained by ambient noise correlation. The paper is currently under review.
My PhD thesis is currently not available as I am not graduated yet...
from evodcinv.
Great! Yes, I work on passive & active seismic survey, mainly surface wave, for geophysical problems. It would be proved to be a good literature and i guess this package could also be able to solve LVL inversion problem. Good luck! Which Journal is that you submitted you paper? I would like to keep an eye on it.
from evodcinv.
Actually, my research focuses on numerical optimization of inverse problems in geophysics. I worked on the inversion of dispersion curves as one of my colleague in my lab works on surface waves. The paper has been submitted to Geophysical Journal International, and the main authors are Marc Peruzzetto and Alexandre Kazantsev (@alexandrekazantsev).
If you have any question about how to use the package, don't hesitate to contact me again :)
from evodcinv.
thanks!
from evodcinv.
Related Issues (11)
- Controlling size of inversion resuls HOT 3
- Multi-mode inversion yields models that do not predict the data HOT 4
- Adding a constraint for velocity increasing with depth HOT 4
- Output models HOT 44
- Support for Scholte wave inversion HOT 4
- Poisson's ratio HOT 5
- FileNotFoundError
- Example of plot results HOT 2
- Example not working HOT 1
- model.invert: concatenation of run results HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evodcinv.