Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Errors while instalation Odoo 12 + Ubunty 16.04

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
installationubuntuodoo12
1 Responder
23028 Vistas
Avatar
Natalia Barinova


i try to install odoo 12 using cookbook. When i perform this command

$ sudo apt-get install -y gcc python3.5-dev libxml2-dev \libxslt1-dev libevent-dev libsasl2-dev libssl1.0-dev libldap2-dev \libpq-dev libpng-dev libjpeg-dev

i get

notice, instead «libpng-dev» chase «libpng12-dev»E: impossible to find package libssl1.0-devE:  impossible to find any package with template «libssl1.0-dev»E: impossible to find package with regular sentence «libssl1.0-dev»​

i skiped these massages

then i created base in postgresql

and connected to git

then i got clone

and then i perform  pip3 install -r requirements.txt

and get errors:

Ignoring gevent: markers 'sys_platform != "win32" and python_version >= "3.7"' don't match your environment
Ignoring greenlet: markers 'python_version >= "3.7"' don't match your environment
Ignoring lxml: markers 'sys_platform != "win32" and python_version >= "3.7"' don't match your environment
Ignoring lxml: markers 'sys_platform == "win32"' don't match your environment
Ignoring pypiwin32: markers 'sys_platform == "win32"' don't match your environment
Collecting Babel==2.3.4 (from -r requirements.txt (line 1))
........

..........

