okigan / awscurl

curl-like access to AWS resources with AWS Signature Version 4 request signing.
MIT License
755 stars 94 forks source link

ModuleNotFoundError #107

Closed olive13400 closed 3 years ago

olive13400 commented 3 years ago

Hi I just tested but I run a Centos 6.10, python 3.6

~/test/testV2/awscurl-0.21/awscurl $ ./awscurl.py --service s3 https://awscurl-sample-bucket.s3.amazonaws.com Traceback (most recent call last): File "./awscurl.py", line 19, in from .utils import sha256_hash, sha256_hash_for_binary_data, sign ModuleNotFoundError: No module named 'main.utils'; 'main' is not a package

May you help me?

regards

okigan commented 3 years ago

Interesting -- I don't have CentOs as test target maybe because of that?

Have you tried running through docker as shown in readme file?

okigan commented 3 years ago

@olive13400 i've just added ci-in-docker.sh file that would very builds and test in ubuntu and centos -- all test when I run it. please verify (build takes a while) that it passes on your system too.

okigan commented 3 years ago

@olive13400 bumping up the thread to avoid it going cold/closed.