Nov-11-2022, 08:14 PM
Visual Studio Code venv does not allow to pip install ibm_db ( Python 3.7.9)
whereas PyCharm venv allows and then work properlly for the same Python 3.7.9 . Can not figer it out. Somebody know what to do ?
-----------------------Below the terminal info-----------------------------------------------------
Detected 64-bit Python
Db2 installation detected ...
Traceback (most recent call last):
File "c:\roboczy\python37venv\.venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 351, in <module>
main()
File "c:\roboczy\python37venv\.venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 333, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "c:\roboczy\python37venv\.venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\zdzis\AppData\Local\Temp\pip-build-env-y_q_1jmh\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "C:\Users\zdzis\AppData\Local\Temp\pip-build-env-y_q_1jmh\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in _get_build_requires
self.run_setup()
File "C:\Users\zdzis\AppData\Local\Temp\pip-build-env-y_q_1jmh\overlay\Lib\site-packages\setuptools\build_meta.py", line 335, in run_setup
exec(code, locals())
File "<string>", line 129, in <module>
File "<string>", line 91, in _getinstalledDb2Path
IndexError: list index out of range
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
whereas PyCharm venv allows and then work properlly for the same Python 3.7.9 . Can not figer it out. Somebody know what to do ?
-----------------------Below the terminal info-----------------------------------------------------
Detected 64-bit Python
Db2 installation detected ...
Traceback (most recent call last):
File "c:\roboczy\python37venv\.venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 351, in <module>
main()
File "c:\roboczy\python37venv\.venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 333, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "c:\roboczy\python37venv\.venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\zdzis\AppData\Local\Temp\pip-build-env-y_q_1jmh\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "C:\Users\zdzis\AppData\Local\Temp\pip-build-env-y_q_1jmh\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in _get_build_requires
self.run_setup()
File "C:\Users\zdzis\AppData\Local\Temp\pip-build-env-y_q_1jmh\overlay\Lib\site-packages\setuptools\build_meta.py", line 335, in run_setup
exec(code, locals())
File "<string>", line 129, in <module>
File "<string>", line 91, in _getinstalledDb2Path
IndexError: list index out of range
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.