Windows server 2003 64位+ArcGIS10系列+Oracle11 64 终于把desktop、engine、sde、server全部安装好了。 公路系统更新完毕,开始新的征程! 这个过程太不容易了,esri再努力下,尽可能把产品变的更小、更好安装吧!!! 其中也遇到许多问题,主要如下: 1 oracle 使用database control 配置数据库时,要求在当前oracle主目录中配置监听程序,必须运行Netca以配置 http://210.43.24.222/chy/3sbase/news/?1009.html 2 通过ArcCatalog SDE可以创建矢量,而栅格均不行,解决方法 http://210.43.24.222/chy/3sbase/news/?1016.html 3 ArcCatalog配置GIS Servers错误access denied :either the som service on machine... . http://210.43.24.222/chy/3sbase/news/?1015.html
The running environment of software is similar to the career development of human being. In Bioinformatics, many tools were designed for Linux user. You can find a particular tool working in Windows. It may work pretty well. However, if you want to build a complicated and powerful pipeline. More efforts are required in Windows, because you have no much supports from other existing tools. Choose a "correct" environment for you to put your mind of full.
Windows 键 + 符号键“+” 调用Windows7放大镜,并且放大局部内容 Windows 键 + 符号键“-” 调用Windows7放大镜,并且缩小局部内容 Windows 键 + Esc 退出放大镜 Ctrl + Alt + F 切换到全屏模式(Full screen mode) Ctrl + Alt + L 切换到镜头模式(Len mode) Ctrl + Alt + D 切换到停靠模式(Dock mode) Ctrl + Alt + I 反色 Ctrl + Alt + 箭头键 按照箭头键方向平移(就是键盘控制移动方向)
一、iGraph的安装 igraph安装比较简单,直接在http://igraph.sourceforge.net/download.html下载python安装包即可。 后来我开始画图,发现报错,报错如下: raise TypeError("plotting not available") TypeError: plotting not available 在网络上搜索,找到如下解决方法,主要原因是igraph依赖的一个包没有装。安装方法如下 原文地址http://chuanwang66.iteye.com/blog/1704942 Graph plotting in igraph on Windows:cairo和dll被安装到C:\Python25\Lib\site-packages\cairo中 Graph plotting in igraph is implemented using a third-party package called Cairo . If you want to create publication-quality plots in igraph on Windows, you must also install Cairo and its Python bindings. The Cairo project does not provide pre-compiled binaries for Windows, but other projects depending on Cairo do, so the preferred way to install Cairo on Windows along with its Python bindings is as follows: 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 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 theinstaller .(我用的是pycairo-1.4.12-2.win32-py2.5.exe) The installer extracts the necessary files into Lib\site-packages\cairo 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 Lib\site-packages\cairo 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 ). Having done that, you can launch Python again and check if it worked: Python代码 from igraph import * g=Graph.Famous( "petersen" ) plot(g) --------------------------------------------------------------------------------------------------------------------------------- 注意: 在运行时,我遇到了如下错误,最后发现时没有将cairo的dll加入环境变量path 下面是解决这个问题时参考的文档: 文档代码 Hi,IhavejustinstalledigraphandIamhavingaproblemwithplotting. Ihavefollowedtheinstructionsonthedocumentationsite http://www.cs.rhul.ac.uk/home/tamas/development/igraph/tutorial/install.html#graph-plotting-in-igraph-on-windows whichincludesinstallingpycairo,andputtingtherequireddllfilesinto Python2. 6 \Lib\site-packages\cairo igraphitselfhasinstalledproperly,asrunning importigraph.test igraph.test.test() givesnoerrors,andalltestswork. However,whenItrytorun fromigraphimport* g=Graph.Famous( "petersen" ) summary(g) plot(g) Igetthefollowingerror: Traceback(mostrecentcalllast): File "C:\DocumentsandSettings\fulford\Desktop\netstuff\test1.py" ,line 4 , inmodule plot(g) File "C:\Python26\lib\site-packages\igraph\drawing.py" ,line 762 ,inplot result=Plot(target,bbox) File "C:\Python26\lib\site-packages\igraph\drawing.py" ,line 222 ,in__init__ self._surface_was_created=notisinstance(target,cairo.Surface) File "C:\Python26\lib\site-packages\igraph\drawing.py" ,line 51 ,in __getattr__ raiseTypeError, "plottingnotavailable" TypeError:plottingnotavailable Ialsotriedthefollowing: importcairo butgottheerror: Traceback(mostrecentcalllast): File "pyshell#2" ,line 1 ,inmodule importcairo File "C:\Python26\lib\site-packages\cairo\__init__.py" ,line 1 ,inmodule from_cairoimport* ImportError:DLLloadfailed:Thespecifiedmodulecouldnotbefound. Iamfairlynewtopython,soamwonderingifthereissomethingelseIneeded todo,likeaddsomethingtomypathvariablesothatthedllfilesarefound? Anyhelporsuggestionsanyonecangivemewouldbemuchappreciated,sicveI wouldverymuchliketousethissoftware.. ThanksGlenn. PSplatformdetails: Platform:WindowsXP Pythonversion 2.6 ( 32 bitr)(enthoughtpythondistribution 6.2 ) DrGlennFulford+ 61 7 313 85196 QUTMathematicalSciences, GPOBox 2343 Brisbane,QldAUSTRALIA 4001 .Cricosno.00213J email:address@hidden; ------------------------------------------------------------------------------------- DearGlenn, ItseemslikethePythonbindingsofCairoarenotinstalledproperlyon yourmachine--igraphsimplyreportsthiswhenitsays"plottingnot available". IcheckedaworkinginstallationonWindowsXP( 32 -bit)andthe followingfilesshouldbepresentin c:\python26\lib\site-packages\cairo: __init__.py _cairo.pyd libcairo- 2 .dll libexpat- 1 .dll libfontconfig- 1 .dll libpng14- 14 .dll zlib1.dll TheerrormessageyouseemeansthatPythonfinds__init__.pyinthe cairosubfoldersuccessfully,andittriestoimport_cairo.pydfrom there.(.pydfilesarelikeordinary.dllfiles,Pythonjustusesa differentextensiontodistinguishthemfrom.dlls).Unfortunatelythe importcanfailforatleasttworeasons: 1 )_cairo.pyditselfismissing 2 )_cairo.pydisthere,butoneofitsdependenciesismissing. Unfortunately,theerrormessageisthesameinbothcases.So,I'ddo thefollowing: 1 .CheckwhetherallthefilesImentionedaboveareinthe site-packages\cairofolder.Ifnot,installthem. 2 .Iftheyareallthere,downloadDependencyWalkerfrom www.dependencywalker.comandopen_cairo.pydwithit.DependencyWalker shouldrecursivelytraversethedependencytreeof_cairo.pydandreport anyotherDLLsthatyouaremissing. -- Tamas ------------------------------------------------------------------------------------- DearTamas, thanksverymuchforyoursuggestions.IbeleiveIeventiuallytrackeddownthe problem. Ifoundthefollowingwebpageveryuseful. http://alex.matan.ca/install-cairo-wxpyton-pycairo-python-windows Firstthingittoldmewastoappendc:\Python26\Lib\site-packages\cairotomy path,whichIhadn 'tdone,butthisdidn' tfixtheproblem. Ithenreinstalledthedllfiles,thistimefromthewxpythionsite.Thiat seemedtofixtheproblem.Sonotsurreexactlywhichdllitwas,butIcan comparethemnifanyoneisinterested. Glenn 二、iGraph使用 参考这里 http://www.cs.rhul.ac.uk/home/tamas/development/igraph/tutorial/tutorial.html