Skip to content
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

Attribute error with emulator_linpk is preventing import pyccl. #1123

Open
bruno-moraes opened this issue Aug 31, 2023 · 1 comment
Open

Comments

@bruno-moraes
Copy link

bruno-moraes commented Aug 31, 2023

Hi,

I have a joint developer CCL + firecrown installation on my MacBook Pro (Intel). I just pulled from the master branch to get from version 2.8.1 to the most recent version. Imports and examples were working fine before. Now, I get the following error:

(descstack) brunomor@Brunos-MacBook-Pro ~ % python -c "import pyccl as ccl;print(ccl.__version__);print(ccl.__file__)"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/brunomor/lib/python/CCL/pyccl/__init__.py", line 46, in <module>
    from .cosmology import *
  File "/Users/brunomor/lib/python/CCL/pyccl/cosmology.py", line 64, in <module>
    'emulator': lib.emulator_linpk
                ^^^^^^^^^^^^^^^^^^
AttributeError: module 'pyccl.ccllib' has no attribute 'emulator_linpk'

Any suggestions?

Thanks!

@damonge
Copy link
Collaborator

damonge commented Aug 31, 2023

Most likely explanation is that there is some lingering old version of the library which hasn't been purged. I'd uninstall, ensure there's no remnant of CCL, and then reinstall with v3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants