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

Closed
movermeyer opened this issue Oct 26, 2015 · 2 comments
Closed

Comments

@movermeyer
Copy link
Contributor

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/__init__.py", line 5, in <module>
    from .tool import HOCONConverter  # noqa
  File "/usr/lib/python2.6/site-packages/pyhocon/tool.py", 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.

@darthbear
Copy link
Member

Thanks @movermeyer for the fix!

@movermeyer
Copy link
Contributor Author

Thanks @darthbear for being so responsive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants