Giter Club home page Giter Club logo

pyqglviewer's People

Contributors

ethan13310 avatar fredboudon avatar pradal avatar witherj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pyqglviewer's Issues

Push on conda-forge ?

Due to the central position of pyqglviewer for building the plantgl/lpy/plantscan/openalea/visualea stack, would it be feasable to push this package on conda-forge ?

Can't install pyqglviewer on Windows with Python 3.7 or later

Hello! I have a problem on Windows because conda doesn't allow install pyqglviewer for env with python 3.7 or later and dconda can't create env with python 3.6
.

C:\Users\eugene>conda install -c fredboudon pyqglviewer --force


WARNING: The --force flag will be removed in a future conda release.
         See 'conda install --help' for details about the --force-reinstall
         and --clobber flags.


Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
Examining @/win-64::__archspec==1=x86_64:  80%|█████████████████████████████████▌        | 4/5 [00:00<00:00, 70.17it/s]-failed

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  - pyqglviewer -> python[version='>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.5,<3.6.0a0']

Your python: python==3.7

>conda create -n cgal4_env python==3.6
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - python==3.6

Current channels:

  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-64
  - https://repo.anaconda.com/pkgs/msys2/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

Can you fix please the ability to use python 3.7 or later?

Thank you very much for your work!

Dependencies

Hello! Thanks for sharing this nice tool.
I was trying to install PYQGLViewer, but got a bit confused about the dependencies, e.g. is it compatible with Python3 and PyQt5? It seems the configure.py is developed Python2. Would you elaborate the versions of dependencies more in the project description?
Thank you for your consideration!

Issues with start code

After installing in a conda environment with conda install pyqglviewer -c fredboudon -c conda-forge, I had the following issues with the starter code:

I believe PyQGLViewer is installed as shown, but qgllogo is unavailable, and I could not find it mentioned on the internet:

In [1]: from PyQGLViewer import *

In [2]: from qgllogo import draw_qgl_logo
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[2], line 1
----> 1 from qgllogo import draw_qgl_logo

ModuleNotFoundError: No module named 'qgllogo'

Next the QApplication seems to not some from the given imports, maybe it moved around in the Qt library?

In [3]: from PyQt5.QtGui import *

In [4]: qapp = QApplication([])
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
Cell In[4], line 1
----> 1 qapp = QApplication([])

NameError: name 'QApplication' is not defined

In [5]: from PyQt5.Qt import QApplication

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.