Saba Kauser added the comment:
Thanks Steve!
--
___
Python tracker
<https://bugs.python.org/issue40906>
___
___
Python-bugs-list mailing list
Unsubscribe:
Saba Kauser added the comment:
Hello Steve,
You have added changes to load windows dependent DLLs for python C extension
modules. After building the source, I can import the module only after I set
dll path as:
os.add_dll_directory('C:\\Program Files\\IBM\\IBM DATA SERVER DRIVER_01
Saba Kauser added the comment:
Thanks a ton! That worked..
As I understand, users are required to add the directory path of the dll.
Is there any way I can set this while building the extension with dependency? I
basically want to hard-code the dependency path so that import module works
Change by Saba Kauser :
Added file: https://bugs.python.org/file49222/python3.8_2.png
___
Python tracker
<https://bugs.python.org/issue40906>
___
___
Python-bugs-list m
Change by Saba Kauser :
Added file: https://bugs.python.org/file49221/python3.7.png
___
Python tracker
<https://bugs.python.org/issue40906>
___
___
Python-bugs-list m
New submission from Saba Kauser :
Hi,
I am building python ibm_db C extension for Python 3.8 support. while the
binary is generated successfully and installed to site-packages, I am unable to
load the same.
The error I get is:
Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v
New submission from Saba Kauser :
HI,
I am using get_python_lib() to copy certain data files to site-pacakges
location while installation of package ibm_db. I am using this function to
execute a command as well on one of the shared library @package install
location.
So far, I have faced
Saba Kauser added the comment:
Experts, please help.
get_python_lib() is behaving strangely and I have detailed the problem in my
last update.
--
title: python ibm_db setup.py post install script does not seem to work from
Anaconda -> distutils.sysconfig.get_python_lib beha
Change by Saba Kauser :
--
components: +Distutils -Build
nosy: +dstufft, eric.araujo
___
Python tracker
<https://bugs.python.org/issue36640>
___
___
Python-bug
Saba Kauser added the comment:
I have debugged this further.
The problem seems be happening due to usage of get_python_lib().
e.g:
if('darwin' in sys.platform):
class PostInstall(install):
""" Post installation - run install_name_tool on Darwin
Saba Kauser added the comment:
I was able to determine the reason.
When running through anaconda, the pip copies ibm_db.so to site-packages path.
However, as logged in user, install_name_tool fails with permission denied
error.
BLR-D-MACOS03:site-packages skauser$ install_name_tool -change
Saba Kauser added the comment:
Thanks Karthikeyan.
The behavior is specific to anaconda when I use the python/pip that comes with
it. When I use the pip from anaconda,
e.g:/Users/skauser/anaconda3/bin/pip
pip install ibm_db
Installation is success,but when I import ibm_db, I get this error
New submission from Saba Kauser :
Hi,
I have added a post install class that's working fine when I do "pip install
ibm_db" on MAC. However, when I use the python/pip from anaconda3(python 3.7),
the same pip is not executing the post install script.
Can some one please take a
Change by Saba Kauser :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue36269>
___
___
Python-bugs-list
Saba Kauser added the comment:
I am able to get this to work.
I just needed to invoke parent's run prior to the post install commands.
if('darwin' in sys.platform):
class PostInstall(install):
""" Post installation - run install_name_tool on D
New submission from Saba Kauser :
Hello,
I have a post install class that looks like this:
if('darwin' in sys.platform):
class PostInstall(install):
""" Post installation - run install_name_tool on Darwin """
def run(self):
Saba Kauser added the comment:
Thanks Karthikeyan!
--
___
Python tracker
<https://bugs.python.org/issue36075>
___
___
Python-bugs-list mailing list
Unsub
Saba Kauser added the comment:
Could you please share the URL
--
___
Python tracker
<https://bugs.python.org/issue36075>
___
___
Python-bugs-list mailin
Saba Kauser added the comment:
Did anyone get a chance to look at my case?
Thanks,
Saba.
--
___
Python tracker
<https://bugs.python.org/issue36075>
___
___
New submission from Saba Kauser :
Hi,
I am building my python ibm_db driver on python 3.7 using the setup.py under
https://github.com/SabaKauser/python-ibmdb/blob/master/IBM_DB/ibm_db/setup.py
with 2to3 compatibility as:
python setup.py build
and installing as:
python setup.py install
I
New submission from Saba Kauser :
Hello,
I have a program that works well upto python 3.6 but fails with python 3.7.
import re
pattern="DBMS_NAME: string(%d) %s"
sym = ['\[','\]','\(','\)']
for chr in sym:
pattern = re.sub(chr, '\\&
New submission from Saba Kauser :
Hello,
Everything was working perfectly until recently, may be a week back, when I
first started to see the error while generating egg for python ibm_db package.
Every time I execute the command : python setup.py bdsit_egg,
my flow stops with below error
New submission from Saba Kauser :
Hi,
I am planning to make new release of python ibm_db driver and I wanted to know
the stable versions of python beyond python 3.6.
I can see python 3.8 marked as "in development" and I do read that python
3.7.0b4 is the final planned beta relea
New submission from Saba Kauser :
Hello,
I have a user who is complaining that python ibm_db module import fails after
some windows 7 security update. I am not sure if this is a bug or some other
setup issue but I could not find any other forum where I can post this query.
Please feel free to
24 matches
Mail list logo