zoukankan      html  css  js  c++  java
  • python-igraph on windows10 64bit

    igraph安装记录:

    1. 在http://www.lfd.uci.edu/~gohlke/pythonlibs/找到对应版本的python-igraph 这里是anaconda的python2.7.11 64bit
      所以是选择python_igraph-0.7.1.post6-cp27-none-win_amd64.whl 其中cp27指python2.7
    2. pip安装
    3. 在http://www.lfd.uci.edu/~gohlke/pythonlibs/找到对应版本的pycairo
      选择pycairo-1.10.0-cp27-none-win_amd64.whl
      这里如果是32bit 可以根据这个http://hal.elte.hu/~nepusz/development/igraph/tutorial/install.html 安装

    1. 不确定是否需要接下来的dll库根据http://hal.elte.hu/~nepusz/development/igraph/tutorial/install.html补全dll
     In case you use a version of Python for which the above site does not provide an installer, you can install it from an alternative source in a slightly more complicated way by following the steps below:
    
     Get the latest PyCairo for Windows installer from http://ftp.gnome.org/pub/gnome/binaries/win32/pycairo/1.8. Make sure you grab the one that matches your Python version. At the time of writing, the above folder contained installers for Python 2.6 and 2.7 only. You may also try and go one level up, then down then 1.4 subfolder – these are older versions, but they work with Python 2.5 and Python 2.6 as well.
    Install PyCairo using the installer. The installer extracts the necessary files into Libsite-packagescairo within the folder where Python is installed. Unfortunately there are some extra DLLs which are required to make Cairo work, so we have to get these as well.
     Head to http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/ and get the binary versions of Cairo (cairo_1.8.10-3_win32.zip at the time of writing), Fontconfig (fontconfig_2.8.0-2_win32.zip), Freetype (freetype_2.4.4-1_win32.zip), Expat (expat_2.0.1-1_win32.zip), libpng (libpng_1.4.3-1_win32.zip) and zlib (zlib_1.2.5-2_win32.zip). Version numbers may vary, so be adaptive! Each ZIP file will contain a bin subfolder with a DLL file in it. Put the following DLLs in Libsite-packagescairo within your Python installation:
     freetype6.dll (from freetype_2.4.4-1_win32.zip)
     libcairo-2.dll (from cairo_1.8.10-3_win32.zip)
     libexpat-1.dll (from expat_2.0.1-1_win32.zip)
     libfontconfig-1.dll (from fontconfig_2.8.0-2_win32.zip)
     libpng14-14.dll (from libpng_1.4.3-1_win32.zip)
     zlib1.dll (from zlib_1.2.5-2_win32.zip).
    
     http://ftp.acc.umu.se/pub/gnome/binaries/win64/dependencies/ 对应64bit
    
    1. 添加dll路径到环境变量中
  • 相关阅读:
    Twitter如何在数千台服务器上快速部署代码?
    系统架构师学习笔记_第六章(上)_连载
    使用IIS内置压缩功能,增加网站访问速度
    系统架构师学习笔记_第八章_连载
    微软企业库4.1学习笔记(十五)缓存模块3 使用数据库作为后端存储
    快速搞懂 SQL Server 的锁定和阻塞
    微软企业库4.1学习笔记(十四)缓存模块2 使用缓存模块进行开发
    微软企业库4.1学习笔记(十六)缓存模块4 服务器场中的缓存使用
    Agile PLM Engineering Collaboration
    EC Client Customizing EC Client 客户化
  • 原文地址:https://www.cnblogs.com/sleeper-qp/p/5333200.html
Copyright © 2011-2022 走看看