Skip to content
  • Categories
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse

Odoo 中文社区

  1. Home
  2. Categories
  3. Odoo 新手求助
  4. 在virtualenv 中安装odoo11问题

在virtualenv 中安装odoo11问题

Scheduled Pinned Locked Moved Odoo 新手求助
6 Posts 5 Posters 4.1k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hui
    wrote on last edited by
    #1

    问题1就是直接在ubuntu中进行安装的。
    问题2时在virtualenv 中进行安装的。

    问题1:在安装依赖时,libssl1.0-dev 提示安装不成功,如下图。但是,
    0_1517542724145_截图.png

    如果单独安装sudo apt-get install libssl-dev,可以安装成功的。再次进行上图的安装还是上面的提示的。好像没解决问题
    0_1517543278990_ddb891b1-ba2d-4a90-890f-bfd5bd80f22f-图片.png

    问题2:后续安装odoo11中的requirements.txt会提示错误,是否跟上面安装不成功有关呢?怎么解决?
    0_1517542762789_截图 (1).png
    0_1517542768991_截图 (2).png

    1 Reply Last reply
    0
    • D Offline
      D Offline
      digitalsatori
      管理员
      wrote on last edited by
      #2

      第一个问题已然解决,第二个问题是在编译Python库包时没有找到Python头文件,
      试试:

      apt-get install python3-dev
      

      【上海先安科技】(tony AT openerp.cn)

      1 Reply Last reply
      0
      • H Offline
        H Offline
        hui
        wrote on last edited by
        #3

        @digitalsatori
        安装了python3-dev,还是报错如下:
        0_1517799166309_1.png

        0_1517799192426_22.png

        1 Reply Last reply
        0
        • L Offline
          L Offline
          lijie
          wrote on last edited by
          #4

          先独立安装libssll.0,然后把requirements.txt中的libssll.0给删除,最后再通过requirements.txt进行安装。

          1 Reply Last reply
          0
          • X Offline
            X Offline
            xtjie
            wrote on last edited by
            #5

            按照odoo linux源码安装文档,没有问题

            1 Reply Last reply
            0
            • D Offline
              D Offline
              Dong
              wrote on last edited by
              #6

              缺少gcc编译的库吧?libxml2-dev libxml2 libxslt-dev libpq-dev libldap2-dev libsasl2-dev libevent-dev 装上试试

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Tags
              • Popular
              • Users
              • Groups