お世話になります。
TensorFlow導入に先立ち、
Homebrewを用いてpython3.6.3をインストールしましたがなぜかpip3がインストールされません。
pip3のインストール手順を調べたところapp-getを用いる事でインストールできる記載がありました。
しかしapp-getが入っているfinkをインストールしようとしましたがエラーとなりできませんでした。
■教えていただきたい事
Homebrewでpython3.6.3とpip3のインストールを成功させる方法
finkのエラー解消方法
環境およびエラー内容について記載致します。
【OS】
macOS High Sierra
Version 10.13.1
bash
1【バージョン、環境変数等】 2$ python -V 3Python 2.7.10 4$ python3 -V 5Python 3.6.3 6$ which python 7/usr/bin/python 8$ which python3 9/usr/local/bin/python3 10$ cat ~/.bash_profile 11export PATH=$PATH:$HOME/.nodebrew/current/bin 12export PATH=/usr/local/bin:$PATH 13$ cat ~/.zshrc 14export PATH=/usr/local/bin:/usr/local/share/python:$PATH 15$ which pip 16/usr/local/bin/pip 17$ ls /usr/local/bin/pip 18pip pip2 pip2.7
bash
1【finkインストールエラー】 2$ ./bootstrap 3 4Fink must be installed and run with superuser (root) privileges. Fink can 5automatically try to become root when it's run from a user account. Since 6you're currently running this script as a normal user, the method you choose 7will also be used immediately for this script. Available methods: 8 9(1) Use sudo 10(2) Use su 11(3) None, fink must be run as root 12 13Choose a method: [1] 1 14 15Password: 16Checking package... looks good (fink-0.41.1). 17Checking system... i386-apple-darwin17.2.0 18Use of uninitialized value $gcc in regexp compilation at /Users/username/Downloads/fink-0.41.1/perlmod/Fink/Services.pm line 1365. 19Use of uninitialized value $gcc in concatenation (.) or string at /Users/username/Downloads/fink-0.41.1/perlmod/Fink/Bootstrap.pm line 164. 20This system was not released at the time this Fink release was made. 21Prerelease versions of Mac OS X might work with Fink, but there are no 22guarantees. 23Distribution: 10.13 24Architecture: x86_64 25Checking cc... looks good. 26Checking make... looks good. 27Checking head... looks good. 28Verifying that installed Xcode Command Line Tools version is supported... 299.1.0.0.1.1508540944 is OK 30Verifying that installed Xcode app version is supported... 31Found Xcode version: 9.1 is OK. 32 33It looks like you already have Fink installed in /sw, trying /sw3 instead. 34 35WARNING: This is a non-standard location. 36 37Please choose the path where Fink should be installed. Note that you will 38normally be able to use a binary distribution only if you choose '/sw'. [/sw3] 39 40OK, installing into '/sw3'. 41 42Creating directories... 43/bin/mkdir -p -m755 /sw3 44Use of uninitialized value $selfupdatetrees in concatenation (.) or string at /Users/username/Downloads/fink-0.41.1/bootstrap line 635, <STDIN> line 1. 45Use of uninitialized value $selfupdatetrees in concatenation (.) or string at /Users/username/Downloads/fink-0.41.1/bootstrap line 635, <STDIN> line 1. 46Use of uninitialized value $selfupdatetrees in concatenation (.) or string at /Users/username/Downloads/fink-0.41.1/bootstrap line 635, <STDIN> line 1. 47Use of uninitialized value $selfupdatetrees in concatenation (.) or string at /Users/username/Downloads/fink-0.41.1/bootstrap line 637, <STDIN> line 1. 48Use of uninitialized value $selfupdatetrees in concatenation (.) or string at /Users/username/Downloads/fink-0.41.1/bootstrap line 637, <STDIN> line 1. 49Use of uninitialized value $selfupdatetrees in concatenation (.) or string at /Users/username/Downloads/fink-0.41.1/bootstrap line 637, <STDIN> line 1. 50Use of uninitialized value $selfupdatetrees in concatenation (.) or string at /Users/username/Downloads/fink-0.41.1/bootstrap line 637, <STDIN> line 1. 51Use of uninitialized value $selfupdatetrees in concatenation (.) or string at /Users/username/Downloads/fink-0.41.1/bootstrap line 637, <STDIN> line 1. 52Use of uninitialized value $selfupdatetrees in concatenation (.) or string at /Users/username/Downloads/fink-0.41.1/bootstrap line 637, <STDIN> line 1. 53/bin/mkdir -m755 /sw3/etc 54/bin/mkdir -m755 /sw3/etc/alternatives 55/bin/mkdir -m755 /sw3/etc/apt 56/bin/mkdir -m755 /sw3/src 57/bin/mkdir -m755 /sw3/fink 58/bin/mkdir -m755 /sw3/fink/debs 59/bin/mkdir -m755 /sw3/var 60/bin/mkdir -m755 /sw3/var/lib 61/bin/mkdir -m755 /sw3/var/lib/fink 62/bin/mkdir -m755 /sw3/fink//stable 63/bin/mkdir -m755 /sw3/fink//local 64/bin/mkdir -m755 /sw3/fink//local/main 65/bin/mkdir -m755 /sw3/fink//local/main/finkinfo 66/bin/mkdir -m755 /sw3/fink//local/main/binary-darwin-x86_64 67/bin/mkdir -m755 /sw3/fink//stable/main 68/bin/mkdir -m755 /sw3/fink//stable/main/finkinfo 69/bin/mkdir -m755 /sw3/fink//stable/main/binary-darwin-x86_64 70Use of uninitialized value $selfupdatetrees in concatenation (.) or string at /Users/username/Downloads/fink-0.41.1/bootstrap line 653, <STDIN> line 1. 71Use of uninitialized value $selfupdatetrees in concatenation (.) or string at /Users/username/Downloads/fink-0.41.1/bootstrap line 653, <STDIN> line 1. 72Use of uninitialized value $selfupdatetrees in concatenation (.) or string at /Users/username/Downloads/fink-0.41.1/bootstrap line 653, <STDIN> line 1. 73/usr/bin/sed -e "s,@ARV@,local," -e "s,@COMP@,main," -e "s,@ARCH@,x86_64," < Release > /sw3/fink//local/main/binary-darwin-x86_64/Release; /usr/bin/touch /sw3/fink//local/main/binary-darwin-x86_64/Packages; /usr/bin/gzip /sw3/fink//local/main/binary-darwin-x86_64/Packages 74Use of uninitialized value $selfupdatetrees in concatenation (.) or string at /Users/username/Downloads/fink-0.41.1/bootstrap line 653, <STDIN> line 1. 75Use of uninitialized value $selfupdatetrees in concatenation (.) or string at /Users/username/Downloads/fink-0.41.1/bootstrap line 653, <STDIN> line 1. 76Use of uninitialized value $selfupdatetrees in concatenation (.) or string at /Users/username/Downloads/fink-0.41.1/bootstrap line 653, <STDIN> line 1. 77/usr/bin/sed -e "s,@ARV@,stable," -e "s,@COMP@,main," -e "s,@ARCH@,x86_64," < Release > /sw3/fink//stable/main/binary-darwin-x86_64/Release; /usr/bin/touch /sw3/fink//stable/main/binary-darwin-x86_64/Packages; /usr/bin/gzip /sw3/fink//stable/main/binary-darwin-x86_64/Packages 78Use of uninitialized value $selfupdatetrees in string eq at /Users/username/Downloads/fink-0.41.1/bootstrap line 662, <STDIN> line 1. 79Use of uninitialized value $selfupdatetrees in string at /Users/username/Downloads/fink-0.41.1/bootstrap line 663, <STDIN> line 1. 80ERROR: Can't create symlink /sw3/fink/10.13
宜しくお願いいたします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/11/27 01:30