Hi, I already setup the configurations in Odoo 10 but still facing this error. I am using docker and eclipse. Any idea for this? I already setup the configurations in Odoo 10 but still facing this error. I am using docker and eclipse. Any idea for this?
I tried to do this
> pip install -r requirements.txt
output:
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: Babel==2.3.4 in /home/user/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (2.3.4)
Requirement already satisfied: decorator==4.0.10 in /home/user/.local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (4.0.10)
Requirement already satisfied: docutils==0.12 in /home/user/.local/lib/python3.8/site-packages (from -r requirements.txt (line 3)) (0.12)
Collecting ebaysdk==2.1.4
Using cached ebaysdk-2.1.4-py3-none-any.whl
Requirement already satisfied: feedparser==5.2.1 in /home/user/.local/lib/python3.8/site-packages (from -r requirements.txt (line 5)) (5.2.1)
Collecting gevent==1.1.2
Using cached gevent-1.1.2.tar.gz (2.0 MB)
Collecting greenlet==0.4.10
Using cached greenlet-0.4.10.zip (82 kB)
Collecting jcconv==0.2.3
Using cached jcconv-0.2.3.tar.gz (4.9 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zu17hk7n/jcconv_d2d52287526f4c528610eec659e10730/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zu17hk7n/jcconv_d2d52287526f4c528610eec659e10730/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-xa6c3jiz
cwd: /tmp/pip-install-zu17hk7n/jcconv_d2d52287526f4c528610eec659e10730/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-zu17hk7n/jcconv_d2d52287526f4c528610eec659e10730/setup.py", line 17
print "unit tests have failed!"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("unit tests have failed!")?
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/dd/5b/55d6dd385e8584c6750864ddec8d5ff82a295b37ac68344febc9e923bf99/jcconv-0.2.3.tar.gz#sha256=e3bd59d3fb129b952f84c66e6187abddb88cc7c2b3c83b12685a3256fd3b5e54 (from https://pypi.org/simple/jcconv/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement jcconv==0.2.3
ERROR: No matching distribution found for jcconv==0.2.3
WARNING: You are using pip version 20.3.4; however, version 21.0.1 is available.
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
This is my conf:
[options]
admin_passwd = 12345
db_host = 127.0.0.1
db_port = 5437
db_user = odoo
db_password = odoo
data_dir = /home/user/.local/share/Odoo10
addons_path = /home/user/Desktop/odoo-workspace/odoo10/odoo/addons
xmlrpc_port = 8069
limit_time_cpu = 1200
limit_time_real = 2400
Traceback (most recent call last):
File "/home/user/Desktop/odoo-workspace/odoo10/odoo-bin", line 5, in <module>
__import__('pkg_resources').declare_namespace('odoo.addons')
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2269, in declare_namespace
declare_namespace(parent)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2285, in declare_namespace
_handle_ns(packageName, path_item)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2218, in _handle_ns
loader.load_module(packageName)
File "<frozen importlib._bootstrap_external>", line 462, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 962, in load_module
File "<frozen importlib._bootstrap_external>", line 787, in load_module
File "<frozen importlib._bootstrap>", line 262, in _load_module_shim
File "<frozen importlib._bootstrap>", line 604, in _exec
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/user/Desktop/odoo-workspace/odoo10/odoo/__init__.py", line 57, in <module>
import addons
ModuleNotFoundError: No module named 'addons'
@Kinah Guinto
Thanks!