This question has been flagged
3 Replies
11037 Views

Can anyone help me regarding this error?


Img: https://prnt.sc/v5cl8b


it says "ERROR: Double requirement given: gevent==1.4.0 (from -r requirements.txt (line 10)) (already in gevent==1.5.0 (from -r requirements.txt (line 9)), name='gevent')"


so I already have Odoo 12 and tried to install Odoo 14 through cmd, did I missed something?


Thank you for your help :D

Avatar
Discard

Please post your "requirement.txt" for more details.

Author

hello, thank you for your support, this is my requirements.txt

=================

Babel==2.3.4

chardet==3.0.4

decorator==4.0.10

docutils==0.12

ebaysdk==2.1.5

feedparser==5.2.1

gevent==1.1.2 ; sys_platform != 'win32' and python_version < '3.7'

gevent==1.3.4 ; sys_platform != 'win32' and python_version >= '3.7'

gevent==1.4.0 ; sys_platform == 'win32' and python_version >= '3.7'

greenlet==0.4.10 ; python_version < '3.7'

greenlet==0.4.13 ; python_version >= '3.7'

html2text==2016.9.19

Jinja2==2.10.1

libsass==0.12.3

lxml==3.7.1 ; sys_platform != 'win32' and python_version < '3.7'

lxml==4.2.3 ; sys_platform != 'win32' and python_version >= '3.7'

lxml ; sys_platform == 'win32'

Mako==1.0.4

MarkupSafe==0.23

mock==2.0.0

num2words==0.5.6

ofxparse==0.16

passlib==1.6.5

Pillow==4.0.0 ; python_version < '3.7'

Pillow==6.1.0 ; python_version >= '3.7'

psutil==4.3.1; sys_platform != 'win32'

psutil==5.6.3; sys_platform == 'win32'

psycopg2==2.7.3.1; sys_platform != 'win32'

psycopg2==2.8.3; sys_platform == 'win32'

pydot==1.2.3

pyldap==2.4.28; sys_platform != 'win32'

pyparsing==2.1.10

PyPDF2==1.26.0

pyserial==3.1.1

python-dateutil==2.5.3

pytz==2016.7

pyusb==1.0.0

qrcode==5.3

reportlab==3.3.0

requests==2.20.0

suds-jurko==0.6

vatnumber==1.2

vobject==0.9.3

Werkzeug==0.11.15

XlsxWriter==0.9.3

xlwt==1.3.*

xlrd==1.0.0

pypiwin32 ; sys_platform == 'win32'

==================

I tried this method https://stackoverflow.com/questions/64040734/how-to-handle-double-requirement-given-error-when-installing-requirements-for but still got error

Thank You :D

Author Best Answer

Hello again,

I think I've just found something, so I tried doing this

pip install setuptools --upgrade

after cmd: cd odoo

and everything works fine :D

Thank you for your time and attention


Ref: https://stackoverflow.com/questions/44761958/using-pip3-module-importlib-bootstrap-has-no-attribute-sourcefileloader

Avatar
Discard