Can't install openmc-plotter

I used: pip install openmc-plotter, and I got that error, should I update openmc?

Is it possible that you already have a version of openmc-plotter installed? The message there makes it seem as though it’s trying to install two different versions of openmc-plotter. You may want to try uninstalling openmc-plotter first if you do indeed have a version installed already.

Thank you so much for your help! I tried to install it using conda instead op pip and it worked:

1 Like

I’m having this same issue. I’ve tried to use conda to install, but when I try, I get the following message:


Followed by this:

Traceback (most recent call last):
File “/opt/anaconda3/lib/python3.8/site-packages/conda/exceptions.py”, line 1125, in call
return func(*args, **kwargs)
File “/opt/anaconda3/lib/python3.8/site-packages/conda/cli/main.py”, line 86, in main_subshell
exit_code = do_call(args, p)
File “/opt/anaconda3/lib/python3.8/site-packages/conda/cli/conda_argparse.py”, line 93, in do_call
return getattr(module, func_name)(args, parser)
File “/opt/anaconda3/lib/python3.8/site-packages/conda/notices/core.py”, line 72, in wrapper
return_value = func(*args, *kwargs)
File “/opt/anaconda3/lib/python3.8/site-packages/conda/cli/main_install.py”, line 22, in execute
install(args, parser, ‘install’)
File “/opt/anaconda3/lib/python3.8/site-packages/conda/cli/install.py”, line 256, in install
unlink_link_transaction = solver.solve_for_transaction(
File “/opt/anaconda3/lib/python3.8/site-packages/conda/core/solve.py”, line 152, in solve_for_transaction
unlink_precs, link_precs = self.solve_for_diff(update_modifier, deps_modifier,
File “/opt/anaconda3/lib/python3.8/site-packages/conda/core/solve.py”, line 195, in solve_for_diff
final_precs = self.solve_final_state(update_modifier, deps_modifier, prune, ignore_pinned,
File “/opt/anaconda3/lib/python3.8/site-packages/conda/core/solve.py”, line 300, in solve_final_state
ssc = self._collect_all_metadata(ssc)
File “/opt/anaconda3/lib/python3.8/site-packages/conda/common/io.py”, line 86, in decorated
return f(args, **kwds)
File “/opt/anaconda3/lib/python3.8/site-packages/conda/core/solve.py”, line 463, in _collect_all_metadata
index, r = self._prepare(prepared_specs)
File “/opt/anaconda3/lib/python3.8/site-packages/conda/core/solve.py”, line 1057, in _prepare
reduced_index = get_reduced_index(self.prefix, self.channels,
File “/opt/anaconda3/lib/python3.8/site-packages/conda/core/index.py”, line 300, in get_reduced_index
push_record(record)
File “/opt/anaconda3/lib/python3.8/site-packages/conda/core/index.py”, line 274, in push_record
combined_depends = record.combined_depends
File “/opt/anaconda3/lib/python3.8/site-packages/conda/models/records.py”, line 340, in combined_depends
result = {ms.name: ms for ms in MatchSpec.merge(self.depends)}
File “/opt/anaconda3/lib/python3.8/site-packages/conda/models/match_spec.py”, line 476, in merge
reduce(lambda x, y: x._merge(y, union), group) if len(group) > 1 else group[0]
File “/opt/anaconda3/lib/python3.8/site-packages/conda/models/match_spec.py”, line 476, in
reduce(lambda x, y: x._merge(y, union), group) if len(group) > 1 else group[0]
File “/opt/anaconda3/lib/python3.8/site-packages/conda/models/match_spec.py”, line 507, in merge
final = this_component.merge(that_component)
File “/opt/anaconda3/lib/python3.8/site-packages/conda/models/match_spec.py”, line 758, in merge
raise ValueError(“Incompatible component merge:\n - %r\n - %r”
ValueError: Incompatible component merge:
- 'mpi_openmpi

- 'mpi_openmpi_tempest

I’m not quite sure what to try. I’ve checked through pip to ensure that I don’t have openmc-plotter installed, but when I try to check through conda, I get a similar message to the one above.

Hey @ewinkler! This was a known issue with conda that I thought had been resolved by this point. I’d recommend either upgrading conda itself before trying to install the plotter or using mamba instead of conda.

Thank you! Unfortunately, upgrading conda didn’t work, but using mamba did the trick.

Unfortunately this issue continues to come and go with conda it seems. The github issue I opened in conda is still open and unresolved, with many comments from other unrelated packages experiencing the same error.