[ 
https://issues.apache.org/jira/browse/ARROW-14170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17422618#comment-17422618
 ] 

Hezi Hershkovitz commented on ARROW-14170:
------------------------------------------

I tried it now. I am still getting the same error.

python 3.7.8 64bit:

 
{code:java}
(venv) C:\Superset>python
Python 3.7.8 (tags/v3.7.8:4b47a5b6ba, Jun 28 2020, 08:53:46) [MSC v.1916 64 bit 
(AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
{code}
64bit dll:
{code:java}
>dumpbin /headers fbclient.dll
Microsoft (R) COFF/PE Dumper Version 14.29.30133.0
Copyright (C) Microsoft Corporation.  All rights reserved.
Dump of file fbclient.dllPE signature foundFile Type: DLLFILE HEADER VALUES
            8664 machine (x64)
{code}
Error:
{code:java}

  File "C:\Superset\venv\lib\site-packages\sqlalchemy\engine\create.py", line 
590, in connect
    return dialect.connect(*cargs, **cparams)
  File "C:\Superset\venv\lib\site-packages\sqlalchemy\engine\default.py", line 
584, in connect
    return self.dbapi.connect(*cargs, **cparams)
  File "C:\Superset\venv\lib\site-packages\fdb\fbcore.py", line 800, in connect
    load_api(fb_library_name)
  File "C:\Superset\venv\lib\site-packages\fdb\fbcore.py", line 231, in load_api
    setattr(sys.modules[__name__], 'api', ibase.fbclient_API(fb_library_name))
  File "C:\Superset\venv\lib\site-packages\fdb\ibase.py", line 1396, in __init__
    fb_library = WinDLL(fb_library_name)
  File 
"C:\Users\User\AppData\Local\Programs\Python\Python37\lib\ctypes\__init__.py", 
line 364, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application
{code}
In addition, I tried with 32bit dll and python and I was able to connect to the 
database using sqlalchemy.

 

 

> [Python] Wheels not built for 32-Bit Windows
> --------------------------------------------
>
>                 Key: ARROW-14170
>                 URL: https://issues.apache.org/jira/browse/ARROW-14170
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>         Environment: python 3.7.8
>            Reporter: Hezi Hershkovitz
>            Priority: Major
>
> I have the exact same issue as was discussed here:
>  [https://github.com/apache/arrow/issues/6902]
>  
> {code:java}
> // code placeholder
>  raise RuntimeError('Not supported on 32-bit Windows')
>   RuntimeError: Not supported on 32-bit Windows
>   ----------------------------------------
>   ERROR: Failed building wheel for pyarrow
>  
> {code}
> My problem is that I am trying to connect apache superset to 32bit Firebird 
> version, and as a result I must use python 32bit.
> Is there a way to overcome this issue? Any plans to support 32bit in the 
> future?
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to