Skip to content

Instantly share code, notes, and snippets.

@tonytan4ever
Created May 2, 2016 15:57
Show Gist options
  • Save tonytan4ever/4c9126c7e7132a25638f2f31b866be6c to your computer and use it in GitHub Desktop.
Save tonytan4ever/4c9126c7e7132a25638f2f31b866be6c to your computer and use it in GitHub Desktop.
The directory '/Users/tony7514/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/tony7514/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting oslo-config
Downloading oslo.config-3.9.0-py2.py3-none-any.whl (90kB)
100% |████████████████████████████████| 92kB 831kB/s
Requirement already satisfied (use --upgrade to upgrade): stevedore>=1.5.0 in ./bin/python27/lib/python2.7/site-packages (from oslo-config)
Requirement already satisfied (use --upgrade to upgrade): netaddr!=0.7.16,>=0.7.12 in ./bin/python27/lib/python2.7/site-packages (from oslo-config)
Requirement already satisfied (use --upgrade to upgrade): debtcollector>=1.2.0 in ./bin/python27/lib/python2.7/site-packages (from oslo-config)
Requirement already satisfied (use --upgrade to upgrade): six>=1.9.0 in ./bin/python27/lib/python2.7/site-packages (from oslo-config)
Requirement already satisfied (use --upgrade to upgrade): pbr>=1.6 in ./bin/python27/lib/python2.7/site-packages (from stevedore>=1.5.0->oslo-config)
Requirement already satisfied (use --upgrade to upgrade): Babel>=1.3 in ./bin/python27/lib/python2.7/site-packages (from debtcollector>=1.2.0->oslo-config)
Requirement already satisfied (use --upgrade to upgrade): funcsigs>=0.4 in ./bin/python27/lib/python2.7/site-packages (from debtcollector>=1.2.0->oslo-config)
Requirement already satisfied (use --upgrade to upgrade): wrapt>=1.7.0 in ./bin/python27/lib/python2.7/site-packages (from debtcollector>=1.2.0->oslo-config)
Requirement already satisfied (use --upgrade to upgrade): pytz>=0a in ./bin/python27/lib/python2.7/site-packages (from Babel>=1.3->debtcollector>=1.2.0->oslo-config)
Installing collected packages: oslo-config
Exception:
Traceback (most recent call last):
File "/Users/tony7514/bin/python27/lib/python2.7/site-packages/pip/basecommand.py", line 209, in main
status = self.run(options, args)
File "/Users/tony7514/bin/python27/lib/python2.7/site-packages/pip/commands/install.py", line 317, in run
prefix=options.prefix_path,
File "/Users/tony7514/bin/python27/lib/python2.7/site-packages/pip/req/req_set.py", line 732, in install
**kwargs
File "/Users/tony7514/bin/python27/lib/python2.7/site-packages/pip/req/req_install.py", line 835, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/Users/tony7514/bin/python27/lib/python2.7/site-packages/pip/req/req_install.py", line 1030, in move_wheel_files
isolated=self.isolated,
File "/Users/tony7514/bin/python27/lib/python2.7/site-packages/pip/wheel.py", line 346, in move_wheel_files
assert info_dir, "%s .dist-info directory not found" % req
AssertionError: oslo-config .dist-info directory not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment