Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyhocon is missing the argparse dependency when installed for Python 2.6 #53

movermeyer opened this issue Oct 26, 2015 · 2 comments


Copy link

@movermeyer movermeyer commented Oct 26, 2015

When you install pyhocon for Python 2.6:

pip install pyhocon

It does not download the 'argparse' dependency automatically. Note that this library is included in the standard library for Python >= 2.7 and >= 3.2

If you try to use the pyhocon library without it, you get:

>>> import pyhocon
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/site-packages/pyhocon/", line 5, in <module>
    from .tool import HOCONConverter  # noqa
  File "/usr/lib/python2.6/site-packages/pyhocon/", line 1, in <module>
    import argparse
ImportError: No module named argparse

It seems that pyhocon supports Python 2.6, given that the package is in the Python 2.6 pypi category.

Copy link

@darthbear darthbear commented Oct 27, 2015

Thanks @movermeyer for the fix!

@darthbear darthbear closed this Oct 27, 2015
Copy link
Contributor Author

@movermeyer movermeyer commented Oct 27, 2015

Thanks @darthbear for being so responsive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants