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

Version conflict on colab #116

Closed
ShivanshuPurohit opened this issue Feb 8, 2021 · 0 comments
Closed

Version conflict on colab #116

ShivanshuPurohit opened this issue Feb 8, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@ShivanshuPurohit
Copy link
Contributor

ShivanshuPurohit commented Feb 8, 2021

Describe the bug
Using pytorch 1.7.1 results in an error while keeping it at 1.7.0 (default on colab) rectifies it

To Reproduce
Steps to reproduce the behavior:
!pip install -r requirements.txt

Results in

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 568, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 886, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 777, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (torch 1.7.1 (/usr/local/lib/python3.6/dist-packages), Requirement.parse('torch==1.7.0'), {'torchvision'})
@ShivanshuPurohit ShivanshuPurohit added the bug Something isn't working label Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant