Hi, I new to Python so forgive me if this is obvious......
I have installed Python 10 (and 13) successfully as admin by using: "pip install smugcli"
I have then tried to execute the command to connect to my SmugMug account: _"smugcli.py login --key= --secret="
but I get this error message:
Traceback (most recent call last):
File "C:\temp\smugcli-master\smugcli-master\smugcli\smugcli.py", line 12, in
from . import smugcli_commands # pylint: disable=wrong-import-position
ImportError: attempted relative import with no known parent package
Even if I just run "smugcli.py", I get the same error.
Have I done something wrong ?
It appears it cant find a dependant package.
Any help appreciated, as I would really like to get this working.
Regards
Anthony
Hi, I new to Python so forgive me if this is obvious......
I have installed Python 10 (and 13) successfully as admin by using: "pip install smugcli"
I have then tried to execute the command to connect to my SmugMug account: _"smugcli.py login --key= --secret="
but I get this error message:
Traceback (most recent call last):
File "C:\temp\smugcli-master\smugcli-master\smugcli\smugcli.py", line 12, in
from . import smugcli_commands # pylint: disable=wrong-import-position
ImportError: attempted relative import with no known parent package
Even if I just run "smugcli.py", I get the same error.
Have I done something wrong ?
It appears it cant find a dependant package.
Any help appreciated, as I would really like to get this working.
Regards
Anthony