I need to use the Sybase Python module, but our SA will not be installed because it is not in the repo. I downloaded it and placed it on the box and would just like to βimportβ or βenableβ the module without first installing it. - Is it possible? In appearance (Sybase ASE) some type of compilation is required before use. Is it possible for this type of work?
If you can force Sybase to use a virtual environment (I donβt know anything about Sybase, sorry), you can probably install the module using virtualenv, which usually does not require root or SA access.
sybase, , , Google , easy_install.
, (- -?), . , , python Sybase , : 1) SA 2) - .
python script, d/l, SA, "" -, apt-.
, .
, , :
python setup.py build_ext
should create a shared sybasect object. Copying this file and the Sybase.py somwhere file to PYTHONPATH may just do it for you.
Source: https://habr.com/ru/post/1749026/More articles:.htaccess file, IE does not work Firefox, Safari & Chrome works - internet-explorerreading files through $ _GET - securitygit output conflict results - gitVisual C # 2010 Express saves file descriptor after debugging - c #Eclipse IDE for C / C ++ Developers Compiles Question - c ++Java applets and javascripts - javascriptASP.NET content page: how to run a script on "body" using "body onload = myfunc ()" - javascriptParsing timestamp with Python2.4 - pythonDoes Nhibernate support Sybase? - sybaseSetting the service url at runtime - c #All Articles