Error: No available formula with the name "openstacksdk"

asked 2017-08-31 07:15:17 -0600

liaodalin19903 gravatar image

From the openstacksdk install doc, I use :

 sudo pip install openstacksdk

I will get the Operation not permitted error:

Found existing installation: six 1.4.1
    DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
    Uninstalling six-1.4.1:
Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/", line 215, in main
    status =, args)
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/commands/", line 342, in run
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/", line 778, in install
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/", line 754, in uninstall
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/", line 115, in remove
    renames(path, new_path)
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/utils/", line 267, in renames
    shutil.move(old, new)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 302, in move
    copy2(src, real_dst)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 131, in copy2
    copystat(src, dst)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 103, in copystat
    os.chflags(dst, st.st_flags)
OSError: [Errno 1] Operation not permitted: '/tmp/pip-Z66XCg-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info'

And I refer to this post:

I use brew to install it, get this error:

==> Deleted Formulae
go-gui                                     kafka@0.80                                 phantomjs@1.92                             phantomjs@1.98

Error: No available formula with the name "openstacksdk" 
==> Searching for a previously deleted formula...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.

Which friend can help with that?

My operation system is : macOS Sierra 10.12.6

edit retag flag offensive close merge delete


In my experience, setting up macOs to do OpenStack development is more trouble than it is worth. Getting yourself a virtual machine running Ubuntu 16.04 will probably be much easier, either using something like virtualbox on your mac locally or in some cloud.

j-harbott gravatar imagej-harbott ( 2017-08-31 07:47:07 -0600 )edit

@j-harbott I just want to develop a new dashbord.

liaodalin19903 gravatar imageliaodalin19903 ( 2017-08-31 22:21:59 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-08-31 09:57:13 -0600

amotoki gravatar image

This is not a problem specific to openstacksdk. This is caused due to MacOSX file permission. The easiest solution would be to use virtualenv. If you really want to install it to your MacOSX environment globally, it is better to search information around 'six' and MacOSX.

edit flag offensive delete link more

Comments might help you, but I would suggest to check what happens carefully when doing it (especially if use pip install --ignore-installed six).

amotoki gravatar imageamotoki ( 2017-08-31 09:58:58 -0600 )edit

formula is a terminology used in brew. Did you really run "pip install openstacksdk"? It looks better to check your command line again.

amotoki gravatar imageamotoki ( 2017-08-31 10:01:44 -0600 )edit

@amotoki I have saw this post. it do not work for me. I will try to use the virtualenv.

liaodalin19903 gravatar imageliaodalin19903 ( 2017-08-31 22:23:18 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-08-31 07:15:17 -0600

Seen: 1,259 times

Last updated: Aug 31 '17