Project

Profile

Help

Issue #2231

closed

Vagrant up is missing PyYaml package

Added by bmbouter over 7 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

On the 3.0-dev branch when I vagrant up using machinery provided by the devel/devel repo I am missing PyYaml. To reproduce:

1) Vagrant up with everything using up-to-date 3.0-dev branches
2) django-admin shell_plus
3) Observe the following traceback

[vagrant@dev ~]$ django-admin 
Traceback (most recent call last):
  File "/usr/bin/django-admin", line 9, in <module>
    load_entry_point('Django', 'console_scripts', 'django-admin')()
  File "/usr/lib/python2.7/site-packages/Django-1.8.14-py2.7.egg/django/core/management/__init__.py", line 354, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.7/site-packages/Django-1.8.14-py2.7.egg/django/core/management/__init__.py", line 303, in execute
    settings.INSTALLED_APPS
  File "/usr/lib/python2.7/site-packages/Django-1.8.14-py2.7.egg/django/conf/__init__.py", line 48, in __getattr__
    self._setup(name)
  File "/usr/lib/python2.7/site-packages/Django-1.8.14-py2.7.egg/django/conf/__init__.py", line 44, in _setup
    self._wrapped = Settings(settings_module)
  File "/usr/lib/python2.7/site-packages/Django-1.8.14-py2.7.egg/django/conf/__init__.py", line 92, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/home/vagrant/devel/pulp/platform/pulp/platform/settings.py", line 17, in <module>
    import yaml
ImportError: No module named yaml

If I install PyYaml with the following command the error goes away:

sudo dnf install PyYAML -y

Also available in: Atom PDF