LANG="en_GB.UTF-8"LC_COLLATE="en_GB.UTF-8"LC_CTYPE="en_GB.UTF-8"LC_MESSAGES="en_GB.UTF-8"LC_MONETARY="en_GB.UTF-8"LC_NUMERIC="en_GB.UTF-8"LC_TIME="en_GB.UTF-8"LC_ALL=python -m tools.plot_Ascan user_models/cylinder_Ascan_2D.outImportError: cannot import name 'get_backend'conda env update -f conda_env.ymlpython setup.py install
ends in the following error:ValueError: bad marshal data (unknown type code)
I'm attaching a screenshot of the rest of the traceback.
Thank you,
Trevor
python setup.py install---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-10-32f7855d4488> in <module>
1 get_ipython().run_line_magic('matplotlib', 'inline')
2
----> 3 from gprMax.waveforms import Waveform
4 from tools.plot_source_wave import check_timewindow, mpl_plot
5
ModuleNotFoundError: No module named 'gprMax'
These commands work when I run them in ipython.
Sorry to be so much trouble!
Trevor
Traceback (most recent call last):
File "setup.py", line 183, in <module>
include_dirs=[np.get_include()])
File "/Users/trevorhillebrand/miniconda3/envs/gprMax/lib/python3.6/site-packages/setuptools/__init__.py", line 140, in setup
return distutils.core.setup(**attrs)
File "/Users/trevorhillebrand/miniconda3/envs/gprMax/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Users/trevorhillebrand/miniconda3/envs/gprMax/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/Users/trevorhillebrand/miniconda3/envs/gprMax/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/Users/trevorhillebrand/miniconda3/envs/gprMax/lib/python3.6/site-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/Users/trevorhillebrand/miniconda3/envs/gprMax/lib/python3.6/site-packages/setuptools/command/install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "/Users/trevorhillebrand/miniconda3/envs/gprMax/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Users/trevorhillebrand/miniconda3/envs/gprMax/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/Users/trevorhillebrand/miniconda3/envs/gprMax/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 220, in run
os.path.join(archive_root, 'EGG-INFO'), self.zip_safe()
File "/Users/trevorhillebrand/miniconda3/envs/gprMax/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 273, in zip_safe
return analyze_egg(self.bdist_dir, self.stubs)
File "/Users/trevorhillebrand/miniconda3/envs/gprMax/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 383, in analyze_egg
safe = scan_module(egg_dir, base, name, stubs) and safe
File "/Users/trevorhillebrand/miniconda3/envs/gprMax/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 422, in scan_module
code = marshal.load(f)
ValueError: bad marshal data (unknown type code)
conda env remove --name gprMax
conda clean --all
conda env create -f conda_env.yml
conda activate gprMax
python setup.py cleanall
python setup.py build
python setup.py installpython setup.py installTraceback (most recent call last):
File "/Users/trevorhillebrand/miniconda3/envs/gprMax/lib/python3.6/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/Users/trevorhillebrand/miniconda3/envs/gprMax/lib/python3.6/runpy.py", line 142, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/Users/trevorhillebrand/miniconda3/envs/gprMax/lib/python3.6/runpy.py", line 109, in _get_module_details
__import__(pkg_name)
File "/Users/trevorhillebrand/Documents/Antarctica/Radar/gprMax/gprMax/__init__.py", line 2, in <module>
from .gprMax import api as run
File "/Users/trevorhillebrand/Documents/Antarctica/Radar/gprMax/gprMax/gprMax.py", line 38, in <module>
from gprMax.model_build_run import run_model
File "/Users/trevorhillebrand/Documents/Antarctica/Radar/gprMax/gprMax/model_build_run.py", line 44, in <module>
from gprMax.fields_updates_ext import update_electric
ImportError: dlopen(/Users/trevorhillebrand/Documents/Antarctica/Radar/gprMax/gprMax/fields_updates_ext.cpython-36m-darwin.so, 2): Symbol not found: _GOMP_parallel
Referenced from: /Users/trevorhillebrand/Documents/Antarctica/Radar/gprMax/gprMax/fields_updates_ext.cpython-36m-darwin.so
Expected in: flat namespace
in /Users/trevorhillebrand/Documents/Antarctica/Radar/gprMax/gprMax/fields_updates_ext.cpython-36m-darwin.so
linker_args = ['-fopenmp', '-Wl,-rpath,' + rpath]otool -L /Users/trevorhillebrand/Documents/Antarctica/Radar/gprMax/gprMax/fields_updates_ext.cpython-36m-darwin.sootool -L /Users/trevorhillebrand/Documents/Antarctica/Radar/gprMax/gprMax/fields_updates_ext.cpython-36m-darwin.so/Users/trevorhillebrand/Documents/Antarctica/Radar/gprMax/gprMax/fields_updates_ext.cpython-36m-darwin.so: @rpath/libgomp.1.dylib (compatibility version 2.0.0, current version 2.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.0.0)
/usr/local/lib/gcc/7/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)brew install gcc@7

The message is in portuguese and says: 'git' is not recognized as an internal or external command, an operable program, or a batch file
What can be (or am I doing) wrong?
Grateful for any feedback.
Heloisa
(gprMax)$ python setup.py build(gprMax)$ python setup.py installI followed your instructions and everything worked out. I was able to produce my geometry view. Thank you very much.
Best regards,
Heloisa