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

pandas fails to build (aware that this is not emzed2 !) #25

Open
lopippo opened this issue Mar 20, 2020 · 8 comments
Open

pandas fails to build (aware that this is not emzed2 !) #25

lopippo opened this issue Mar 20, 2020 · 8 comments

Comments

@lopippo
Copy link

lopippo commented Mar 20, 2020

Greetings,

on my Debian box, I am trying the setup.py install command.

That command elicits the download of a number of Python packages that are built "live".

There are a huge bunch of warnings, more or less critical in a number of packages. However, the first errors appear when building pandas (see below).

My question: did you already encounter these problems ?
What version of Python (2.7 or 3.x) should be used for building emzed2 ?

Thank you for your attention.

lopippo

pandas/lib.c: In function ‘__Pyx_ExceptionSave’:
pandas/lib.c:88964:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
88964 | *type = tstate->exc_type;
| ^~~~~~~~
| curexc_type
pandas/lib.c:88965:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
88965 | *value = tstate->exc_value;
| ^~~~~~~~~
| curexc_value
pandas/lib.c:88966:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
88966 | *tb = tstate->exc_traceback;
| ^~~~~~~~~~~~~
| curexc_traceback
pandas/lib.c: In function ‘__Pyx_ExceptionReset’:
pandas/lib.c:88978:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
88978 | tmp_type = tstate->exc_type;
| ^~~~~~~~
| curexc_type
pandas/lib.c:88979:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
88979 | tmp_value = tstate->exc_value;
| ^~~~~~~~~
| curexc_value
pandas/lib.c:88980:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
88980 | tmp_tb = tstate->exc_traceback;
| ^~~~~~~~~~~~~
| curexc_traceback
pandas/lib.c:88981:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
88981 | tstate->exc_type = type;
| ^~~~~~~~
| curexc_type
pandas/lib.c:88982:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
88982 | tstate->exc_value = value;
| ^~~~~~~~~
| curexc_value
pandas/lib.c:88983:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
88983 | tstate->exc_traceback = tb;
| ^~~~~~~~~~~~~
| curexc_traceback
pandas/lib.c: In function ‘__Pyx_GetException’:
pandas/lib.c:89272:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
89272 | tmp_type = tstate->exc_type;
| ^~~~~~~~
| curexc_type
pandas/lib.c:89273:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
89273 | tmp_value = tstate->exc_value;
| ^~~~~~~~~
| curexc_value
pandas/lib.c:89274:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
89274 | tmp_tb = tstate->exc_traceback;
| ^~~~~~~~~~~~~
| curexc_traceback
pandas/lib.c:89275:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
89275 | tstate->exc_type = local_type;
| ^~~~~~~~
| curexc_type
pandas/lib.c:89276:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
89276 | tstate->exc_value = local_value;
| ^~~~~~~~~
| curexc_value
pandas/lib.c:89277:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
89277 | tstate->exc_traceback = local_tb;
| ^~~~~~~~~~~~~
| curexc_traceback
pandas/lib.c: In function ‘__Pyx_ExceptionSwap’:
pandas/lib.c:90101:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
90101 | tmp_type = tstate->exc_type;
| ^~~~~~~~
| curexc_type
pandas/lib.c:90102:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
90102 | tmp_value = tstate->exc_value;
| ^~~~~~~~~
| curexc_value
pandas/lib.c:90103:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
90103 | tmp_tb = tstate->exc_traceback;
| ^~~~~~~~~~~~~
| curexc_traceback
pandas/lib.c:90104:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
90104 | tstate->exc_type = *type;
| ^~~~~~~~
| curexc_type
pandas/lib.c:90105:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
90105 | tstate->exc_value = *value;
| ^~~~~~~~~
| curexc_value
pandas/lib.c:90106:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
90106 | tstate->exc_traceback = *tb;
| ^~~~~~~~~~~~~
| curexc_traceback

@uweschmitt
Copy link
Owner

Hi, pandas dropped Python 2 support for a while and thus does not offer precompiled packages any more. This is one of the reasons why we started emzed 3.

I checked the repository at pypi.org and it seems that pandas 0.24.2 offers precompiled packages for linux. Can you thus try to run

$ pip install pandas==0.24.2

?

@lopippo
Copy link
Author

lopippo commented Mar 20, 2020

And then change the requirement pandas<0.18 in setup.py, I gather ?

@lopippo
Copy link
Author

lopippo commented Mar 20, 2020

Yes, that worked, going on...

@lopippo
Copy link
Author

lopippo commented Mar 20, 2020

And now a HUGE amount of errors with calls to print missing parentheses around the arguments each time. I guess this will take some time to fix ?

@lopippo
Copy link
Author

lopippo commented Mar 20, 2020

It is odd, because there we many such warnings, in reality, when building other installed packages. But this one is a real error:

File "/tmp/easy_install-w913ypqx/ipython-0.10/setup.py", line 55
print 'Unsupported operating system:',os.name

Can it be possible that ipython has such an error ?

@lopippo
Copy link
Author

lopippo commented Mar 20, 2020

The setup.py file mentions ipython == 0.10, maybe I could try without the version limitation ?

@uweschmitt
Copy link
Owner

  1. emzed2 is not Python 3 ready
  2. You will encounter many other issues with PyQt and plotting libraries, this was already a problem on linux some years ago.
  3. Do you have access to a windows machine? The installer we offer for windows should still work.

@uweschmitt
Copy link
Owner

The setup.py file mentions ipython == 0.10, maybe I could try without the version limitation ?

you can try. but weaken the restricition. If you remove it you will get ipython 6 or 7 and these versions are very different.

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

2 participants