Collecting soupsieve>=1.2 (from beautifulsoup4->ofxparse==0.16->-r requirements.txt (line 21))
Downloading https://files.pythonhosted.org/packages/b9/a5/7ea40d0f8676bde6e464a6435a48bc5db09b1a8f4f06d41dd997b8f3c616/soupsieve-1.9.1-py2.py3-none-any.whl
Building wheels for collected packages: ebaysdk, feedparser, html2text, Mako, MarkupSafe, ofxparse, psutil, pydot, pyldap, PyPDF2, pyusb, reportlab, suds-jurko, vatnumber, vobject, olefile
Building wheel for ebaysdk (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/a5/76/f4/03967ae85aea44c3d93d8cbcc29f5c37da8e6c3d30694adb7c
Building wheel for feedparser (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/8c/69/b7/f52763c41c5471df57703a0ef718a32a5e81ee35dcf6d4f97f
Building wheel for html2text (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/eb/79/cc/a25e320cadfd6a680a05666e56e5591f0fac8d5b1c6d7a0db7
Building wheel for Mako (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/2d/e1/9d/3269a224fb166136755a0279c1e0c434738be1e02bedd37415
Building wheel for MarkupSafe (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/28/de/65/f28b426d990edb591113e1549c8a0f09034e5958e440629306
Building wheel for ofxparse (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/25/82/73/11275e0a45f587792e2a334a0e9c81a5bd35fd4a825d1f192a
Building wheel for psutil (setup.py) ... error
ERROR: Complete output from command /home/pena/odoo-12.0/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-5hqq89qw/psutil/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-8ogfhljt --python-tag cp35:
ERROR: running bdist_wheel
running build
running build_py
creating build

....

.....

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for psutil
Running setup.py clean for psutil
Building wheel for pydot (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/59/7f/14/5a40a9ec16d3c2e4106498e7fc9f1fd94f4eba38b484cad72a
Building wheel for pyldap (setup.py) ... error
ERROR: Complete output from command /home/pena/odoo-12.0/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-5hqq89qw/pyldap/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-nkax86b0 --python-tag cp35:
ERROR: defines: HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
extra_compile_args:
extra_objects:
include_dirs: /usr/include /usr/include/sasl /usr/loca

...

...

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for pyldap
Running setup.py clean for pyldap
Building wheel for PyPDF2 (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/53/84/19/35bc977c8bf5f0c23a8a011aa958acd4da4bbd7a229315c1b7
Building wheel for pyusb (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/a6/69/c7/258e736ee9bdb4553bd9701424b259436b979cf96201af612f
Building wheel for reportlab (setup.py) ... error
ERROR: Complete output from command /home/pena/odoo-12.0/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-5hqq89qw/reportlab/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-xjd253od --python-tag cp35:
ERROR: ################################################
#Attempting install of _rl_accel & pyHnj
#extensions from '/tmp/pip-install-5hqq89qw/reportlab/src/rl_addons/rl_accel'
################################################
################################################
#Attempting install of _renderPM
#extensions from '/tmp/pip-install-5hqq89qw/reportlab/src/rl_addons/renderPM'
will use package libart 2.3.12
# installing without freetype no ttf, sorry!
# You need to install a static library version of the freetype2 software
# If you need truetype support in renderPM
# You may need to edit setup.cfg (win32)
# or edit this file to access the library if it is installed
################################################
Standard T1 font curves already downloaded
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.5
creating build/lib.linux-x86_64-3.5/reportlab
copying src/reportlab/__init__.py -> build/lib.linux-x86_64-3.5/reportlab
copying src/reportlab/rl_config.py -> build/lib.linux-x86_64-3.5/reportlab
copying src/reportlab/rl_settings.py -> build/lib.linux-x86_64-3.5/reportlab
creating build/lib.linux-x86_64-3.5/reportlab/graphics

......  

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for reportlab
Running setup.py clean for reportlab
Building wheel for suds-jurko (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/12/68/53/d3902c054e32115da1d45bac442a547a071a86a65db4d77027
Building wheel for vatnumber (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/cb/c0/7d/fe241b8e1fbe3e8a9037f535aba9487ee23070534b34234ef9
Building wheel for vobject (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/55/ad/70/63facf0491e0af25842c9afe72489fcb8dd902520f4308aa02
Building wheel for olefile (setup.py) ... done
Stored in directory: /home/pena/.cache/pip/wheels/4b/f4/11/bc4166107c27f07fd7bba707ffcb439619197638a1ac986df3
Successfully built ebaysdk feedparser html2text Mako MarkupSafe ofxparse pydot PyPDF2 pyusb suds-jurko vatnumber vobject olefile
Failed to build psutil pyldap reportlab
Installing collected packages: pytz, Babel, chardet, decorator, docutils, lxml, urllib3, certifi, idna, requests, ebaysdk, feedparser, greenlet, gevent, html2text, MarkupSafe, Jinja2, six, libsass, Mako, pbr, mock, num2words, soupsieve, beautifulsoup4, ofxparse, passlib, olefile, Pillow, psutil, psycopg2, pyparsing, pydot, pyldap, PyPDF2, pyserial, python-dateutil, pyusb, qrcode, reportlab, suds-jurko, python-stdnum, vatnumber, vobject, Werkzeug, XlsxWriter, xlwt, xlrd
Running setup.py install for psutil ... error
ERROR: Complete output from command /home/pena/odoo-12.0/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-5hqq89qw/psutil/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ufih_dri/install-record.txt --single-version-externally-managed --compile --install-headers /home/pena/odoo-12.0/include/site/python3.5/psutil:
ERROR: running install
running build
running build_py
creating build

....

compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Command "/home/pena/odoo-12.0/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-5hqq89qw/psutil/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ufih_dri/install-record.txt --single-version-externally-managed --compile --install-headers /home/pena/odoo-12.0/include/site/python3.5/psutil" failed with error code 1 in /tmp/pip-install-5hqq89qw/psutil/

Could you help me please


0
Avatar
Descartar
Ermin Trevisan

Please refer to the exact source of your installation method. And you should use Ubuntu 18.04 and not the outdated 16.04.

Natalia Barinova
Autor

i use cookbook and recommendation from this book.

To install Odoo from a source, you need to follow these steps: 1. Run the following commands to install the main dependencies:

$ sudo apt-get update

$ sudo apt-get install -y git python3.5 postgresql nano

virtualenv xz-utils wget fontconfig libfreetype6 libx11-6

libxext6 libxrender1 xfonts-75dpi

Odoo v12 has moved from less to scss for stylesheet

preprocessing. Consequently, if you are using <v12, then you need

to install node-less node-clean-css in order to get the correct

stylesheets.

Installing the Odoo Development Environment Chapter 1

[ 15 ]

2. Download and install wkhtmltopdf:

$ wget -O wkhtmltox.tar.xz \

https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0

.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz

$ tar xvf wkhtmltox.tar.xz

$ sudo mv wkhtmltox/lib/* /usr/local/lib/

$ sudo mv wkhtmltox/bin/* /usr/local/bin/

$ sudo mv wkhtmltox/share/man/man1 /usr/local/share/man/

3. Now, use the following code to install the build dependencies:

$ sudo apt-get install -y gcc python3.5-dev libxml2-dev \

libxslt1-dev libevent-dev libsasl2-dev libssl1.0-dev libldap2-

dev \

libpq-dev libpng-dev libjpeg-dev

4. Configure PostgreSQL:

$ sudo -u postgres createuser --createdb $(whoami)

$ createdb $(whoami)

5. Configure git:

$ git config --global user.name "Your Name"

$ git config --global user.email youremail@example.com

6. Clone the Odoo code base:

$ mkdir ~/odoo-dev

$ cd ~/odoo-dev

$ git clone -b 12.0 --single-branch\

https://github.com/odoo/odoo.git

$ cd odoo

7. Create an odoo-12.0 virtual environment and activate it:

$ virtualenv -p python3 ~/odoo-12.0

$ source ~/odoo-12.0/bin/activate

8. Install the Python dependencies of Odoo in virtualenv:

$ pip3 install -r requirements.txt - here i get errors

Avatar
Eric CATTELIN
Mejor respuesta

Hello,

I'd the same problem with new install on a debian Buster (python3.7).

To solve :

Replace libssl1.0-dev with libssl-dev and python3.5-dev with python3.7-dev.

To have no errors with 'pip3 install -r requirements.txt' with REP517, install 'build-essential' package before create 'virualenv'

Regards

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
Installing odoo 12 on ubuntu LTS 22.04
installation ubuntu
Avatar
Avatar
Avatar
2
jun 22
9062
Odoo Installation Resuelto
ubuntu odoo12
Avatar
Avatar
Avatar
Avatar
3
ene 24
33897
OpenERP path on Ubuntu installation Resuelto
installation ubuntu
Avatar
Avatar
Avatar
Avatar
Avatar
7
dic 23
46576
how to install sassc? Resuelto
installation odoo12
Avatar
Avatar
Avatar
Avatar
Avatar
12
jul 24
81180
Certificate Error Resuelto
ubuntu odoo12
Avatar
Avatar
Avatar
4
ene 24
8200
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now