-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
conda env export lists conda packges with "_" (underscore) twice, as conda and as pip #4445
Comments
Is this still an issue in later versions of conda 4.3? Latest is 4.3.18. |
Yes, I just tested with the following setup:
I end up with the following entry in the - !!python/unicode
'jupyter_client=4.4.0=py27_0' and a duplicate listing in the - jupyter-client==4.4.0 Note the listing in the |
The issue stems from the following section code for pip_pkg in installed(prefix, output=output):
if pip_pkg['name'] in conda_names and 'path' not in pip_pkg:
continue
installed_pkgs.add(str(pip_pkg)) The Any thoughts? |
I believe this was fixed in PR #6438 |
Hi there, thank you for your contribution to Conda! This issue has been automatically locked since it has not had recent activity after it was closed. Please open a new issue if needed. |
This is seen with conda 4.3.8
conda env export
will list packages with an underscore in their name twice, once as a conda dependency, and once as a pip dependency with the underscore changed to a dash.For example, the "jupyter_client" package is also listed as "jupyter-client" under the pip section.
Reproduce with:
conda create -y -n doublelist python=3.5
source activate doublelist
conda install -y jupyter_client
conda env export
Environment:
The text was updated successfully, but these errors were encountered: