You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
Activity
jeamick commentedon Jan 29, 2019
python 2.7 I suppose @yihuang ?
yihuang commentedon Jan 30, 2019
What errors do you encountered?
jeamick commentedon Jan 30, 2019
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
yihuang commentedon Jan 30, 2019
You should use
python -mcardano.xxxto run specific module.jeamick commentedon Jan 30, 2019
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
yihuang commentedon Jan 30, 2019
This command
python scripts/pycardano.pydoes work, i think the error you have is because you try to run other modules like this.jeamick commentedon Jan 30, 2019
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'