前提・実現したいこと
仮想環境を利用しようとした時、pyenvがpathを使用しているためsource activateが使えなかったので、下記記事に乗っ取ってpyenv経由でanacondaを導入しようとしました。
https://qiita.com/y__sama/items/f732bb7bec2bff355b69
$ source activate Python3 pyenv: activate: command not found
anaconda導入の際は下記記事を参考にしました。
https://qiita.com/aical/items/2d066801a7464a676994
ですが失敗し、下記エラーメッセージが表示されました。
発生している問題・エラーメッセージ
$ pyenv install -v anaconda3-5.2.0 /var/folders/34/0fp2jwp10sd31gg8td6g5vsr0000gn/T/python-build.20190313170840.3114 ~ Downloading Anaconda3-5.2.0-MacOSX-x86_64.sh... dyld: Library not loaded: @rpath/libssl.1.0.0.dylib Referenced from: /Users/yuichikato/anaconda3/lib/libssh2.1.dylib Reason: image not found /usr/local/bin/python-build: line 369: 3160 Abort trap: 6 curl -qsILf ${CURL_OPTS} "$1" 1>&4 2>&1 -> https://repo.continuum.io/archive/Anaconda3-5.2.0-MacOSX-x86_64.sh dyld: Library not loaded: @rpath/libssl.1.0.0.dylib Referenced from: /Users/yuichikato/anaconda3/lib/libssh2.1.dylib Reason: image not found /usr/local/bin/python-build: line 373: 3161 Abort trap: 6 curl -q -o "${2:--}" -sSLf ${CURL_OPTS} "$1" error: failed to download Anaconda3-5.2.0-MacOSX-x86_64.sh BUILD FAILED (OS X 10.14.3 using python-build 20180424)
何かが参照できていない風に感じますが、少し調べましたが同様のエラーの記事を見つけられませんでした。
試したこと
macOSで pyenv install でビルドに失敗したときの対処メモから、https://qiita.com/toohsk/items/69eaf2ff9283ad1d1345
の内容を実行してみましたがinvalidと怒られてしまいました。
$ brew reinstall git --with-brewed-curl --with-brewed-openssl Usage: brew reinstall [options] formula Uninstall and then install formula (with existing and any appended install options). Unless HOMEBREW_NO_INSTALL_CLEANUP is set, brew cleanup will be run for the reinstalled formulae or, every 30 days, for all formulae. -d, --debug If brewing fails, open an interactive debugging session with access to IRB or a shell inside the temporary build directory -s, --build-from-source Compile formula from source even if a bottle is available. --force-bottle Install from a bottle if it exists for the current or newest version of macOS, even if it would not normally be used for installation. --keep-tmp Don't delete the temporary files created during installation. -f, --force Install without checking for previously installed keg-only or non-migrated versions. -v, --verbose Print the verification and postinstall steps. --display-times Print install times for each formula at the end of the run. -h, --help Show this message. Error: invalid option: --with-brewed-curl
###バージョン
pyenv 1.2.9

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/03/15 07:38 編集
2019/03/15 12:29