SORU
12 Aralık 2013, PERŞEMBE


Ubuntu çalışan `pip install` hata veriyor 'aşağıdaki gerekli paketler kurulabilir: * ' freetype;

pip install -r requirements.txt sahne matplotlib yüklüyor aşamasında aşağıdaki hatayı alıyorum:

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [not found. pip may install it below.]
              dateutil: yes [dateutil was not found. It is required for date
                        axis support. pip/easy_install may attempt to
                        install it after matplotlib.]
               tornado: yes [tornado was not found. It is required for the
                        WebAgg backend. pip/easy_install may attempt to
                        install it after matplotlib.]
             pyparsing: yes [pyparsing was not found. It is required for
                        mathtext support. pip/easy_install may attempt to
                        install it after matplotlib.]
                 pycxx: yes [Couldn't import.  Using local copy.]
                libagg: yes [pkg-config information for 'libagg' could not
                        be found. Using local copy.]
              freetype: no  [pkg-config information for 'freetype2' could
                        not be found.]

...

The following required packages can not be built:

                    * freetype

pip install -r requirements.txt freetype yüklemek gerekmiyor mu? Nasıl freetype matplotlib ile çalışır, bu yüzden Ubuntu 12.04 yüklü olmalıdır?

CEVAP
12 Aralık 2013, PERŞEMBE


Hayır. pip sistem düzeyi bağımlılıkları yüklenmez. Bu pip RPM(ler) yüklemek anlamı: (Redhat tabanlı sistemler) veya(s) DEB (Debian tabanlı sistemler).

Sistem yüklemek için aşağıdaki yöntemlerden sisteminize bağlı olarak birini kullanmak gerekir bağımlılıkları.

/Debian Ubuntu:

apt-get install libfreetype6-dev

Ubuntu/paketleri aramak için Debian tabanlı sistemler:

apt-cache search <string>

e.g:

apt-cache search freetype | grep dev

Redhat/Fedora Otomotiv:

yum -y install freetype-devel

Redhat/paketleri aramak için/Fedora tabanlı sistemler Otomotiv:

yum search <string>

e.g:

yum search freetype | grep devel

Mac OS X:(Homebrew))

brew install freetype

Redhat/paketleri aramak için/Fedora tabanlı sistemler Otomotiv:

brew search <string>

e.g:

brew search freetype

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Kanaal van Dj0fifty

    Kanaal van D

    28 EKİM 2011
  • WK

    WK

    9 Ocak 2006
  • Xcode programming tutorials

    Xcode progra

    17 EYLÜL 2006