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

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

Related

Not able to open jupyter notebook on my Windows10 system using anaconda navigator

I am trying to open Jupyter notebook on my windows 10 system using anaconda navigator but not able to open it as it is showing following error.
Traceback (most recent call last):
File "C:\Users\kaushiki\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 10, in
import sqlite3
ModuleNotFoundError: No module named 'sqlite3'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\kaushiki\Anaconda3\Scripts\jupyter-notebook-script.py", line 6, in
from notebook.notebookapp import main
File "C:\Users\kaushiki\Anaconda3\lib\site-packages\notebook\notebookapp.py", line 85, in
from .services.sessions.sessionmanager import SessionManager
File "C:\Users\kaushiki\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 13, in
from pysqlite2 import dbapi2 as sqlite3
ModuleNotFoundError: No module named 'pysqlite2'

cx_Oracle connection issue from 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'

cannot launch Jupyter from anaconda

I just got a new laptop at work and installed anaconda.. howerver, when i launched Jupyter I received the following error. Does anyone know what i should do here? Cheers
Traceback (most recent call last):
File "C:\Users\darren.chapman\AppData\Local\Continuum\anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 9, in
import sqlite3
File "C:\Users\darren.chapman\AppData\Local\Continuum\anaconda3\lib\sqlite3\__init__.py", line 23, in
from sqlite3.dbapi2 import *
File "C:\Users\darren.chapman\AppData\Local\Continuum\anaconda3\lib\sqlite3\dbapi2.py", line 27, in
from _sqlite3 import *
ImportError: DLL load failed: The specified procedure could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\darren.chapman\AppData\Local\Continuum\anaconda3\Scripts\jupyter-notebook-script.py", line 6, in
from notebook.notebookapp import main
File "C:\Users\darren.chapman\AppData\Local\Continuum\anaconda3\lib\site-packages\notebook\notebookapp.py", line 86, in
from .services.sessions.sessionmanager import SessionManager
File "C:\Users\darren.chapman\AppData\Local\Continuum\anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 12, in
from pysqlite2 import dbapi2 as sqlite3
ModuleNotFoundError: No module named 'pysqlite2'
You have to add the path.
while installing click the add anoconda to the path.

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

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.

Categories

Resources