jonashaag / micromamba-pycharm

Use Micromamba environments in PyCharm
65 stars 2 forks source link

Package versions not reported correctly #16

Closed giamic closed 6 months ago

giamic commented 6 months ago

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

jonashaag commented 6 months ago

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

giamic commented 6 months ago

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

jonashaag commented 6 months ago

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