Skip to content

Failed to configure #70

@albydnc

Description

@albydnc

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.

Activity

stefanunrein

stefanunrein commented on Nov 7, 2022

@stefanunrein

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

kbc-mh

kbc-mh commented on Nov 24, 2022

@kbc-mh

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

poneill1001 commented on Aug 29, 2023

@poneill1001

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @poneill1001@albydnc@stefanunrein@kbc-mh

        Issue actions

          Failed to configure · Issue #70 · VLSI-EDA/PoC