OS X install openstackclient 10.15.7
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. —— Regards, Michael Tint System Administrator
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@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@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
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@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@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@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
participants (2)
-
Artem Goncharov
-
Michael STFC