-
Notifications
You must be signed in to change notification settings - Fork 4
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
Quick Start Guide - Inference run - ModuleNotFoundError: No module named 'gempyor' #214
Comments
Hi Jeff, can you check that you have your paths to the directories where the code is set up correctly? You might have one too many levels of "flepimop"? This line seems to be finding your config correctly, which means you must be correctly in the project path directory. But then it's going to look for gempyor in Also (separate issue), if you are running the config Thanks for trying things out and please report any other issues you encounter here - we are still very much a work in progress of making things functionally accessible to others! |
Thanks for your quick reply. correct... I didn't have any issues with R installation, nor the libraries, in terms of the listed instructions. I had issues with curl, and I am working on a mac, so with arrow. But those were resolved and eventually didn't have any errors. Yes, I did copy config_sample_2pop_inference.yml into the project_path. I will move my FLEPIMOP_PATH in the morning and retry. Thank you very much for your help. It is appreciated. |
Hey Jeff, Either gempyor is not installed, or it is installed but not in the python environment that Can you try to run import gempyor in the prompt that you get? you will either get an error or nothing (which means that gempyor is installed). If you get an error, can you retry the installation step of gempyor with pip ? If you don't get an error there, in R this time (either from Rstudio or typing R in the command line) library(reticulate)
gempyor <- reticulate::import("gempyor") does this snippet works? if not try adding Let us know what error and output you encounter with these steps, and thanks for your patience as we are improving the flepiMoP installation. |
Good morning. Thanks for your advice. I could not import gempyor using python (version 3.12) which was set as my default. Changing to python3.11 libraries I was able to import gempyor. Maybe an issue with my 3.12 install? I then created ~/.Renviron and specified: RETICULATE_PYTHON="/usr/local/bin/python3.11". I ran the Inference run and it proceeded past the gempyor issue. I then ran into the arrow issue our R person warned me about (which is a mac issue).
After contacting her and going back and forth a bit, she had me... Received a whole host of Integration errors, and after those the following...
Just got here a few minutes ago and have not looked into this at all yet. |
That's a good call. There is an issue with this config.
Can you retry changing the One more thing, as I see that you are building a containerized version, we are currently developing a full-python inference engine (see branch new_inference and pull request #203) which will be much easier to package (single pip line to install). That's in alpha at the moment. |
I just updated the |
I appreciate the update. Thank you. Latest run...
If you full output would be more helpful, just let me know. Or if there is any other info I can provide which could prove helpful. Best, |
Sorry, I just asked and this error is not a "real" error (see issue #197). The program has finished to run and is checking for files to exist. Apparently theses check are not up to date with the new file structure so it fails even though it should not. We will fix this asap, in the meantime you can safely discard this error and consider that inference slot has successfuly completed. |
Sorry, I should have considered doing a search on that issue. My apologies. Glad to hear it's not a concern. I very much appreciate your assistance. Best, |
I have been following the Quick Start Guide and have been able to execute the Non-Inference run. But when I try the Inference run, I receive the messages and error below.
Sorry if this issue has already been posted, I did a search and didn't find anything. Unfortunately, I do not have R experience to be able to debug this further.
I appreciate any help you can offer. I am working on this as a project for Harry Hochheiser at the MIDAS Coordination Center.
Best,
Jeff Stazer
The text was updated successfully, but these errors were encountered: