ContinuumIO / anaconda-issues

Anaconda issue tracking
646 stars 220 forks source link

conda install overwrites prior pip install #9982

Open pankajkumar229 opened 6 years ago

pankajkumar229 commented 6 years ago

I have a conda installation and I am using source version of a module(Jupyter notebook) that is also in conda. I source activate conda. Then I install Jupyter using "pip install -e source/jupyter" (Jupyter version 4.3) If I install another package now, for eg, r or r-essentials which has Jupyter as a dependency by doing "conda install r-essentials", I get another Jupyter notebook which is the one that trumps the 4.3 Jupyter with my local changes.

Is there a way for conda to take into account the packages installed using pip?

mingwandroid commented 6 years ago

You could install jupyter notebook locally? Though there's a good argument to be made for conda ignoring ~/.local altogether (or maybe just in non-base environments.

We will not be removing jupyter notebook as a dependency if r-essentials though!

Another option is to iterate on the source via a conda-build recipe. You could fork ours and change the source path to a local folder for example.

On Sun, Aug 26, 2018, 12:12 AM pankaj kumar notifications@github.com wrote:

I have a conda installation and I am using source version of a module(Jupyter notebook) that is also in conda. I source activate conda. Then I install Jupyter using "pip install -e source/jupyter" (Jupyter version 4.3) If I install another package now, for eg, r or r-essentials which has Jupyter as a dependency by doing "conda install r-essentials", I get another Jupyter notebook which is the one that trumps the 4.3 Jupyter with my local changes.

Is there a way for conda to take into account the packages installed using pip?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ContinuumIO/anaconda-issues/issues/9982, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_pdItdLIbV8oczEtJmpvDSEt5dz7-zks5uUdnPgaJpZM4WMkag .