tested web3py/test return an error, detail error and step below: docker pull ubuntu docker run -it --privileged ubuntu /bin/bash
apt update apt install -y git python3-pip cd git clone https://github.com/web2py/web3py cd web3py pip3 install -r requirements.txt pip3 install mechanize cd web3py/tests root@b41c0655fd23:~/web3py/web3py/tests# python3 test_action.py Traceback (most recent call last): File "test_action.py", line 9, in <module> from web3py import action, DAL, Field, Session, Cache ModuleNotFoundError: No module named 'web3py' root@b41c0655fd23:~/web3py/web3py/tests# pip3 install web3py Collecting web3py Using cached https: //files.pythonhosted.org/packages/ee/a2/f57e1fefb0c62b4423fd76ea359d58d2363982054050b8c0ab54ed4b84c5/web3py-0.1.20190426.tar.gz Complete output from command python setup.py egg_info: fatal: not a git repository (or any of the parent directories): .git Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-build-m4zx1t4i/web3py/setup.py", line 25, in <module> long_description=__doc__ + ' (%s)' % get_hash(), File "/tmp/pip-build-m4zx1t4i/web3py/setup.py", line 13, in get_hash return subprocess.check_output(['git', 'rev-parse', 'HEAD']).strip ().decode('utf8') File "/usr/lib/python3.6/subprocess.py", line 336, in check_output **kwargs).stdout File "/usr/lib/python3.6/subprocess.py", line 418, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['git', 'rev-parse', 'HEAD']' returned non-zero exit status 128. ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip- build-m4zx1t4i/web3py/ even run web3py-start in background still got the same error cd ../.. ./web3py-start applications/ & cd web3py/tests root@b41c0655fd23:~/web3py/web3py/tests# python3 test_action.py Traceback (most recent call last): File "test_action.py", line 9, in <module> from web3py import action, DAL, Field, Session, Cache ModuleNotFoundError: No module named 'web3py' the rest of test files (web3py/tests/test_*.py) return the same error. best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.