dependencies missing when installing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
When doing a pip install (sudo pip install python-
Running setup.py install for positional
ERROR:
Traceback (most recent call last):
File "/usr/local/
attrs = util.cfg_
File "/usr/local/
File "/usr/local/
cmdclass = ep.load(False)
File "/usr/lib/
entry = __import_
File "/usr/local/
from babel.messages.
File "/usr/local/
from babel.dates import format_datetime
File "/usr/local/
import pytz as _pytz
ImportError: No module named pytz
error in setup command: Error parsing /tmp/pip_
Complete output from command /usr/bin/python -c "import setuptools, tokenize;
ERROR:
Traceback (most recent call last):
File "/usr/local/
attrs = util.cfg_
File "/usr/local/
wrap_
File "/usr/local/
cmdclass = ep.load(False)
File "/usr/lib/
entry = __import_
File "/usr/local/
from babel.messages.
File "/usr/local/
from babel.dates import format_datetime
File "/usr/local/
import pytz as _pytz
ImportError: No module named pytz
error in setup command: Error parsing /tmp/pip_
---
I then need to do the following manual installs for the openstackclient to work:
sudo pip install pytz
sudo pip install positional
sudo pip install iso8601
sudo pip install requestsexceptions
sudo pip install appdirs
sudo pip install debtcollector
sudo pip install oslo.config
sudo pip install monotonic
sudo pip install oslo.serialization
sudo pip install python-novaclient
sudo pip install netifaces
sudo pip install python-csv
Is the environment clean?
Running pip with sudo is definitely going to cause issues down the line, using a virtualenv is highly recommended. But if you're going to stick with sudo, does using --upgrade help?
$ sudo pip install --upgrade python- openstackclient