You could try the search feature in pip,
$ pip search yaml
which looks for packages in PyPI with yaml in the short description. That reveals various packages, including PyYaml, yamltools, and PySyck, among others (Note that PySyck docs recommend using PyYaml, since syck is out of date). Now you know a specific package name, you can install it:
$ pip install pyyaml
If you want to install python yaml system-wide in linux, you can also use a package manager, like aptitude
or yum
:
$ sudo apt-get install python-yaml $ sudo yum install python-yaml
Related Posts:
- Could not find a version that satisfies the requirement tensorflow
- Could not find a version that satisfies the requirement tensorflow
- How to pip or easy_install tkinter on Windows
- Checking whether pip is installed?
- ImportError: No module named ‘yaml’
- Python and PYAML – yaml.scanner.ScannerError: mapping values are not allowed here
- Install py2exe for python 2.7 over pip: this package requires Python 3.3 or later
- How do I update\upgrade pip itself from inside my virtual environment?
- How to uninstall a package installed with pip install –user
- TypeError: ‘int’ object is not callable
- ImportError: No module named pip
- ImportError: No module named tensorflow
- How can I parse a YAML file in Python
- Cannot find module cv2 when using OpenCV
- Where is BeautifulSoup4 hiding?
- Cannot find module cv2 when using OpenCV
- IndexError: tuple index out of range —– Python
- sklearn error ValueError: Input contains NaN, infinity or a value too large for dtype(‘float64’)
- Where does pip install its packages?
- How to install python3 version of package via pip on Ubuntu?
- TypeError: cannot perform reduce with flexible type
- “Defaulting to user installation because normal site-packages is not writeable” python message
- How to install pytorch in Anaconda with conda or pip?
- ImportError: numpy.core.multiarray failed to import
- Can’t fix “zipimport.ZipImportError: can’t decompress data; zlib not available” when I type in “python3.6 get-pip.py”
- Configuring so that pip install can work from github
- pip or pip3 to install packages for Python 3?
- Convert list to tuple in Python
- ImportError: numpy.core.multiarray failed to import
- Error after upgrading pip: cannot import name ‘main’
- How to remove \xa0 from string in Python?
- ImportError: cannot import name main when running pip –version command in windows7 32 bit
- filename.whl is not a supported wheel on this platform
- bash: pip: command not found
- How to create a new text file using Python
- TypeError: write() argument must be str, not bytes (Python 3 vs Python 2 )
- How to install pip3 on Windows?
- python socket.error: [Errno 98] Address already in use
- ModuleNotFoundError: No module named ‘matplotlib’
- error: Unable to find vcvarsall.bat
- AttributeError: Module Pip has no attribute ‘main’
- Could not find a version that satisfies the requirement
- No module named pkg_resources
- What is the purpose of “pip install –user …”?
- How to upgrade all Python packages with pip
- How do I remove all packages installed by PIP?
- AttributeError(“‘str’ object has no attribute ‘read'”)
- What is the easiest way to remove all packages installed by pip?
- Python Save to file
- Add list to set?
- ‘pip3’ is not recognized as an internal or external command, operable program or batch file
- ImportError: No module named scipy
- How to install multiple python packages at once using pip
- AttributeError: Module Pip has no attribute ‘main’
- Decoding UTF-8 strings in Python
- How to have an array of arrays in Python
- ValueError: unsupported pickle protocol: 3, python2 pickle can not load the file dumped by python 3 pickle?
- ValueError: unsupported pickle protocol: 3, python2 pickle can not load the file dumped by python 3 pickle?
- AttributeError(“‘str’ object has no attribute ‘read'”)
- How to use 2to3 properly for python?
- Why does using from __future__ import print_function breaks Python2-style print?
- Python Error – int object has no attribute
- Loading a file with more than one line of JSON into Pandas
- Type error Unhashable type:set
- Python: count repeated elements in the list
- pip: no module named _internal
- How to run Pip commands from CMD
- How to install PyGame on Python 3.4?
- Python 101: Can’t open file: No such file or directory
- TypeError: argument of type ‘NoneType’ is not iterable
- Django Rest Framework — no module named rest_framework
- python NameError: name ‘file’ is not defined
- Numpy, multiply array with scalar
- ImportError: No module named Crypto.Cipher
- TypeError: coercing to Unicode: need string or buffer, list found
- How to Install pip for python 3.7 on Ubuntu 18?
- Python can’t find module NLTK
- How to change pip installation path
- ImportError: cannot import name NUMPY_MKL
- Python: Pandas pd.read_excel giving ImportError: Install xlrd >= 0.9.0 for Excel support
- TypeError: super() takes at least 1 argument (0 given) error is specific to any python version?
- ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
- Convert string to variable name in python
- Adding +1 to a variable inside a function
- dump() missing 1 required positional argument: ‘fp’ in python json
- How to install Openpyxl with pip
- Spell Checker for Python
- Failed building wheel for Twisted in Windows 10 python 3
- Installing scipy for python 2.7
- ImportError: No module named IPython
- How can I install a .egg Python package on Windows (attempt using easy_install not working)
- How to resolve “ImportError: DLL load failed:” on Python?
- Install pip for python 3.5
- Symbol not found: __PyCodecInfo_GetIncrementalDecoder
- How to install PyQt4 on Windows using pip?
- How do I install pip on macOS or OS X?
- How to install PyQt4 on Windows using pip?
- Cannot remove entries from nonexistent file
- Pip: could not find a version. No matching distribution found
- File “/usr/bin/pip”, line 9, in
from pip import main ImportError: cannot import name main