# UnsatisfiableError with a viz package

**URL:** <https://renku.discourse.group/t/unsatisfiableerror-with-a-viz-package/68>\
**Category:** RenkuLab\
**Created:** [18 March 2020 16:30 UTC](https://renku.discourse.group/t/unsatisfiableerror-with-a-viz-package/68 "2020-03-18T16:30:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![loleg](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/loleg/32/43_2.png) [@loleg](https://renku.discourse.group/u/loleg)\
**Post date:** [18 March 2020 16:30 UTC](https://renku.discourse.group/t/unsatisfiableerror-with-a-viz-package/68/1 "2020-03-18T16:30:37Z")

</div>

Hi there! Just running into a Python dependency issue trying to use Vega from [https://github.com/vega/ipyvega](https://github.com/vega/ipyvega) Anyone dealt with this kind of issue before? How does one pin versions in the requirements file, anyway?

```auto
UnsatisfiableError: The following specifications were found to be incompatible with a past
explicit spec that is not an explicit spec in this operation (notebook):

  - vega -> notebook[version='>=4.2']

```

> **[image\_build (#25428) · Jobs · Oleg Lavrovsky / Swiss hospitals](https://renkulab.io/gitlab/oleg/swiss-hospitals/-/jobs/25428)**
>
> Investigation of hospital infrastructure and bed capacity in Switzerland. Part of the "Monitoring COVID19 effects" hackathon at https://db.schoolofdata.ch/project/68

---

<div class="post-metadata">

**Author:** ![rrrrrok](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/rrrrrok/32/117_2.png) [@rrrrrok](https://renku.discourse.group/u/rrrrrok)\
**Post date:** [18 March 2020 16:47 UTC](https://renku.discourse.group/t/unsatisfiableerror-with-a-viz-package/68/2 "2020-03-18T16:47:18Z")

</div>

Hi @loleg, thanks for raising this problem - it looks like the latest conda is installed and potentially causing problems. Can you try installing with `pip`?

---

<div class="post-metadata">

**Author:** ![rrrrrok](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/rrrrrok/32/117_2.png) [@rrrrrok](https://renku.discourse.group/u/rrrrrok)\
**Post date:** [18 March 2020 16:59 UTC](https://renku.discourse.group/t/unsatisfiableerror-with-a-viz-package/68/3 "2020-03-18T16:59:30Z")

</div>

It looks like the conda version is pinned somewhere - I’m trying to locate where that is. Could be in the base image from the jupyter docker stack that we are using…

---

<div class="post-metadata">

**Author:** ![loleg](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/loleg/32/43_2.png) [@loleg](https://renku.discourse.group/u/loleg)\
**Post date:** [18 March 2020 22:20 UTC](https://renku.discourse.group/t/unsatisfiableerror-with-a-viz-package/68/4 "2020-03-18T22:20:32Z")

</div>

Sure: I get a slightly different looking but essentially same error at [https://renkulab.io/gitlab/oleg/swiss-hospitals/-/jobs/25492](https://renkulab.io/gitlab/oleg/swiss-hospitals/-/jobs/25492)

---

<div class="post-metadata">

**Author:** ![rrrrrok](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/rrrrrok/32/117_2.png) [@rrrrrok](https://renku.discourse.group/u/rrrrrok)\
**Post date:** [18 March 2020 23:39 UTC](https://renku.discourse.group/t/unsatisfiableerror-with-a-viz-package/68/5 "2020-03-18T23:39:34Z")

</div>

I think I’ve gotten to the root of it - the base jupyter images we’re using lock down the conda channels and enforce strict channel order for package dependency resolution. Apparently this has caused conda to completely melt down in this case. I removed the line that enforces the channel order in this [`Dockerfile`](https://renkulab.io/projects/rok.roskar/swiss-hospitals/files/blob/Dockerfile) and it seems to work.

---

<div class="post-metadata">

**Author:** ![loleg](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/loleg/32/43_2.png) [@loleg](https://renku.discourse.group/u/loleg)\
**Post date:** [1 April 2020 17:47 UTC](https://renku.discourse.group/t/unsatisfiableerror-with-a-viz-package/68/6 "2020-04-01T17:47:10Z")

</div>

This did fix the issue 🎉 thanks @rrrrrok

My next question: is there any way I can create a merge request in GitLab from your repository to ours? Or let me put it another way - where do you have guidelines for people to collaborate, sync their forks, etc.?

---

<div class="post-metadata">

**Author:** ![rrrrrok](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/rrrrrok/32/117_2.png) [@rrrrrok](https://renku.discourse.group/u/rrrrrok)\
**Post date:** [1 April 2020 19:14 UTC](https://renku.discourse.group/t/unsatisfiableerror-with-a-viz-package/68/7 "2020-04-01T19:14:51Z")

</div>

Yes you can initiate a merge request from the source repo to your fork. Alternatively, you can start a session and do the following in the terminal:

```auto
git remote add upstream https://renkulab.io/gitlab/covid-19/covid-19-public-data.git
git fetch upstream 
git merge upstream/master

```

Sadly we lack the documentation for this at the moment - I need to add it at least to the readme of the covid-19 public data project - is that the fork you want to update? In general, if you want to frequently pull the data in from the source repo it’s best if you don’t work on the same notebooks and data directories in your fork so you can avoid merge conflicts.
