Skip to content

ContextualVersionConflict in Google Colab #57

Description

@fepegar

Hi,

I'm having a lot of trouble with this package on Google Colab:

!pip install --quiet niwidgets
from niwidgets import NiftiWidget
---------------------------------------------------------------------------
ContextualVersionConflict                 Traceback (most recent call last)
<ipython-input-2-80347fcf605d> in <module>()
      1 get_ipython().system('pip install --quiet niwidgets')
----> 2 from niwidgets import NiftiWidget

5 frames
/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py in resolve(self, requirements, env, installer, replace_conflicting, extras)
    789                 # Oops, the "best" so far conflicts with a dependency
    790                 dependent_req = required_by[req]
--> 791                 raise VersionConflict(dist, req).with_context(dependent_req)
    792 
    793             # push the new requirements onto the stack

ContextualVersionConflict: (nibabel 2.3.3 (/usr/local/lib/python3.6/dist-packages), Requirement.parse('nibabel<3.0,>=2.4'), {'niwidgets'})

Can the requirements be made a bit more flexible or updated?

Here's the notebook: https://colab.research.google.com/drive/1k6QK75t0Ab1Zo-_j2YG3x85EvRSVjGLT

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions