-
Notifications
You must be signed in to change notification settings - Fork 9
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
ImportError #89
Comments
How are you running this? Did you do You can also install redmapper from conda-forge, or (new!) a Docker container here: https://github.com/erykoff/redmapper/pkgs/container/redmapper |
Hi,
I decided to just use your redMaPPer catalog instead of replicating
everything you did in your paper.
However, trying to get a hold of the catalog is proving to be difficult.
The stanford link you quoted is no longer available. Do you perhaps have a
direct link or another alternate site for the catalog?
PS.
I am working on AGN feedback and starting off on AGN contamination for my
PhD program at UKZN South Africa.
Much appreciated
Moin
…On Wed, Apr 19, 2023 at 2:21 AM erykoff ***@***.***> wrote:
How are you running this? Did you do python setup.py install or pip
install .? And when you run it you need to make sure you are *not* in the
redmapper directory or python will get confused about the files in the
local directory and the installed version.
You can also install redmapper from conda-forge, or (new!) a Docker
container here:
https://github.com/erykoff/redmapper/pkgs/container/redmapper
—
Reply to this email directly, view it on GitHub
<#89 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJFE3B5EEW3JL4INRXM6PNDXB4VYHANCNFSM6AAAAAAXDI7B3A>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The nosetests all run fine, however when i run redmapper_run.py i continuously get ImportErrors. The first being:
Traceback (most recent call last):
File "redmapper_run.py", line 22, in
from .utilities import _pickle_method
ImportError: attempted relative import with no known parent package
At first I just changed the code to make it absolute, i.e changed the line to "from utilities import _pickle_method". However, this means i have to change almost every script dependencies. Then I end up getting this:
ImportError: cannot import name '_solver_nfw_pywrap' from partially initialized module 'solver_nfw' (most likely due to a circular import) (/home/moinm/redmapper/redmapper/solver_nfw/init.py)
I messed around once again but the ImportErrors goes on forever. I have all dependencies installed but maybe I'm missing something that isnt listed in the requirements? Or maybe my dependency versions are not compatible (if yes, what version do i downgrade to?) I'm not sure what to do at this point. Any suggestion will be appreciated.
The text was updated successfully, but these errors were encountered: