py.test - File not found error while testing python impyla -
i trying set connection between python , impala. based on instructions here trying set impyla.
i on vagrant ubuntu/xenial64 box python 2.7.12. after reading some issues latest thrift downgraded specified version. after pip installing , setting environment variables, trying run test failing file not found error, follows:
ubuntu@ubuntu-xenial:~/.local/lib/python2.7/site-packages/impala$ py.test --connect impyla ======================================== test session starts ======================================== platform linux2 -- python 2.7.12, pytest-2.8.7, py-1.4.31, pluggy-0.3.1 rootdir: /home/ubuntu/.local/lib/python2.7/site-packages/impala, inifile: =================================== no tests ran in 0.00 seconds ==================================== error: file not found: impyla ubuntu@ubuntu-xenial:~/.local/lib/python2.7/site-packages/impala$
i think missing out on fundamental here. have no previous experience python tests. stick python 2.7 because of other dependencies.
ps:
- please note latest version provided in repo readme 0.13.1
pip install impyla
came out 0.14.0. - i running test site-package/impala directory readme says in directory impyla is.
- there no mention of inifile in readme (as far see.)
edit 1:
when run site-package directory without --connect
same error. argument, says argument unrecognizable. output follows:
ubuntu@ubuntu-xenial:~/.local/lib/python2.7/site-packages$ py.test --connect impyla usage: py.test [options] [file_or_dir] [file_or_dir] [...] py.test: error: unrecognized arguments: --connect inifile: none rootdir: /home/ubuntu/.local/lib/python2.7/site-packages ubuntu@ubuntu-xenial:~/.local/lib/python2.7/site-packages$
any on how troubleshoot helpful.
Comments
Post a Comment