GithubHelp home page GithubHelp logo

Comments (9)

nicobako avatar nicobako commented on June 11, 2024 2

I'm truly glad I could help! You may be the first person (besides me) to be using PySide2, so please let us know how it works for you. Your input is really appreciated.

from pyvistaqt.

nicobako avatar nicobako commented on June 11, 2024 1

pip supports installing packages directly from a git repository. To learn more see https://pip.pypa.io/en/stable/reference/pip_install/#git

The command for installing the master branch of pyvistaqt with pip would be: pip install git+https://github.com/pyvista/pyvistaqt.git@master#egg=pyvistaqt

from pyvistaqt.

nicobako avatar nicobako commented on June 11, 2024

So, I helped author #61. I updated the documentation to reflect the new qtpy support, but that only exists in the master branch, and will be available in the next release. If you use the master branch then pyvistaqt should work with qtpy.

I only now realize that the documentation online is not in agreement with the current release of pyvistaqt.

from pyvistaqt.

dominicjtriana avatar dominicjtriana commented on June 11, 2024

So, I helped author #61. I updated the documentation to reflect the new qtpy support, but that only exists in the master branch, and will be available in the next release. If you use the master branch then pyvistaqt should work with qtpy.

I only now realize that the documentation online is not in agreement with the current release of pyvistaqt.

Thanks for the reply. I made fresh env and didn't use conda all packages install with pip. Also added the clang path. Now my error is different, "unexpected type 'PySide2.QtWidgets.QFrame'" which I saw was a previous issue.

Is this all related? If I use PyQt5 it seems to work well, so should I just not use PySide2?

from pyvistaqt.

nicobako avatar nicobako commented on June 11, 2024

Are you using the master branch of pyvistaqt, or are you using a version from pypi? In short, which version of pyvistaqt are you using?

Also, I'm really not sure if these issues are related, I should probably leave this to someone who knows more...

from pyvistaqt.

dominicjtriana avatar dominicjtriana commented on June 11, 2024

Are you using the master branch of pyvistaqt, or are you using a version from pypi? In short, which version of pyvistaqt are you using?

I'm using the pypi version atm. I used conda-forge version too with similar issues.

from pyvistaqt.

nicobako avatar nicobako commented on June 11, 2024

I think the issue is that the qtpy support is currently only in the master branch and not in any official release in pypi. The qtpy functionality will be incorporated into the next official release (0.3.0, I think). Unfortunately, the documentation online reflects the master branch and not the latest official release... I'm sorry about that.

If you want to use qtpy, then you will need to install the master branch. Otherwise, you could use pyqt5 for now and wait for the next release to use pyside2 (via qtpy). I hope this helps.

from pyvistaqt.

dominicjtriana avatar dominicjtriana commented on June 11, 2024

If you want to use qtpy, then you will need to install the master branch. Otherwise, you could use pyqt5 for now and wait for the next release to use pyside2 (via qtpy). I hope this helps.

This does help a lot. At least I know I'm not going crazy... If I wanted to use the master branch how would I do that? I've very new to all of this.

from pyvistaqt.

dominicjtriana avatar dominicjtriana commented on June 11, 2024

The command for installing the master branch of pyvistaqt with pip would be: pip install git+https://github.com/pyvista/pyvistaqt.git@master#egg=pyvistaqt

Problem solved! Thus ends my two day struggle. Jesus H Christ. Thanks again.

from pyvistaqt.

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.