KE-works / pykechain

Open source Python API to KE-chain 2
http://pykechain.readthedocs.io
Apache License 2.0
4 stars 3 forks source link

if pykechain is installed in the system site-packages it gives an no env file warning when importing #31

Closed jberends closed 7 years ago

jberends commented 7 years ago
  1. install pykechain in the system sitepackages (not a virtualenv)
  2. start a python interpreter
  3. write >>> import pykchain
  4. see the warning:
Python 3.4.4 (default, Mar 15 2016, 14:38:45)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-16)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pykechain
/usr/lib/python3.4/site-packages/envparse.py:195: UserWarning: Could not any envfile.
  warnings.warn('Could not any envfile.')
>>> exit()

culprit is https://github.com/KE-works/pykechain/blob/master/pykechain/client.py#L21

jberends commented 7 years ago

will be fixed in pullrequest #40