Skip to content

[FEATURE] macos use python3 globally #73

@noelmcloughlin

Description

@noelmcloughlin

In bootstrap, consider setting MacOS to python3 using pyenv
Ref: https://opensource.com/article/19/5/python-3-default-mac#what-to-do
To bypass ld: symbol(s) not found for architecture x86_64 or clang errors here is full procedure.

brew uninstall --force binutils
brew uninstall --force pyenv
brew install --HEAD pyenv 
pyenv install 3.7.3
pyenv global 3.7.3
pyenv version
$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n  eval "$(pyenv init -)"\nfi' >> ~/.zshrc
$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n  eval "$(pyenv init -)"\nfi' >> ~/.bashrc

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions