jonashaag/micromamba-pycharm

Package versions not reported correctly

Closed this issue · 3 comments

When I inspect the installed packages, PyCharm is unable to identify the version of the packages. Here is what happens inside the settings: Package and last version are blank, while version reports the name of the package, preceded by a column header Name.

Screenshot 2024-05-09 at 11 37 08

What's your PyCharm and Micromamba versions? Please post your logs also

After reading your message, I've updated everything and especially the code in this repo. Now only the Latest Version is missing, while Package and Version look correct.

I'm using PyCharm 2024.1.1 and micromamba 1.5.8. Logs:

Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['run', '-p', '/Users/micchig/micromamba', '--no-capture-output', 'python', '/Users/micchig/Applications/PyCharm Professional Edition.app/Contents/plugins/python/helpers/conda_packaging_tool.py', 'listall']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['run', '-p', '/Users/micchig/micromamba', '--no-capture-output', 'python', '/Users/micchig/Applications/PyCharm Professional Edition.app/Contents/plugins/python/helpers/conda_packaging_tool.py', 'listall']
Attempting to run: ['list', '-p', '/Users/micchig/micromamba/envs/x']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['run', '-p', '/Users/micchig/micromamba', '--no-capture-output', 'python', '/Users/micchig/Applications/PyCharm Professional Edition.app/Contents/plugins/python/helpers/conda_packaging_tool.py', 'listall']
Attempting to run: ['list', '-p', '/Users/micchig/micromamba/envs/x']
Attempting to run: ['list', '-p', '/Users/micchig/micromamba/envs/y']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['run', '-p', '/Users/micchig/micromamba', '--no-capture-output', 'python', '/Users/micchig/Applications/PyCharm Professional Edition.app/Contents/plugins/python/helpers/conda_packaging_tool.py', 'listall']
Attempting to run: ['list', '-p', '/Users/micchig/micromamba/envs/x']
Attempting to run: ['list', '-p', '/Users/micchig/micromamba/envs/z']
Attempting to run: ['list', '-p', '/Users/micchig/micromamba/envs/y']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['run', '-p', '/Users/micchig/micromamba', '--no-capture-output', 'python', '/Users/micchig/Applications/PyCharm Professional Edition.app/Contents/plugins/python/helpers/conda_packaging_tool.py', 'listall']

Screenshot 2024-05-09 at 16 17 01

Yes that one has never worked. Happy to accept a PR but it's not planned on my end