Skip to content
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

[BUG] Still seeing importlib.metadata issues. #39

Open
shareefj opened this issue Jan 23, 2024 · 0 comments
Open

[BUG] Still seeing importlib.metadata issues. #39

shareefj opened this issue Jan 23, 2024 · 0 comments

Comments

@shareefj
Copy link

Describe the bug
See #16 for the background.

In order to replicate, run the following to perform an editable installation of peakrdl-regblock:

$ mkdir testcase
$ cd testcase/
$ python3.10 -m venv venv
$ . venv/bin/activate
$ pip install peakrdl
$ to ../PeakRDL-regblock
$ pip install -e .
$ peakrdl help
Traceback (most recent call last):
  File "/home/shareefj/git/testcase/venv/bin/peakrdl", line 8, in <module>
    sys.exit(main())
  File "/home/shareefj/git/testcase/venv/lib/python3.10/site-packages/peakrdl/main.py", line 135, in main
    raise RuntimeError(f"More than one exporter plugin was registered with the same name '{sc.name}': \n\t{sc_dict[sc.name]}\n\t{sc}")
RuntimeError: More than one exporter plugin was registered with the same name 'regblock':
        <peakrdl_regblock.__peakrdl__.Exporter object at 0x7fe3f0835390>
        <peakrdl_regblock.__peakrdl__.Exporter object at 0x7fe3f0339bd0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant