ValueError when installing Odoo 11 on Ubuntu











up vote
0
down vote

favorite












I'm following this guide.



When I use this.




sudo pip3 install -r /opt/odoo11/odoo/requirements.txt




I get this error:




Exception:



Traceback (most recent call last):



File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)



File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 262, in run
for req in parse_requirements(filename, finder=finder, options=options, session=session):



File "/usr/lib/python3/dist-packages/pip/req.py", line 1632, in parse_requirements
req = InstallRequirement.from_line(line, comes_from, prereleases=getattr(options, "pre", None))



File "/usr/lib/python3/dist-packages/pip/req.py", line 173, in from_line
return cls(req, comes_from, url=url, prereleases=prereleases)



File "/usr/lib/python3/dist-packages/pip/req.py", line 71, in init
req = pkg_resources.Requirement.parse(req)



File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2667, in parse
reqs = list(parse_requirements(s))



File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2605, in parse_requirements
line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec")



File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2583, in scan_list
"Expected ',' or end-of-list in",line,"at",line[p:]



ValueError: ("Expected ',' or end-of-list in", "gevent==1.1.2 ; sys_platform != 'win32' and python_version < '3.7'", 'at', " ; sys_platform != 'win32' and python_version < '3.7'")



Storing debug log for failure in /home/juanfro/.pip/pip.log




This is the content of requirements.txt:




Babel==2.3.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'



greenlet==0.4.10 ; python_version < '3.7'



greenlet==0.4.13 ; python_version >= '3.7'



html2text==2016.9.19



Jinja2==2.8.1



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.4



ofxparse==0.16



passlib==1.6.5



Pillow==4.0.0



psutil==4.3.1; sys_platform != 'win32'



psycopg2==2.7.3.1; 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



PyYAML==3.12 ; python_version < '3.7'



PyYAML==3.13 ; python_version >= '3.7'



qrcode==5.3



reportlab==3.3.0



requests==2.11.1



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'




My guess is that having multiple gevent versions is messing things up or that some kind of separator is needed at the end but I don't really know what the error is or how to go around fixing it.



I found similar problems and the answers is to use :python -m pip install -U setuptools
but that is not working for me.










