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

Failed to configure #70

Open
albydnc opened this issue Nov 1, 2022 · 3 comments
Open

Failed to configure #70

albydnc opened this issue Nov 1, 2022 · 3 comments

Comments

@albydnc
Copy link

albydnc commented Nov 1, 2022

I am trying to configure PoC for GHDL under Fedora 35.
When I run the sh script I get:

$ ~/PoC/poc.sh configure GHDL
IMPORT ERROR: One or more Python packages are not available in your environment.
Missing package: 'collections'

Run: 'python3 -m pip install -r requirements.txt'

I am running on Python 3.10.7 and it has collections.

@stefanunrein
Copy link

I have no in-depth knowledge about the scripting part. @Paebbels can you help with this problem?

@kbc-mh
Copy link

kbc-mh commented Nov 24, 2022

I ran into the same problem today.
I tried it with Python 3.11.0 / 3.9.12 / 3.7.9 under Windows10, in virtual env.
I have not found the source of the problem yet. Any help would be highly appreciated.

@poneill1001
Copy link

I had the same issue and was able to fix it by changing the line 41 in PoC\lib\pyIPCMI\lib\ExtendedConfigParser_init_.py:

from collections import OrderedDict as _default_dict, ChainMap as _ChainMap, MutableMapping

To:

from collections import OrderedDict as _default_dict, ChainMap as _ChainMap
from collections.abc import MutableMapping

Apparently after Python 3.5 MutableMapping was deprecated in collections and relocated to the collections.abc package. I do not know the full extent of behavior across all the versions to suggest most appropriate fix for the code base.

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

4 participants