[MOAB-dev] pytaps: can't import iBase and iMesh

Huayi Wei huayiwei1984 at gmail.com
Mon Jun 9 21:54:33 CDT 2014


Hi, Anthony,
Thanks for your reply. Now I rebuild cgm/moab/lasso with —enable-shared 
option, but I still have the same problem. Here is the content of my 
|setup.cfg| in pytaps dir:

|[global]
iMesh-path   = /home/why/software/itaps/parallel-shared
iGeom-path   = /home/why/software/itaps/parallel-shared
iRel-path    = /home/why/software/itaps/parallel-shared
[egg_info]
tag_build =
tag_date = 0
tag_svn_revision = 0
[build_ext]
include-dirs = /home/why/software/itaps/parallel-shared/include
|

The following is the output of the command |sudo python setup.py install|

|[sudo] password for why:
running install
running bdist_egg
running egg_info
writing requirements to PyTAPS.egg-info/requires.txt
writing PyTAPS.egg-info/PKG-INFO
writing top-level names to PyTAPS.egg-info/top_level.txt
writing dependency_links to PyTAPS.egg-info/dependency_links.txt
reading manifest file 'PyTAPS.egg-info/SOURCES.txt'
writing manifest file 'PyTAPS.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
Checking for usability of iRel...
cc -I/home/why/software/itaps/parallel-shared/include -I/usr/include/python2.7 -I/usr/lib/python2.7/dist-packages/numpy/core/include -c iRel.c -o iRel.o
Checking for usability of iMesh...
cc -I/home/why/software/itaps/parallel-shared/include -I/usr/include/python2.7 -I/usr/lib/python2.7/dist-packages/numpy/core/include -c iMesh.c -o iMesh.o
Checking for usability of iGeom...
cc -I/home/why/software/itaps/parallel-shared/include -I/usr/include/python2.7 -I/usr/lib/python2.7/dist-packages/numpy/core/include -c iGeom.c -o iGeom.o
Checking for usability of iMesh...
cc -I/home/why/software/itaps/parallel-shared/include -I/usr/include/python2.7 -I/usr/lib/python2.7/dist-packages/numpy/core/include -c iMesh.c -o iMesh.o
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/itaps
copying build/lib.linux-x86_64-2.7/itaps/iRel.so -> build/bdist.linux-x86_64/egg/itaps
copying build/lib.linux-x86_64-2.7/itaps/iMesh.so -> build/bdist.linux-x86_64/egg/itaps
copying build/lib.linux-x86_64-2.7/itaps/iMeshExtensions.so -> build/bdist.linux-x86_64/egg/itaps
copying build/lib.linux-x86_64-2.7/itaps/iGeom.so -> build/bdist.linux-x86_64/egg/itaps
copying build/lib.linux-x86_64-2.7/itaps/helpers.py -> build/bdist.linux-x86_64/egg/itaps
copying build/lib.linux-x86_64-2.7/itaps/iBase.so -> build/bdist.linux-x86_64/egg/itaps
copying build/lib.linux-x86_64-2.7/itaps/__init__.py -> build/bdist.linux-x86_64/egg/itaps
byte-compiling build/bdist.linux-x86_64/egg/itaps/helpers.py to helpers.pyc
byte-compiling build/bdist.linux-x86_64/egg/itaps/__init__.py to __init__.pyc
creating stub loader for itaps/iBase.so
creating stub loader for itaps/iRel.so
creating stub loader for itaps/iMesh.so
creating stub loader for itaps/iGeom.so
creating stub loader for itaps/iMeshExtensions.so
byte-compiling build/bdist.linux-x86_64/egg/itaps/iBase.py to iBase.pyc
byte-compiling build/bdist.linux-x86_64/egg/itaps/iRel.py to iRel.pyc
byte-compiling build/bdist.linux-x86_64/egg/itaps/iMesh.py to iMesh.pyc
byte-compiling build/bdist.linux-x86_64/egg/itaps/iGeom.py to iGeom.pyc
byte-compiling build/bdist.linux-x86_64/egg/itaps/iMeshExtensions.py to iMeshExtensions.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-2.7/tagviewer -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/tagviewer to 755
copying PyTAPS.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying PyTAPS.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying PyTAPS.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying PyTAPS.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying PyTAPS.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying PyTAPS.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
creating 'dist/PyTAPS-1.4-py2.7-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing PyTAPS-1.4-py2.7-linux-x86_64.egg
removing '/usr/local/lib/python2.7/dist-packages/PyTAPS-1.4-py2.7-linux-x86_64.egg' (and everything under it)
creating /usr/local/lib/python2.7/dist-packages/PyTAPS-1.4-py2.7-linux-x86_64.egg
Extracting PyTAPS-1.4-py2.7-linux-x86_64.egg to /usr/local/lib/python2.7/dist-packages
PyTAPS 1.4 is already the active version in easy-install.pth
Installing tagviewer script to /usr/local/bin

Installed /usr/local/lib/python2.7/dist-packages/PyTAPS-1.4-py2.7-linux-x86_64.egg
Processing dependencies for PyTAPS==1.4
Searching for numpy==1.8.1
Best match: numpy 1.8.1
numpy 1.8.1 is already the active version in easy-install.pth

Using /usr/lib/python2.7/dist-packages
Finished processing dependencies for PyTAPS==1.4
|

In the output, I don’t see any information about linking iMesh.so with 
MOAB / iGeom.so with CGM / iRel.so with Lasso.
Best
Huayi

​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20140610/f8c2b8be/attachment.html>


More information about the moab-dev mailing list