Size: a a a

2021 March 09

GL

Gleb Lesnikov in ctodailychat
каждой второй либе нужен Cython-шмайтон, такое ощущение что на языке особо ничего не написано
источник

GL

Gleb Lesnikov in ctodailychat
давай, ODBC коннектор нужен
источник

IV

Igor V in ctodailychat
к чему
источник

С

Слава in ctodailychat
Igor V
к чему
К odbc
источник

GL

Gleb Lesnikov in ctodailychat
#15 4.495          cwd: /tmp/pip-install-3kt1r0cs/pymssql/
#15 4.495     Complete output (7 lines):
#15 4.495     /usr/local/lib/python3.7/site-packages/setuptools/dist.py:42: DistDeprecationWarning: Do not call this function
#15 4.495       warnings.warn("Do not call this function", DistDeprecationWarning)
#15 4.495     Traceback (most recent call last):
#15 4.495       File "<string>", line 1, in <module>
#15 4.495       File "/tmp/pip-install-3kt1r0cs/pymssql/setup.py", line 88, in <module>
#15 4.495         from Cython.Distutils import build_ext as _build_ext
#15 4.495     ModuleNotFoundError: No module named 'Cython'
#15 4.495     ----------------------------------------
#15 4.495 ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
источник

GL

Gleb Lesnikov in ctodailychat
#15 9.675     Detected 64-bit Python
#15 9.675     Traceback (most recent call last):
#15 9.675       File "<string>", line 1, in <module>
#15 9.675       File "/tmp/pip-install-d24apg1g/ibm-db/setup.py", line 230, in <module>
#15 9.675         easy_cli_path = os.path.join(tmp_path, 'ibm_db-%s.egg' % ("-".join([VERSION, "py"+sys.version.split(" ")[0][0:3]]) if('win32' in sys.platform) else "-".join([VERSION, "py"+sys.version.split(" ")[0][0:3], os_, arch_])), 'clidriver')
#15 9.675     NameError: name 'arch_' is not defined
#15 9.675     ----------------------------------------
источник

GL

Gleb Lesnikov in ctodailychat
я пошел сразу в github codespaces, мне этого хватило
источник

IV

Igor V in ctodailychat
conda install pymssql

The following packages will be downloaded:

   package                    |            build
   ---------------------------|-----------------
   ca-certificates-2021.1.19  |       hecd8cb5_1         118 KB
   freetds-1.1.15             |       h37b1a22_0         1.3 MB
   krb5-1.18.2                |       h75d18d8_0         1.1 MB
   libiconv-1.16              |       h1de35cc_0         693 KB
   openssl-1.1.1j             |       h9ed2024_0         2.2 MB
   pymssql-2.1.5              |   py38haf1e3a3_0         198 KB
   unixodbc-2.3.9             |       haf1e3a3_0         251 KB
   ------------------------------------------------------------
                                          Total:         5.8 MB

The following NEW packages will be INSTALLED:

 freetds            pkgs/main/osx-64::freetds-1.1.15-h37b1a22_0
 krb5               pkgs/main/osx-64::krb5-1.18.2-h75d18d8_0
 libiconv           pkgs/main/osx-64::libiconv-1.16-h1de35cc_0
 pymssql            pkgs/main/osx-64::pymssql-2.1.5-py38haf1e3a3_0
 unixodbc           pkgs/main/osx-64::unixodbc-2.3.9-haf1e3a3_0

The following packages will be UPDATED:

 ca-certificates                      2020.12.8-hecd8cb5_0 --> 2021.1.19-hecd8cb5_1
 openssl                                 1.1.1i-h9ed2024_0 --> 1.1.1j-h9ed2024_0


Proceed ([y]/n)? y


Downloading and Extracting Packages
freetds-1.1.15       | 1.3 MB    | ##################################### | 100%
krb5-1.18.2          | 1.1 MB    | ##################################### | 100%
ca-certificates-2021 | 118 KB    | ##################################### | 100%
openssl-1.1.1j       | 2.2 MB    | ##################################### | 100%
unixodbc-2.3.9       | 251 KB    | ##################################### | 100%
pymssql-2.1.5        | 198 KB    | ##################################### | 100%
libiconv-1.16        | 693 KB    | ##################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done


следующий
источник

GL

Gleb Lesnikov in ctodailychat
ну дак это пакетики апать надо небось
источник

GL

Gleb Lesnikov in ctodailychat
дак а ты поставь кстати
источник

IV

Igor V in ctodailychat
ну так я поставил
источник

GL

Gleb Lesnikov in ctodailychat
этот шаг у меня проходился
источник

IV

Igor V in ctodailychat
нет, у тебя даже не было этого шага судя по логу который ты показ
источник

IV

Igor V in ctodailychat
import pymssql
pymssql.__version__
источник

IV

Igor V in ctodailychat
'2.1.5'
источник

IV

Igor V in ctodailychat
пожалуйста, бери odbс и используй. m1 все дела
источник

GL

Gleb Lesnikov in ctodailychat
я попробую еще раз
источник

IV

Igor V in ctodailychat
только попробуй с моей командой, а не с твоей.
источник

GL

Gleb Lesnikov in ctodailychat
нет, с пипом конечно
источник

IV

Igor V in ctodailychat
тогда успехов 😉
источник