Open AhmedAlHeety opened 3 years ago
Dear Ahmed,
thank you for your interest in the code. Can you please provide the output of conda info
and python -c "import pygimli; print(pygimli.__version__); import fpinv"
in the four-phase-inversion environment. Thanks.
Thank you for your response
(four-phase-inversion) C:\Users\AHMED_PC>conda info
**active environment : four-phase-inversion**
**active env location : C:\Users\AHMED_PC\Anaconda3\envs\four-phase-inversion**
shell level : 2
user config file : C:\Users\AHMED_PC\.condarc
populated config files : C:\Users\AHMED_PC.condarc conda version : 4.9.2 conda-build version : 3.18.9 python version : 3.7.4.final.0 virtual packages : __cuda=10.2=0
ModuleNotFoundError Traceback (most recent call last)
@florian-wagner
Dear @AhmedAlHeety,
as the error message states, pyGIMLi is not installed. Maybe you installed it in the base environment? How have you created the four-phase-inversion environment? With the environment.yml as stated in the instructions?
Best wishes Florian Wagner
Thank you, Dr. Wanger
Yes I do With the (environment.yml) as stated in the instruction
Can you type the following within the four-phase-inversion environment and the folder where the environment.yml is located in the Anaconda Navigator conda env update --file environment.yml
and paste the output here? Thanks!
(base) C:\Users\AHMED_PC>conda activate four-phase-inversion
(four-phase-inversion) C:\Users\AHMED_PC>conda env update --file environment.yml Collecting package metadata (repodata.json): done Solving environment: failed
ResolvePackageNotFound:
(base) C:\Users\AHMED_PC>conda activate four-phase-inversion
(four-phase-inversion) C:\Users\AHMED_PC> (four-phase-inversion) C:\Users\AHMED_PC>conda install -c gimli pybert Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: - Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed
UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment:
Specifications:
Your python: python=3.6
If python is on the left-most side of the chain, that's the version you've asked for. When python appears to the right, that indicates that the thing on the left is somehow not available for the python version you are constrained to. Note that conda will not change your python version to a different minor version unless you explicitly specify that.
Does the issue still exist?
Unfortunately, I don't know because I don't try it again.
With my best regards
On Mon, Jul 12, 2021, 10:19 PM Florian Wagner @.***> wrote:
Does the issue still exist?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/florian-wagner/four-phase-inversion/issues/1#issuecomment-878531290, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMCK5BL6WWUCD6WDKDDRGRLTXM547ANCNFSM4WNNA7SQ .
Problem description Hello, Dear Dr.Wagner In the beginning, I am a novice in python programming and I have some questions and a problem. I am currently trying to run the four-phase-inversion (synthetic and real data example ) which you provided with codes.. I am working with Anaconda and I created a specific environment as suggested in the instructions. unfortunately, I got an issue that I do not manage to run any code from A to Z. I try to run Code with (Base env) and (four-phase-inversion env). the Pygimli working with Base env, but unfortunately doesn't work with (four-phase-inversion env).
Thank you very much for your attention, Best regards. Ahmed
Operating system: Windows 10 Python version: 3.6.12 pyGIMLi version: 0 Way of installation: Conda package (64 bit)