# Not able to install Git extension in my Jupyter notebook opened through Binder

**URL:** <https://discourse.jupyter.org/t/not-able-to-install-git-extension-in-my-jupyter-notebook-opened-through-binder/12230>\
**Category:** extensions\
**Tags:** how-to, help-wanted\
**Created:** [December 16, 2021, 2:21am UTC](https://discourse.jupyter.org/t/not-able-to-install-git-extension-in-my-jupyter-notebook-opened-through-binder/12230 "2021-12-16T02:21:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gadabout0](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/gadabout0/32/6001_2.png) [@gadabout0](https://discourse.jupyter.org/u/gadabout0)\
**Post date:** [December 16, 2021, 2:21am UTC](https://discourse.jupyter.org/t/not-able-to-install-git-extension-in-my-jupyter-notebook-opened-through-binder/12230/1 "2021-12-16T02:21:11Z")

</div>

I am new to coding, can you guys suggest how to go ahead . I am stuck for some time now. Sometimes the build fails showing 504 error and sometimes the environment is inconsistent, please check the package plan carefully  
The following packages are causing the inconsistency:

- defaults/osx-64::\_ipyw\_jlab\_nb\_ext\_conf==0.1.0=py38\_0
- defaults/osx-64::anaconda==2021.05=py38\_0
-

---

<div class="post-metadata">

**Author:** ![bollwyvl](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/bollwyvl/32/904_2.png) [@bollwyvl](https://discourse.jupyter.org/u/bollwyvl)\
**Post date:** [December 16, 2021, 1:58pm UTC](https://discourse.jupyter.org/t/not-able-to-install-git-extension-in-my-jupyter-notebook-opened-through-binder/12230/2 "2021-12-16T13:58:58Z")

</div>

[MyBinder.org](http://MyBinder.org) (and to my knowledge all other binders) run user environments in in Linux containers, so manually-specified dependencies on osx packages would definitely cause a problem!

If this a local issue: installing new things into the anaconda `base` environment can be peril-fraught. Some options:

- upgrade anaconda (there’s probably a newer release, maybe it will work with what you’re trying to install)
- create a smaller conda environment that has _just_ the things you need for the notebook in question

---

<div class="post-metadata">

**Author:** ![gadabout0](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/gadabout0/32/6001_2.png) [@gadabout0](https://discourse.jupyter.org/u/gadabout0)\
**Post date:** [December 17, 2021, 5:20am UTC](https://discourse.jupyter.org/t/not-able-to-install-git-extension-in-my-jupyter-notebook-opened-through-binder/12230/3 "2021-12-17T05:20:00Z")

</div>

Can you guide me how to create a smaller conda environment. I am basically learning a Geo-Python course in which I had an assignment where I have to use Git to update my exercises. But I’m stuck at the first step, the extension is not getting installed. I don’t have coding background so please it would be very kind of you guys to suggest how to get this thing done.

I opened a binder notebook through Jupyterlab git extension page, in that notebook git extension is already installed and showing on the extension manager as well.

---

<div class="post-metadata">

**Author:** ![bollwyvl](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/bollwyvl/32/904_2.png) [@bollwyvl](https://discourse.jupyter.org/u/bollwyvl)\
**Post date:** [December 17, 2021, 1:20pm UTC](https://discourse.jupyter.org/t/not-able-to-install-git-extension-in-my-jupyter-notebook-opened-through-binder/12230/4 "2021-12-17T13:20:03Z")

</div>

- create an `environment.yml` that has all the things you need.

- open an `Anaconda Prompt` or otherwise “activate” the anaconda base env

- create the new env

- activate the new env

- start jupyterlab in the directory where your repo is

- if you run into problems, capture the logs, they are very helpful