share|improve this question




























    up vote
    0
    down vote

    favorite












    I'm following this guide.



    When I use this.




    sudo pip3 install -r /opt/odoo11/odoo/requirements.txt




    I get this error:




    Exception:



    Traceback (most recent call last):



    File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)



    File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 262, in run
    for req in parse_requirements(filename, finder=finder, options=options, session=session):



    File "/usr/lib/python3/dist-packages/pip/req.py", line 1632, in parse_requirements
    req = InstallRequirement.from_line(line, comes_from, prereleases=getattr(options, "pre", None))



    File "/usr/lib/python3/dist-packages/pip/req.py", line 173, in from_line
    return cls(req, comes_from, url=url, prereleases=prereleases)



    File "/usr/lib/python3/dist-packages/pip/req.py", line 71, in init
    req = pkg_resources.Requirement.parse(req)



    File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2667, in parse
    reqs = list(parse_requirements(s))



    File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2605, in parse_requirements
    line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec")



    File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2583, in scan_list
    "Expected ',' or end-of-list in",line,"at",line[p:]



    ValueError: ("Expected ',' or end-of-list in", "gevent==1.1.2 ; sys_platform != 'win32' and python_version < '3.7'", 'at', " ; sys_platform != 'win32' and python_version < '3.7'")



    Storing debug log for failure in /home/juanfro/.pip/pip.log




    This is the content of requirements.txt:




    Babel==2.3.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'



    greenlet==0.4.10 ; python_version < '3.7'



    greenlet==0.4.13 ; python_version >= '3.7'



    html2text==2016.9.19



    Jinja2==2.8.1



    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.4



    ofxparse==0.16



    passlib==1.6.5



    Pillow==4.0.0



    psutil==4.3.1; sys_platform != 'win32'



    psycopg2==2.7.3.1; 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



    PyYAML==3.12 ; python_version < '3.7'



    PyYAML==3.13 ; python_version >= '3.7'



    qrcode==5.3



    reportlab==3.3.0



    requests==2.11.1



    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'




    My guess is that having multiple gevent versions is messing things up or that some kind of separator is needed at the end but I don't really know what the error is or how to go around fixing it.



    I found similar problems and the answers is to use :python -m pip install -U setuptools
    but that is not working for me.










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm following this guide.



      When I use this.




      sudo pip3 install -r /opt/odoo11/odoo/requirements.txt




      I get this error:




      Exception:



      Traceback (most recent call last):



      File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main
      status = self.run(options, args)



      File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 262, in run
      for req in parse_requirements(filename, finder=finder, options=options, session=session):



      File "/usr/lib/python3/dist-packages/pip/req.py", line 1632, in parse_requirements
      req = InstallRequirement.from_line(line, comes_from, prereleases=getattr(options, "pre", None))



      File "/usr/lib/python3/dist-packages/pip/req.py", line 173, in from_line
      return cls(req, comes_from, url=url, prereleases=prereleases)



      File "/usr/lib/python3/dist-packages/pip/req.py", line 71, in init
      req = pkg_resources.Requirement.parse(req)



      File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2667, in parse
      reqs = list(parse_requirements(s))



      File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2605, in parse_requirements
      line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec")



      File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2583, in scan_list
      "Expected ',' or end-of-list in",line,"at",line[p:]



      ValueError: ("Expected ',' or end-of-list in", "gevent==1.1.2 ; sys_platform != 'win32' and python_version < '3.7'", 'at', " ; sys_platform != 'win32' and python_version < '3.7'")



      Storing debug log for failure in /home/juanfro/.pip/pip.log




      This is the content of requirements.txt:




      Babel==2.3.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'



      greenlet==0.4.10 ; python_version < '3.7'



      greenlet==0.4.13 ; python_version >= '3.7'



      html2text==2016.9.19



      Jinja2==2.8.1



      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.4



      ofxparse==0.16



      passlib==1.6.5



      Pillow==4.0.0



      psutil==4.3.1; sys_platform != 'win32'



      psycopg2==2.7.3.1; 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



      PyYAML==3.12 ; python_version < '3.7'



      PyYAML==3.13 ; python_version >= '3.7'



      qrcode==5.3



      reportlab==3.3.0



      requests==2.11.1



      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'




      My guess is that having multiple gevent versions is messing things up or that some kind of separator is needed at the end but I don't really know what the error is or how to go around fixing it.



      I found similar problems and the answers is to use :python -m pip install -U setuptools
      but that is not working for me.










      share|improve this question















      I'm following this guide.



      When I use this.




      sudo pip3 install -r /opt/odoo11/odoo/requirements.txt




      I get this error:




      Exception:



      Traceback (most recent call last):



      File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main
      status = self.run(options, args)



      File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 262, in run
      for req in parse_requirements(filename, finder=finder, options=options, session=session):



      File "/usr/lib/python3/dist-packages/pip/req.py", line 1632, in parse_requirements
      req = InstallRequirement.from_line(line, comes_from, prereleases=getattr(options, "pre", None))



      File "/usr/lib/python3/dist-packages/pip/req.py", line 173, in from_line
      return cls(req, comes_from, url=url, prereleases=prereleases)



      File "/usr/lib/python3/dist-packages/pip/req.py", line 71, in init
      req = pkg_resources.Requirement.parse(req)



      File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2667, in parse
      reqs = list(parse_requirements(s))



      File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2605, in parse_requirements
      line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec")



      File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2583, in scan_list
      "Expected ',' or end-of-list in",line,"at",line[p:]



      ValueError: ("Expected ',' or end-of-list in", "gevent==1.1.2 ; sys_platform != 'win32' and python_version < '3.7'", 'at', " ; sys_platform != 'win32' and python_version < '3.7'")



      Storing debug log for failure in /home/juanfro/.pip/pip.log




      This is the content of requirements.txt:




      Babel==2.3.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'



      greenlet==0.4.10 ; python_version < '3.7'



      greenlet==0.4.13 ; python_version >= '3.7'



      html2text==2016.9.19



      Jinja2==2.8.1



      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.4



      ofxparse==0.16



      passlib==1.6.5



      Pillow==4.0.0



      psutil==4.3.1; sys_platform != 'win32'



      psycopg2==2.7.3.1; 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



      PyYAML==3.12 ; python_version < '3.7'



      PyYAML==3.13 ; python_version >= '3.7'



      qrcode==5.3



      reportlab==3.3.0



      requests==2.11.1



      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'




      My guess is that having multiple gevent versions is messing things up or that some kind of separator is needed at the end but I don't really know what the error is or how to go around fixing it.



      I found similar problems and the answers is to use :python -m pip install -U setuptools
      but that is not working for me.







      python ubuntu installation pip odoo-11






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 6 at 11:13

























      asked Nov 6 at 10:56









      Juan Antonio Rodríguez Gabriel

      187




      187
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          There is several ways to install odoo 11




          1. package installer.


          according to odoo documentation, you just need to type this:



          wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
          echo "deb http://nightly.odoo.com/11.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list
          apt-get update && apt-get install odoo



          1. source, installer.


          this is hard for beginner. but you can use this script created by Yenthe666



          https://github.com/Yenthe666/InstallScript/tree/11.0






          share|improve this answer





















            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53170492%2fvalueerror-when-installing-odoo-11-on-ubuntu%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            There is several ways to install odoo 11




            1. package installer.


            according to odoo documentation, you just need to type this:



            wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
            echo "deb http://nightly.odoo.com/11.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list
            apt-get update && apt-get install odoo



            1. source, installer.


            this is hard for beginner. but you can use this script created by Yenthe666



            https://github.com/Yenthe666/InstallScript/tree/11.0






            share|improve this answer

























              up vote
              0
              down vote













              There is several ways to install odoo 11




              1. package installer.


              according to odoo documentation, you just need to type this:



              wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
              echo "deb http://nightly.odoo.com/11.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list
              apt-get update && apt-get install odoo



              1. source, installer.


              this is hard for beginner. but you can use this script created by Yenthe666



              https://github.com/Yenthe666/InstallScript/tree/11.0






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                There is several ways to install odoo 11




                1. package installer.


                according to odoo documentation, you just need to type this:



                wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
                echo "deb http://nightly.odoo.com/11.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list
                apt-get update && apt-get install odoo



                1. source, installer.


                this is hard for beginner. but you can use this script created by Yenthe666



                https://github.com/Yenthe666/InstallScript/tree/11.0






                share|improve this answer












                There is several ways to install odoo 11




                1. package installer.


                according to odoo documentation, you just need to type this:



                wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
                echo "deb http://nightly.odoo.com/11.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list
                apt-get update && apt-get install odoo



                1. source, installer.


                this is hard for beginner. but you can use this script created by Yenthe666



                https://github.com/Yenthe666/InstallScript/tree/11.0







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 11 at 17:33









                Wahyu Indra

                62




                62






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53170492%2fvalueerror-when-installing-odoo-11-on-ubuntu%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    List item for chat from Array inside array React Native

                    Thiostrepton

                    Caerphilly