I have a Python program that uses YAML. I attempted to install it on a new server using pip install yaml
and it returns the following:
$ sudo pip install yaml
Downloading/unpacking yaml
Could not find any downloads that satisfy the requirement yaml
No distributions at all found for yaml
Storing complete log in /home/pa/.pip/pip.log
How do I install the yaml package for Python? I'm running Python 2.7. (OS: Debian Wheezy)
Debian-based systems:
$ sudo aptitude install python-yaml
or newer for python3
$ sudo aptitude install python3-yaml
For MacOSX (mavericks), the following seems to work: