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

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

I tried. With 64bit fbclient.dll running on top of 32bit python I am getting an 
error:

 
{code:java}

  File 
"C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\sqlalchemy\util\compat.py",
 line 207, in raise_
    raise exception
  File 
"C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\sqlalchemy\pool\base.py",
 line 661, in __connect
    self.dbapi_connection = connection = pool._invoke_creator(self)
  File 
"C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\sqlalchemy\engine\create.py",
 line 590, in connect
    return dialect.connect(*cargs, **cparams)
  File 
"C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\sqlalchemy\engine\default.py",
 line 584, in connect
    return self.dbapi.connect(*cargs, **cparams)
  File 
"C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\fdb\fbcore.py",
 line 800, in connect
    load_api(fb_library_name)
  File 
"C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\fdb\fbcore.py",
 line 231, in load_api
    setattr(sys.modules[__name__], 'api', ibase.fbclient_API(fb_library_name))
  File 
"C:\Users\User\AppData\Local\Programs\Python\Python37-32\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-32\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}
So I don't see an option to connect to this 32bit firebird database from 
superset.

 

> [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