-
Notifications
You must be signed in to change notification settings - Fork 2
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_wrap test TestInvertedMultiIndexBuilder not working #1
Comments
I had to change dtypes too because of ValueError: Buffer dtype mismatch.
Maybe try to remove 3.6, 3.7 library versions and run with python 3.5. |
After much agony with python 3.5 and mingw:
|
Finally I compile with mingw and error still same, on row:
test stop with error: |
I have just rebuilt py_inverted_multi_index from scratch today(I have reinstalled windows 7 recently). https://stackoverflow.com/questions/2817869/error-unable-to-find-vcvarsall-bat
My steps. I have in path: To build extension: Then I need to force usage of 64 bit compiler (https://stackoverflow.com/a/5171276):
Then run
It gave me:
That is because linker was searching for libopenblas.lib but openblas is shipped with libopenblas.dll.a import library.
Extension has built. My current setup.py (slightly modified):
|
Can you simply upload all .pxd? |
I think problem in:
After calling |
You mean .pyd? My installed packages: |
Yes, .pyd files. |
I have tried to build extensions with python 3.7 (Python 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 10:41:24) [MSC v.1900 64 bit (AMD64)] on win32). |
Here are .pyd files built with python 3.5 (that do not crash). |
Python 3.5.4 (v3.5.4:3f56838, Aug 8 2017, 02:17:05) [MSC v.1900 64 bit (AMD64)] And I have to specify np.int32 types for these arrays:
|
I change
to
in test-InvertedMultiIndexBuilder.py
Otherwise, the function buildInvertedMultiIndex was not started with ValueError: Buffer dtype mismatch.
And also add
in setup.py for debuging C.
Now function
started, but:
The text was updated successfully, but these errors were encountered: