Discussion:
[conda] What does it mean when multiple versions of same depdenency appear in conda list?
Chris Stromberger
2018-10-09 21:44:09 UTC
Permalink
When I run "conda list" in my environment, I see this among the
dependencies:

regex 2017.11.09 py36_0 conda-forge
regex 2016.1.10 <pip>


What does it mean when two versions are listed for the same dependency?


Thanks,
Chris
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/e974fd8c-bfbe-406a-8e5f-1ec7135c4376%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Paul Hobson
2018-10-09 21:47:49 UTC
Permalink
Looks like you installed via pip (or it came when you pip-installed another
package), and then you later installed through conda.

I would remove the pip version, so that conda can manage it when you use
e.g., `conda update --all`

`pip uninstall regex` should do the trick.
-paul

On Tue, Oct 9, 2018 at 2:44 PM Chris Stromberger <
Post by Chris Stromberger
When I run "conda list" in my environment, I see this among the
regex 2017.11.09 py36_0 conda-forge
regex 2016.1.10 <pip>
What does it mean when two versions are listed for the same dependency?
Thanks,
Chris
--
You received this message because you are subscribed to the Google Groups
"conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit
https://groups.google.com/a/continuum.io/d/msgid/conda/e974fd8c-bfbe-406a-8e5f-1ec7135c4376%40continuum.io
<https://groups.google.com/a/continuum.io/d/msgid/conda/e974fd8c-bfbe-406a-8e5f-1ec7135c4376%40continuum.io?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/CADT3MEAK%2BBLojFp5246rBWL44wXPFzwr6WP-3K_-g%2BYb6NOpUw%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Chris Stromberger
2018-10-09 21:54:56 UTC
Permalink
Ok thanks. So how does this dependency get resolved if left like this?

