-
-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
miniconda install #27
Comments
Glad you like it! We are slowly working towards a smoother install process. Can you remind me what platform you are on? Presumably you are following the developer route so have compiled the Cython extensions? or have you downloaded the pre-built extensions for your platform? |
Hey, I just get the last gprmax-master.zip, conda env create -f conda_env.yml it and activate it. cheers e |
OK, so follow step 4 to build the Cython extensions and you should be good to go. The gcc (the C compiler with OpenMP support) should already be installed on Ubuntu. |
yeah, but still not: To activate this environment, use:$ source activate gprMaxTo deactivate this environment, use:$ source deactivate[eleger@n0001 gprMax-master]$ source activate gprMax I'd say this is because I'm loading python3.2 (not 3.5) on the cluster could it be because of that ? cheers e |
From the traceback you have Python 3.5. Did you follow step 4, i.e. compile the Cython extensions? |
No, since I was building the endusers version. Thanks e |
Hi NishanthBhonsle, I think your issue is different. Can you confirm a few facts:
|
@NishanthBhonsle I think Windows users may still have to install the Microsoft Visual Studio 2015 C++ Redistributable ( @ELEGER I think I've fixed the issue you were having. It was to do with reading the version number. The fix is in the master branch, and I'll make a new release tomorrow. |
Good job Craig, e |
@NishanthBhonsle Did installing the Microsoft Visual Studio 2015 C++ Redistributable solve the problem for you? |
@craig-warren Was unable to download Microsoft Visual Studio 2015 C++ Redistributable due to various reasons. |
OK, thanks. From my testing it should work with the Redistributable installed on Windows. I'll close this issue for now, but if you come back to Windows and can't get it working then please open this issue up again. |
Hi,
first of all great job for the miniconda install it is much easier,
However, after building it, I'm facing:
python -m gprMax user_models/cylinder_Ascan_2D.in
Traceback (most recent call last):
File "/global/home/users/eleger/miniconda3/envs/gprMax/lib/python3.5/runpy.py", line 170, in _run_module_as_main
"main", mod_spec)
File "/global/home/users/eleger/miniconda3/envs/gprMax/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/global/home/users/eleger/bin/gprMax-master/gprMax/main.py", line 3, in
from .gprMax import main
File "/global/home/users/eleger/bin/gprMax-master/gprMax/gprMax.py", line 35, in
from gprMax.fields_update import *
ImportError: No module named 'gprMax.fields_update'
miniconda and gprmax installs runned very fine and smooth, nothing to declare.
Thanks!
e
The text was updated successfully, but these errors were encountered: