Skip to content

Problem Build Mac #2

Open
Open

Description

@jeamick

Hello,

When I tried to run the script python I can even run it using python 3.6 even if I have all the necessary libraries installed...

Any ideas ?

I am using a Mac book pro with MacOs Mojave

Activity

  1. jeamick commented on Jan 29, 2019

    @jeamick
    Author

    python 2.7 I suppose @yihuang ?

  2. yihuang commented on Jan 30, 2019

    @yihuang
    Collaborator

    What errors do you encountered?

  3. jeamick commented on Jan 30, 2019

    @jeamick
    Author

    It is like I can not import the cardano module....
    So strange....
    @yihuang
    error :

    ModuleNotFoundError: No module named 'main.utils'; 'main' is not a package

  4. yihuang commented on Jan 30, 2019

    @yihuang
    Collaborator

    You should use python -mcardano.xxx to run specific module.

  5. jeamick commented on Jan 30, 2019

    @jeamick
    Author

    so instead of using python scripts/pycardano.py run
    I will use something like : python -mcardano.xx scripts/pycardano.py ?

    so this command : python scripts/pycardano.py run is not working ?
    @yihuang

  6. yihuang commented on Jan 30, 2019

    @yihuang
    Collaborator

    This command python scripts/pycardano.py does work, i think the error you have is because you try to run other modules like this.

  7. jeamick commented on Jan 30, 2019

    @jeamick
    Author

    I try to only run this command and I had the error about main package...
    @yihuang

    this is the log :
    Traceback (most recent call last):
    File "scripts/pycardano.py", line 13, in
    from cardano.transport import Transport, normalize_endpoint_addr
    ModuleNotFoundError: No module named 'cardano'
    (.env) ch-m10025:python-cardano JNOU$ python scripts/pycardano.py
    Traceback (most recent call last):
    File "scripts/pycardano.py", line 13, in
    from cardano.transport import Transport, normalize_endpoint_addr
    ModuleNotFoundError: No module named 'cardano'

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

      Issue actions