Do pip-installed dependencies get installed in a different "place" than
conda-installed ones? Curious about how pip and conda interact when pip
used within a conda environment.
Post by Paul Hobson
Looks like you installed via pip (or it came when you pip-installed
another package), and then you later installed through conda.
I would remove the pip version, so that conda can manage it when you use
e.g., `conda update --all`
`pip uninstall regex` should do the trick.
-paul
Post by Chris Stromberger
When I run "conda list" in my environment, I see this among the
regex 2017.11.09 py36_0 conda-forge
regex 2016.1.10 <pip>
What does it mean when two versions are listed for the same dependency?
Thanks,
Chris
--
You received this message because you are subscribed to the Google Groups
"conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/a/continuum.io/group/conda/
.
To view this discussion on the web visit
https://groups.google.com/a/continuum.io/d/msgid/conda/e974fd8c-bfbe-406a-8e5f-1ec7135c4376%40continuum.io
<https://groups.google.com/a/continuum.io/d/msgid/conda/e974fd8c-bfbe-406a-8e5f-1ec7135c4376%40continuum.io?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/a/continuum.io/d/optout
.
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/f022cb52-2822-4a61-8351-b55106d9a25c%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Paul Hobson
2018-10-09 22:17:21 UTC
Permalink
conda will only interact with (e.g., update, remove) the conda package.
Same story with pip and it's package. Everything ends up in the same place
(unless you installed from a local directory with `pip install -e .`

But conda, I think, is less aware of pip-installed packages than pip is
aware of conda-installed packages.


On Tue, Oct 9, 2018 at 2:54 PM Chris Stromberger <
Post by Chris Stromberger
Ok thanks. So how does this dependency get resolved if left like this?
Do pip-installed dependencies get installed in a different "place" than
conda-installed ones? Curious about how pip and conda interact when pip
used within a conda environment.
Post by Paul Hobson
Looks like you installed via pip (or it came when you pip-installed
another package), and then you later installed through conda.
I would remove the pip version, so that conda can manage it when you use
e.g., `conda update --all`
`pip uninstall regex` should do the trick.
-paul
Post by Chris Stromberger
When I run "conda list" in my environment, I see this among the
regex 2017.11.09 py36_0 conda-forge
regex 2016.1.10 <pip>
What does it mean when two versions are listed for the same dependency?
Thanks,
Chris
--
You received this message because you are subscribed to the Google
Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at
https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit
https://groups.google.com/a/continuum.io/d/msgid/conda/e974fd8c-bfbe-406a-8e5f-1ec7135c4376%40continuum.io
<https://groups.google.com/a/continuum.io/d/msgid/conda/e974fd8c-bfbe-406a-8e5f-1ec7135c4376%40continuum.io?utm_medium=email&utm_source=footer>
.
For more options, visit
https://groups.google.com/a/continuum.io/d/optout.
--
You received this message because you are subscribed to the Google Groups
"conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit
https://groups.google.com/a/continuum.io/d/msgid/conda/f022cb52-2822-4a61-8351-b55106d9a25c%40continuum.io
<https://groups.google.com/a/continuum.io/d/msgid/conda/f022cb52-2822-4a61-8351-b55106d9a25c%40continuum.io?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/CADT3MEA94PNQmEpmi9PgwRW5AWmSErxXsMML%2BHJzP8CBuLV4YA%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Chris Stromberger
2018-10-09 23:36:07 UTC
Permalink
I see. So let's say a script running in this conda environment does an
"import regex", which one will it import?
Post by Paul Hobson
conda will only interact with (e.g., update, remove) the conda package.
Same story with pip and it's package. Everything ends up in the same place
(unless you installed from a local directory with `pip install -e .`
But conda, I think, is less aware of pip-installed packages than pip is
aware of conda-installed packages.
Post by Chris Stromberger
Ok thanks. So how does this dependency get resolved if left like this?
Do pip-installed dependencies get installed in a different "place" than
conda-installed ones? Curious about how pip and conda interact when pip
used within a conda environment.
Post by Paul Hobson
Looks like you installed via pip (or it came when you pip-installed
another package), and then you later installed through conda.
I would remove the pip version, so that conda can manage it when you use
e.g., `conda update --all`
`pip uninstall regex` should do the trick.
-paul
Post by Chris Stromberger
When I run "conda list" in my environment, I see this among the
regex 2017.11.09 py36_0 conda-forge
regex 2016.1.10 <pip>
What does it mean when two versions are listed for the same dependency?
Thanks,
Chris
--
You received this message because you are subscribed to the Google
Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at
https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit
https://groups.google.com/a/continuum.io/d/msgid/conda/e974fd8c-bfbe-406a-8e5f-1ec7135c4376%40continuum.io
<https://groups.google.com/a/continuum.io/d/msgid/conda/e974fd8c-bfbe-406a-8e5f-1ec7135c4376%40continuum.io?utm_medium=email&utm_source=footer>
.
For more options, visit
https://groups.google.com/a/continuum.io/d/optout.
--
You received this message because you are subscribed to the Google Groups
"conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/a/continuum.io/group/conda/
.
To view this discussion on the web visit
https://groups.google.com/a/continuum.io/d/msgid/conda/f022cb52-2822-4a61-8351-b55106d9a25c%40continuum.io
<https://groups.google.com/a/continuum.io/d/msgid/conda/f022cb52-2822-4a61-8351-b55106d9a25c%40continuum.io?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/a/continuum.io/d/optout
.
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/0afb1c3e-3230-4378-81ad-6309b18ff32c%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Paul Hobson
2018-10-09 23:44:32 UTC
Permalink
I have no idea. You'd have to test it out yourself.
import regex
print(regex.__file__)

On Tue, Oct 9, 2018 at 4:36 PM Chris Stromberger <
Post by Chris Stromberger
I see. So let's say a script running in this conda environment does an
"import regex", which one will it import?
Post by Paul Hobson
conda will only interact with (e.g., update, remove) the conda package.
Same story with pip and it's package. Everything ends up in the same place
(unless you installed from a local directory with `pip install -e .`
But conda, I think, is less aware of pip-installed packages than pip is
aware of conda-installed packages.
Post by Chris Stromberger
Ok thanks. So how does this dependency get resolved if left like this?
Do pip-installed dependencies get installed in a different "place" than
conda-installed ones? Curious about how pip and conda interact when pip
used within a conda environment.
Post by Paul Hobson
Looks like you installed via pip (or it came when you pip-installed
another package), and then you later installed through conda.
I would remove the pip version, so that conda can manage it when you
use e.g., `conda update --all`
`pip uninstall regex` should do the trick.
-paul
Post by Chris Stromberger
When I run "conda list" in my environment, I see this among the
regex 2017.11.09 py36_0 conda-forge
regex 2016.1.10 <pip>
What does it mean when two versions are listed for the same dependency?
Thanks,
Chris
--
You received this message because you are subscribed to the Google
Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at
https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit
https://groups.google.com/a/continuum.io/d/msgid/conda/e974fd8c-bfbe-406a-8e5f-1ec7135c4376%40continuum.io
<https://groups.google.com/a/continuum.io/d/msgid/conda/e974fd8c-bfbe-406a-8e5f-1ec7135c4376%40continuum.io?utm_medium=email&utm_source=footer>
.
For more options, visit
https://groups.google.com/a/continuum.io/d/optout.
--
You received this message because you are subscribed to the Google
Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at
https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit
https://groups.google.com/a/continuum.io/d/msgid/conda/f022cb52-2822-4a61-8351-b55106d9a25c%40continuum.io
<https://groups.google.com/a/continuum.io/d/msgid/conda/f022cb52-2822-4a61-8351-b55106d9a25c%40continuum.io?utm_medium=email&utm_source=footer>
.
For more options, visit
https://groups.google.com/a/continuum.io/d/optout.
--
You received this message because you are subscribed to the Google Groups
"conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit
https://groups.google.com/a/continuum.io/d/msgid/conda/0afb1c3e-3230-4378-81ad-6309b18ff32c%40continuum.io
<https://groups.google.com/a/continuum.io/d/msgid/conda/0afb1c3e-3230-4378-81ad-6309b18ff32c%40continuum.io?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/CADT3MECjd-DnsTbOP0c0%2B3KF6__qGonJ6p1XkYHYwUPYjV8jhA%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Loading...