← Back to team overview

yade-users team mailing list archive

Re: yade 0.50-installation failure

 

Hi,
In your scons.profile-default "opengl" should be in "features".


Anton
On 09/06/2010 06:59 AM, ADERSH V K wrote:
The installation completed successfully and i tried to run on example,

yade-bzr2423 rotatingCylinder.py

Welcome to Yade bzr2423
TCP python prompt on localhost:9000, auth cookie `dskasu'
TCP info provider on localhost:21000
Running script rotatingCylinder.py
Generating cloud…
Traceback (most recent call last):
  File "/home/adersh/YADE/bin/yade-bzr2423", line 106, in runScript
    execfile(script,globals())
  File "rotatingCylinder.py", line 60, in <module>
    from yade import qt
ImportError: cannot import name qt
[[ ^L clears screen, ^U kills line. F8 plot. ]]


Why this?  I have installed all the libraries for qt3.

2010/9/6 ADERSH V K <advk.tvm@xxxxxxxxx <mailto:advk.tvm@xxxxxxxxx>>

    Thanks Vaclav and Stransky...

    2010/9/2 Honza Stránský <_honzik@xxxxxxxxxx
    <mailto:honzik@xxxxxxxxxx>>


        Hi,
        I had the same problem.. try tu run
        scons <usual options>
        CPPPATH=/usr/include/vtk-5.2:/usr/include/eigen2
        it solved the problem in my case
        cheers
        Jan

        ______________________________________________________________
        > Od: "ADERSH V K" <advk.tvm@xxxxxxxxx
        <mailto:advk.tvm@xxxxxxxxx>>
        > Komu: Yade users <yade-users@xxxxxxxxxxxxxxxxxxx
        <mailto:yade-users@xxxxxxxxxxxxxxxxxxx>>
        > Datum: 02.09.2010 12:12
        > Předmět: [Yade-users] yade 0.50-installation failure
        >
        >Hello
        >
        >I was trying to install yade 0.50 in my new ubuntu 10.04
        system.  I used the
        >following scons profile.
        >
        >scons PREFIX=/home/adersh/YADE optimize=1 linkStrategy=monolithic
        >features=python,opengl,openmp,log4cxx,gts,vtk
        >
        >Am getting the following error.
        >
        >adersh@adersh-cms:~/yade-0.50$ scons PREFIX=/home/adersh/YADE
        optimize=1
        >linkStrategy=monolithic
        features=python,opengl,openmp,log4cxx,gts,vtk
        >scons: Reading SConscript files ...
        >@@@ Using profile default (scons.profile-default) @@@
        >Yade version is `0.50' (0.50), installed files will be
        suffixed with
        >`-0.50'.
        >All intermediary files will be in `/home/adersh/build-0.50'.
        >Checking whether c++ compiler "g++" works...yes
        >Finding libstdc++ library... (cached)
        >/usr/lib/gcc/x86_64-linux-gnu/4.4.3/libstdc++.so
        >Checking for pthread_exit(NULL) in C library pthread... yes
        >Checking for boost::system::error_code(); /* non-essential */
        in C++ library
        >boost_system-mt... yes
        >Checking for boost::thread() in C++ library
        boost_thread-mt... yes
        >Checking for boost::posix_time::time_duration() in C++ library
        >boost_date_time-mt... yes
        >Checking for boost::filesystem::path() in C++ library
        boost_filesystem-mt...
        >yes
        >Checking for boost::iostreams::file_sink("") in C++ library
        >boost_iostreams-mt... yes
        >Checking for boost::regex("") in C++ library
        boost_regex-mt... yes
        >Checking for try{} catch (const
        boost::archive::archive_exception& e) {} in
        >C++ library boost_serialization-mt... yes
        >Checking for boost::program_options::options_description o in
        C++ library
        >boost_program_options-mt... yes
        >Checking for C++ header file boost/foreach.hpp... yes
        >Checking for sqlite3_close(0L) in C++ library sqlite3... yes
        >Checking for Python development files... yes
        >Checking for python module `IPython' ...(cached) yes
        >Checking for boost::python::scope() in C++ library
        boost_python-mt... no
        >Checking for boost::python::scope() in C++ library
        boost_python... yes
        >Checking for C++ header file numpy/ndarrayobject.h... yes
        >Checking for C++ header file Eigen/Core... no
        >
        >One of the essential libraries above was not found, unable to
        continue.
        >
        >Which library I have to install?  Thanks for any help.
        >
        >--
        >Adersh V K
        >Research Fellow
        >National Institute for Interdisciplinary Science and
        Technology (CSIR),
        >India
        >+91-9995165951
        >
        >_______________________________________________
        >Mailing list: https://launchpad.net/~yade-users
        <https://launchpad.net/%7Eyade-users>
        >Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
        <mailto:yade-users@xxxxxxxxxxxxxxxxxxx>
        >Unsubscribe : https://launchpad.net/~yade-users
        <https://launchpad.net/%7Eyade-users>
        >More help   : https://help.launchpad.net/ListHelp
        >
        >

        _______________________________________________
        Mailing list: https://launchpad.net/~yade-users
        <https://launchpad.net/%7Eyade-users>
        Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
        <mailto:yade-users@xxxxxxxxxxxxxxxxxxx>
        Unsubscribe : https://launchpad.net/~yade-users
        <https://launchpad.net/%7Eyade-users>
        More help   : https://help.launchpad.net/ListHelp




-- Adersh V K
    Research Fellow
    National Institute for Interdisciplinary Science and Technology
    (CSIR), India
    +91-9995165951




--
Adersh V K
Research Fellow
National Institute for Interdisciplinary Science and Technology (CSIR), India
+91-9995165951


_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Follow ups

References