OS X install openstackclient 10.15.7

Michael STFC mtint.stfc at gmail.com
Tue Apr 27 16:10:23 UTC 2021


Hi Artem,

Thanks for replying, I had some lack after posting this to the group.  

Solved it by doing this 

brew install pyenv

Add  eval "$(pyenv init -)” to  ~/.bashrc

pyenv install 3.9.4
pyenv shell  3.9.4
pip3 install netifaces
pip3 install --upgrade python-openstackclient
pip3 install --upgrade python-heatclient
pip3 install  --upgrade python-magnumclient

Only warning I now get is

WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /Users/bbm17567/.pyenv/versions/3.9.4/include/python3.9/UNKNOWN
sysconfig: /Users/bbm17567/.pyenv/versions/3.9.4/include/python3.9
WARNING: Additional context:
user = False
home = None
root = None
prefix = None

All seemed to be good. 

I will consider your advise on setting up linux vm and that way I keep Mac clean. 

Regards,

Michael 

> On 27 Apr 2021, at 15:55, Artem Goncharov <artem.goncharov at gmail.com> wrote:
> 
> Hi,
> 
> Not sure this will ever work properly. The whole world of open source projects on Mac is relying on brew and virtual environments. Here you seem to really try installing OSC as a global thing.
> 
> What you can do instead is install local python and use it:
> - brew install python at 3.9  
> - /usr/local/bin/python3.9 -m pip install python-openstackclient
> 
> This works for me.
> 
> Alternatively just make some virtual environment (python one) and install OSC into it. In this case you would need to take care yourself on first sourcing into this venv.
> 
> Artem
> 
>> On 27. Apr 2021, at 13:43, Michael STFC <mtint.stfc at gmail.com> wrote:
>> 
>> 
>> Hi 
>> 
>> I know this is a forum for openstack but I have some issues with OS X and upgrading or reinstalling openstackclient. 
>> 
>> Any advise welcome.
>> 
>> <PastedGraphic-1.tiff>
>> 
>> ——
>> <openstack-errors.txt>
>> 
>> Regards,
>> 
>> Michael Tint
>> System Administrator
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210427/101ff255/attachment.html>


More information about the openstack-discuss mailing list