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

Ensure backend is initialized on import #275

Merged
merged 2 commits into from
Jan 14, 2019
Merged

Conversation

philippjfr
Copy link
Member

@TimoRoth
Copy link

I'm getting errors after upgrading to 1.6.1 due to this:

Traceback (most recent call last):
  File "./app.py", line 18, in <module>
    import geoviews as gv
  File "/home/users/timo/oggm_venv/lib/python3.7/site-packages/geoviews/__init__.py", line 30, in <module>
    if extension._loaded:
AttributeError: type object 'extension' has no attribute '_loaded'

frozen environment: https://bpaste.net/show/70053f841805

@philippjfr
Copy link
Member Author

@TimoRoth You will have to upgrade holoviews to a minimum of 1.11.0 and pyviz_comms to a minimum of 0.7.0.

@philippjfr
Copy link
Member Author

Hmm, your environment seems to indicate you have those versions. Not quite sure how this could happen with those versions but I'll have a look.

@philippjfr
Copy link
Member Author

Okay nevermind, I can see how it can happen. I'll push a fix shortly and then tag 1.6.2.

@philippjfr philippjfr deleted the initialize_backend branch March 22, 2020 12:33
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

Successfully merging this pull request may close these issues.

2 participants