• 締切済み

pip install dlib

windows10 Anaconda3 Anaconda Promptで pip install dlib でインストールできません。 他のライブラリはpipで普通にインストールできています。 初めてライブラリのインストールでエラーになりました。 エラーメッセージはかなりの長文でどこを掲載したらいいのか解らないので最初の白文字だけ掲載します。後は赤文字のオンパレードになっています。 WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. Collecting dlib Using cached dlib-19.19.0.tar.gz (3.2 MB) Building wheels for collected packages: dlib Building wheel for dlib (setup.py) ... error google翻訳で見たのですがよく解りません。 どなたかインストールの方法をよろしくお願いします

  • Python
  • 回答数1
  • ありがとう数0

みんなの回答

  • n-jun
  • ベストアンサー率33% (959/2873)
回答No.1

pip list で pip 自身のバージョンを確認。 現在 20.0.2 です。 仮にこれより古いなら pip install -U pip で pip 自身のアップデートをしてからやってみるとか?

takahasi5634
質問者

補足

確認しましたがpip は20.0.2 でした。

関連するQ&A

  • Fedora7がインストールできません

    雑誌についてきたFedoraCore7をインストールしようとしたのですが できませんでした。 グラフィカルモードで、インストールを実行しようとすると 実行してすぐに、 exec of anaconda failed: Accessing a corrupted shared library というメッセージなどが出てInstallが止まってしまいます。 これだけの情報で申し訳ございませんが、何かわかる方がいらっしゃいましたら、 もしくはせめてもっとこんな情報を提示するべきだなどのアドバイス等もありましたら よろしくお願い致します。

  • debian arm fsniperのインストール

    buffuloのLS-XHLシリーズにdebianを入れ、fsniperをインストールしようと思っていますが ./configureでエラーが出ます。 root@XXX:/fsniper-1.3.1# ./configure checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for library containing strerror... none required checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking for magic_open in -lmagic... no configure: error: libmagic not found 何か前進するための知恵をお借りできませんでしょうか? よろしくお願い致します。

  • Linux(Fedora)のインストールについて

    Fedoreのインストールを しているのですが, 「システム用のrootのパスワード」 →デフォルトのソフトウェアをインストールを 選択し、インストール開始ボタンを押すと(次へ) 下記のエラーが出現します。 An unhandled exception has occured. this is most likely a bug. please copy the full text of this exception or save the crash dump to floppy then file a detailed bug report against anaconda at http://bugzilla/redhat.com/bugzilla/ Traceback(most recent call last): File "/user/lib/anaconda/gui.py" ,line 1047 ,in handlerenderCallback self currentWindow.recender Callback() File "/user/lib/anaconda/iw/progress_gui.py ",line242, in recender callback self.intf .icw.nextclicked() File "/user/lib/anaconda/gui.py",line 766, in nextclicked self.dispatch.gotonext() File "/user/lib/anaconda/dispatch.py",line 168. in gotonext self.mobestep() File "/user/lib/anaconda/dispatch.py",line 236, in movestep rc=apply(func.self.bindargs(args)) File "/user/lib/anaconda/packeages. py",line 832 ,in doinstall syslog.start(instpath,syslogname) File "/user/lib/anaconda/syslog.py", line 65 , in start self.pid=os.fork() OSError:{Error 12} メモリの確保ができません の内容でインストールができませんでした。 最後にメモリの確保ができないということで メモリは192MB CPUセルロン400です。 ウイルスソフトをメモリで 多く食われていると思い、 msconfig で削除しましたが、 効果はありませんでした。 お分かりになる方、宜しくお願い致します。

  • tensorflowの実行環境に関する質問

    Windows10でのtensorflowについてお尋ねします。Anaconda3のpython3.7.1となっています。以下のような手順でtensorflowをインストールしました。 Anaconda Navigator上で、Enviromentsをクリックし、Createで仮想環境tensolflowを作成。その横の三角のボタンをクリックして、メニューからOpen Terminalを選択 そこで、pip install tensorflow でインストール終了。 python -c "import tensorflow as tf; print(tf.__version__)" でバージョンチェック 1.13.1 を表示。 これで環境が整ったと思いますが、一旦全部終了して別途AnacondaのPromptから上記のバージョンチェックをしても1.13.1は表示されません。 エラーが出ます。作成された仮想環境tensolflow上でしか利用できないということでしょうか。よろしくお願いします。

  • Python が勉強しにくい

    Python の勉強を始めた。 多少のルールが他の言語と違うところがある。これは当然のことと思う。   例 {} がない インデントによる分岐等 もっと困ったのは、python.exe がプロジェクトの毎に埋め込まれてしまうことだ。 そのため PyCharm を利用すると、Configuration で それぞれの exe 設定をしなければならないことが最近分かってきた。 また、開発内容によっては、Anaconda を推奨しているものがあり、これを インストールすると、この中にも python.exe のみならず、関連ライブラリを インストールする。 また、Anaconda は、単体python.exe と相性が悪く pip などは推奨されていない。 conda を利用するようになっている。 その他、 Google Coraboratory, Jupiter Notebook を推奨するものもあり、選択に戸惑う。 いろいろとやっているうちに混乱が広がって、ますますわかりにくくなってしまう。 どのように対応するのがよいのだろうか? 初歩の勉強を行うとしてどのツールを利用するのがよいのでしょうか?

  • Postgres9インストールFlexが古い?

    お世話になります。 Centos5.8 64bitにPostgres9.0.8をソースからインストールしようとしていますが、./configure 実行時、以下のようなFlexの警告が表示されます。 どこに問題があるのかご存知の方教えていただけませんでしょうか? $ cd /usr/local/src/postgresql-9.0.8 $ ./configure checking for flex... configure: WARNING: *** The installed version of Flex, /usr/bin/flex, is too old to use with PostgreSQL. *** Flex version 2.5.31 or later is required, but this is /usr/bin/flex version 2.5.4. configure: WARNING: *** The installed version of Flex, /usr/bin/lex, is too old to use with PostgreSQL. *** Flex version 2.5.31 or later is required, but this is /usr/bin/lex version 2.5.4. no configure: WARNING: *** Without Flex you will not be able to build PostgreSQL from Git nor *** change any of the scanner definition files. You can obtain Flex from *** a GNU mirror site. (If you are using the official distribution of *** PostgreSQL then you do not need to worry about this because the Flex *** output is pre-generated.) checking for perl... /usr/bin/perl configure: using perl 5.8.8 checking for main in -lm... yes checking for library containing setproctitle... no checking for library containing dlopen... -ldl checking for library containing socket... none required checking for library containing shl_load... no checking for library containing getopt_long... none required checking for library containing crypt... -lcrypt checking for library containing fdatasync... none required checking for library containing gethostbyname_r... none required checking for library containing shmget... none required checking for -lreadline... no checking for -ledit... no configure: error: readline library not found If you have readline already installed, see config.log for details on the failure. It is possible the compiler isn't looking in the proper directory. Use --without-readline to disable readline support. インストールされているバージョンは古くないと思っているのですが、どうずればインストールを進めることができるでしょうか? $ rpm -qa | grep flex flex-2.5.4a-41.fc6 $ which flex /usr/bin/flex どうぞ宜しくお願い致します。

  • 作成するデスクトップアプリのzip化がしたい。

    まだ作成途中ですがこれをデスクトップアプリにしてzip化をしたいと思っています。 import tkinter root = tkinter.Tk() root.mainloop() しかし、pip install pyinstallerでインストールしようとしてもこのようなエラーが出てしまいます。どうすればいいですか。 PS C:\作業用Python> & C:/Users/user/anaconda3/python.exe c:/作業用Python/HelloWorld/install.py File "c:\作業用Python\HelloWorld\install.py", line 1 pip install pyinstaller ^^^^^^^ SyntaxError: invalid syntax PS C:\作業用Python>

  • Solaris10 コンパイル エラー

    Solaris 10 (x86) に PHP 5.2.3 をインストール(コンパイル)しようとしているのですが、次のエラーが出てインストール出来ません。 どうすればインストール出来るのでしょうか? どなたかわかる方がいたら教えて下さい。 -------------------------------------------------- loading cache ./config.cache checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking for egrep... (cached) egrep checking for a sed that does not truncate output... (cached) /usr/bin/sed checking host system type... i386-pc-solaris2.10 checking target system type... i386-pc-solaris2.10 checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. --------------------------------------------------

  • Flash Plarer 9OSXをインストールしたい

    eMAC G4 10.28 エラー(You do not have enough access privileges for this installation.) がでてインストールできません。 インストールの方法教えて下さい、お願いします。

    • 締切済み
    • Mac
  • インストールできないパッケージ?

    ログ監視ツールを入れたいので # yum -y install swatch と、入力したのですが [root@△△~]# yum -y install swatch Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile * base: rsync.atworks.co.jp * extras: rsync.atworks.co.jp * updates: rsync.atworks.co.jp Setting up Install Process No package swatch available. Error: Nothing to do と、出ます 一応 rpm -q swatch でチェックしましたが インストールされてません 以前、別のパッケージの時で解決した方法で yum remobe swatch をやりましたが これでも Loaded plugins: fastestmirror, refresh-packagekit Setting up Remove Process No Match for argument: swatch Loading mirror speeds from cached hostfile * base: rsync.atworks.co.jp * extras: rsync.atworks.co.jp * updates: rsync.atworks.co.jp No Packages marked for removal と、出ます swatch を インストールするには特別な方法があるのでしょうか??? ちなみに、このサイトを参考にしました・・・ http://centossrv.com/swatch.shtml yum update もやりました・・・

専門家に質問してみよう