cx_Oracle connection issue from python - python

Hi I am getting below error when trying to connect to Oracle from python.
Traceback (most recent call last):
File "C:\Python34\Scripts\OraConnect.py", line 1, in <module>
import cx_Oracle
ImportError: No module named 'cx_Oracle'

Related

how connection odoo.conf with postgresql by pycharm in odoo 15

i want configration odoo.conf with postgresql pgadmin by pycharm
But I have a problem
odoo.conf.py
edit configrations
problem message:
/home/ayobqorban/odoo/testodoo/odoo15/venv/bin/python /home/ayobqorban/odoo/testodoo/odoo15/odoo-bin --config=/home/ayobqorban/odoo/testodoo/odoo15/debian/odoo.conf
Traceback (most recent call last):
File "/home/ayobqorban/odoo/testodoo/odoo15/odoo-bin", line 5, in <module>
import odoo
File "/home/ayobqorban/odoo/testodoo/odoo15/odoo/__init__.py", line 75, in <module>
import PyPDF2
ModuleNotFoundError: No module named 'PyPDF2'
Process finished with exit code 1

test_ssl.py and test_urllib2.py tests are failing in python2.7

test_ssl.py
root#yasir:/home/yasir/PYTHON/python2.7-2.7.6/Lib/test# python python test_ssl.py
Traceback (most recent call last):
File "test_ssl.py", line 7, in <module>
from test.script_helper import assert_python_ok
ImportError: No module named script_helper
test_urllib2.py
root#yasir:/home/yasir/PYTHON/python2.7-2.7.6/Lib/test# python test_urllib2.py
Traceback (most recent call last):
File "test_urllib2.py", line 3, in <module>
from test import test_urllib
ImportError: cannot import name test_urllib
I'm not able to understand which module is missing so facing this error
tests failed due to missing python module libpython2.7-testsuite

MS SQL Connection to Python

I'm getting an error that Django did not find the pyodbc library in the build directory. Will use an installed version.
Traceback (most recent call last):
File "C:\Users\ggang1\Downloads\pyodbc-4.0.17\pyodbc-4.0.17\tests3\test.py", line 5, in <module>
import pyodbc
ImportError: No module named pyodbc
Any help would be appreciated.

Issue in python Hive connectivity

I am trying to connect the python with Hive, and I am getting following message on terminal:
Traceback (most recent call last):
File "eg.py", line 18, in <module>
database='default')
File "/home/ashok/.local/lib/python2.7/site-packages/pyhs2/__init__.py", line 6, in connect
from .connections import Connection
File "/home/ashok/.local/lib/python2.7/site-packages/pyhs2/connections.py", line 7, in <module>
from cloudera.thrift_sasl import TSaslClientTransport
ImportError: No module named cloudera.thrift_sasl
Even after doing some google work, I can't find the answer.
Help me out here.

No module named pycurl on mac terminal

When I start .py file I got this error? Why?
Traceback (most recent call last):
File "/Users/omercancelikler/webstagram.py", line 3, in <module>
import pycurl
ImportError: No module named pycurl

Categories

Resources