Coder Social home page Coder Social logo

can not run qt examples about gr HOT 7 CLOSED

sciapp avatar sciapp commented on August 16, 2024
can not run qt examples

from gr.

Comments (7)

jheinen avatar jheinen commented on August 16, 2024

Hi,

what happens, if you manually set the library path:

export DYLD_LIBRARY_PATH=/users/joao/local/conda/envs/sorting/lib/python2.7/site-packages/gr/lib

Josef

from gr.

jcouto avatar jcouto commented on August 16, 2024

Hi,

i am afraid I got the same error... There is no "lib" folder in .../lib/python2.7/site-packages/gr/

Thanks again, Joao

from gr.

cfelder avatar cfelder commented on August 16, 2024

I can reproduce this see below:

conda create --name conda27-gr python
source /usr/local/anaconda/bin/activate conda27-gr
conda install -c https://conda.anaconda.org/jheinen gr
conda install pyqt

(conda27-gr)mbadmin:examples Guest$ python qtgrdemo.py
GKS: dlopen(/Users/Guest/.conda/envs/conda27-gr/lib/python2.7/site-packages/gr/lib/qtplugin.so, 1): image not found

(conda27-gr)mbadmin:examples Guest$ ls -l ~/.conda/envs/conda27-gr/lib/python2.7/site-packages/gr
total 30424
drwxr-xr-x  3 Guest  _guest       102 20 Jun 23:27 GKSTerm.app
-rw-r--r--  2 Guest  _guest     94406  1 Apr 15:24 __init__.py
-rw-r--r--  2 Guest  _guest    115018  1 Apr 15:24 __init__.pyc
-rw-r--r--  2 Guest  _guest       123  1 Apr 15:24 _version.py
-rw-r--r--  2 Guest  _guest       296  1 Apr 15:24 _version.pyc
-rwxr-xr-x  2 Guest  _guest    451768  1 Apr 15:24 figplugin.so
drwxr-xr-x  2 Guest  _guest      2482 20 Jun 23:27 fonts
-rwxr-xr-x  2 Guest  _guest    460424  1 Apr 15:24 htmplugin.so
-rwxr-xr-x  2 Guest  _guest    423324  1 Apr 15:24 libGKS.so
-rwxr-xr-x  2 Guest  _guest  11211112  1 Apr 15:24 libGR.so
drwxr-xr-x  2 Guest  _guest       204 20 Jun 23:27 matplotlib
-rwxr-xr-x  2 Guest  _guest   1524636  1 Apr 15:24 movplugin.so
-rwxr-xr-x  2 Guest  _guest    459840  1 Apr 15:24 pgfplugin.so
drwxr-xr-x  2 Guest  _guest       340 20 Jun 23:30 pygr
-rwxr-xr-x  2 Guest  _guest    150088  1 Apr 15:24 quartzplugin.so
-rwxr-xr-x  2 Guest  _guest    459832  1 Apr 15:24 svgplugin.so
-rwxr-xr-x  2 Guest  _guest    186580  1 Apr 15:24 wmfplugin.so

qtplugin.so is missing. Therefore the GKS qt plugin does not work in this conda environment.

from gr.

jheinen avatar jheinen commented on August 16, 2024

It seems that the Conda build is broken. I'll fix this when I'm back in office. The next release is planned for early July - is this ok for you?

from gr.

jcouto avatar jcouto commented on August 16, 2024

That is perfect, thanks a lot!
Best, Joao

from gr.

nilsbecker avatar nilsbecker commented on August 16, 2024

i am seeing the same issue. after successful install of gr from pip on os x sierra, i also git clone the repository, then go to the examples directory and run python pyqt5_ex.py. i get

  Referenced from: /Users/nbecker/Apps/anaconda2/lib/python2.7/site-packages/gr/lib/qt5plugin.so
  Reason: image not found
brew info qt
qt: stable 5.10.0 (bottled), HEAD [keg-only]

from gr.

FlorianRhiem avatar FlorianRhiem commented on August 16, 2024

We are closing this issue due to inactivity. Please reopen the issue and let us know if its cause still persists with the current version of GR.

from gr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.