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

Issue building/installing PyYAML-3.12 #50

Closed
StL-Jim opened this issue Feb 5, 2017 · 3 comments
Closed

Issue building/installing PyYAML-3.12 #50

StL-Jim opened this issue Feb 5, 2017 · 3 comments

Comments

@StL-Jim
Copy link

StL-Jim commented Feb 5, 2017

sudo pip install --upgrade pyyaml
Downloading/unpacking pyyaml from https://pypi.python.org/packages/4a/85/db5a2df477072b2902b0eb892feb37d88ac635d36245a72a6a69b23b383a/PyYAML-3.12.tar.gz#md5=4c129761b661d181ebf7ff4eb2d79950
  Downloading PyYAML-3.12.tar.gz (253kB): 253kB downloaded
  Running setup.py (path:/tmp/pip_build_root/pyyaml/setup.py) egg_info for package pyyaml
    Traceback (most recent call last):
      File "<string>", line 3, in <module>
      File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 12, in <module>
        import setuptools.version
      File "/usr/local/lib/python2.7/dist-packages/setuptools/version.py", line 1, in <module>
        import pkg_resources
      File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 70, in <module>
        import packaging.version
    ImportError: No module named packaging.version
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 3, in <module>

  File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 12, in <module>

    import setuptools.version

  File "/usr/local/lib/python2.7/dist-packages/setuptools/version.py", line 1, in <module>

    import pkg_resources

  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 70, in <module>

    import packaging.version

ImportError: No module named packaging.version
@sigmavirus24
Copy link
Contributor

Please look closely at the traceback. This is coming out of setuptools. Your installation of setuptools is broken and needs to be fixed. This is emphatically not a PyYAML bug. Cheers!

@StL-Jim
Copy link
Author

StL-Jim commented Feb 6, 2017

Thank you for that quick response, you're absolutely right and I feel like an idiot.

@sigmavirus24
Copy link
Contributor

I feel like an idiot.

Please don't. It's easy for me to spot that because I've been doing this for so long. I fully understand that others aren't so experienced. I'm truly sorry if I made you feel like an idiot.

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