Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3 support #1

Closed
rominf opened this issue Dec 6, 2014 · 6 comments
Closed

Python 3 support #1

rominf opened this issue Dec 6, 2014 · 6 comments

Comments

@rominf
Copy link

rominf commented Dec 6, 2014

# sudo pip3 install pandas-qt
Downloading/unpacking pandas-qt
  Downloading pandas-qt-0.1.0.tar.gz
  Running setup.py (path:/tmp/pip_build_root/pandas-qt/setup.py) egg_info for package pandas-qt
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/tmp/pip_build_root/pandas-qt/setup.py", line 13
        raise e, "install sip first (comming with PyQt4)"
               ^
    SyntaxError: invalid syntax
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/tmp/pip_build_root/pandas-qt/setup.py", line 13

    raise e, "install sip first (comming with PyQt4)"

           ^

SyntaxError: invalid syntax
@datalyze-solutions
Copy link
Collaborator

Thanks for reporting. I haven't I tested it with Python3 so far. As soon as I've time, I will fix it.

@sem-geologist
Copy link

It could be enough to rewrite offending parts as:

raise Exception("install sip first... or pyqt4...")

which works both on python 3.x and 2.7

@dmopalmer
Copy link

I am trying to get pandas-qt working with both Python3 and PySide. (It is checked in to my dmopalmer/pandas-qt Python3 branch)

The BasicExample works.
The ThreadedExample gives QObject::setParent: Cannot set parent, new parent is in a different thread errors and doesn't show anything until all the threads are done.
The TestExample runs into problems with magic files being the wrong version

@lucas993
Copy link

👍

@dmopalmer
Copy link

As I said on issue #2

I just submitted a pull request #15 that supports all pythons (2.7 and 3.5), all interfaces (PySide, PyQt4, PyQt5).

It doesn't work perfectly. I am not a person who will make it work perfectly. It is an improvement.

@zbarge
Copy link

zbarge commented Dec 4, 2016

I've got a fork for this as well with some support for 3.5 - it will at least install...https://github.com/zbarge/QtPandas

@rominf rominf closed this as not planned Won't fix, can't repro, duplicate, stale Apr 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants