Skip to content

Python2 vs Python3Β #18

@woywoy123

Description

@woywoy123

An issue has been reported where running the code with python3 will result in an error similar to;

Traceback (most recent call last):
File "main.py", line 6, in
from HayStack_API import HayStack, Run_HayStack_Client
File "/home/XXX/github/Haystack/Test_Clients/a/HayStack_API.py", line 6, in
from DynamicPublicLedger_Module import Dynamic_Public_Ledger
File "/home/XXX/github/Haystack/Test_Clients/a/DynamicPublicLedger_Module.py", line 6, in
from User_Modules import User_Profile
File "/home/XXX/github/Haystack/Test_Clients/a/User_Modules.py", line 10, in
class Initialization(Configuration, Tools):
TypeError: Cannot create a consistent method resolution
order (MRO) for bases Configuration, Tools

This error is from the fact that in python2 the representation of string is different than to python3.

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

    Issue actions