selftrio.blogg.se

How to install pypdf2 from tar.gz windows
How to install pypdf2 from tar.gz windows







how to install pypdf2 from tar.gz windows
  1. #HOW TO INSTALL PYPDF2 FROM TAR.GZ WINDOWS PDF#
  2. #HOW TO INSTALL PYPDF2 FROM TAR.GZ WINDOWS UPDATE#
  3. #HOW TO INSTALL PYPDF2 FROM TAR.GZ WINDOWS DOWNLOAD#

Therefore we will create a new directory for the custom modules and change its ownership to the ‘odoo’ user. The best practice is to install custom Odoo modules in a separated directory. The following few commands are optional and can be used if you want to use custom modules for the Odoo instance. When the installation of the Python modules is complete, we can deactivate the virtual environment and return to the root user by using these commands: deactivate & exit We are now inside the virtual environment, where we can begin with the installation of the required Python modules for the Odoo installation: pip3 install -r odoo13/requirements.txt Once the virtual environment is created, we can activate it with this next command: source odoo13-venv/bin/activate cd /opt/odoo & python3 -m venv odoo13-venv With the command below we will create a new virtual environment that we will use for the new Odoo 13 instance. To clone Odoo from the GitHub repository, we will use the git clone command: git clone -depth 1 -branch 13.0 /opt/odoo/odoo13 But first, we will switch to the Odoo user which we created in the previous steps. In this step, we will clone the branch of Odoo 13.0 to the server and use a virtualenv that will create an isolated Python environment for the Odoo 13 instance.

#HOW TO INSTALL PYPDF2 FROM TAR.GZ WINDOWS DOWNLOAD#

The wkhtmltopdf package is not available in the official CentOS 8 repositories, so we will download and install it with the following commands: cd /opt/ & wget ĭnf localinstall wkhtmltox-0.12.86_64.rpm Step 7: Install and Configure Odoo 13 We will install version 0.12.5, which is the latest version at the time this tutorial was written.

#HOW TO INSTALL PYPDF2 FROM TAR.GZ WINDOWS PDF#

Odoo requires the wkhtmltopdf package, which is an open-source tool that converts the HTML format to PDF so that Odoo can print PDF reports. su - postgres -c "createuser -s odoo" Step 6: Install Wkhtmltopdf Now, we’re going to create a new PostgreSQL user with the same name as the Odoo user system we created earlier in this tutorial. Once that’s done, we can start the PostgreSQL process and enable it to start on boot: systemctl start postgresql Then initialize the database: /usr/bin/postgresql-setup initdb Install PostgreSQL by executing: dnf install postgresql postgresql-server postgresql-contrib You can name the user whatever you prefer, just do not forget to create a PostgreSQL user with the same name. useradd -m -U -r -d /opt/odoo -s /bin/bash odoo The home directory we will define in the /opt/odoo directory. With the following command, we will create a new system user and group that we need to run the Odoo service. dnf install git gcc wget nodejs libxslt-devel bzip2-devel openldap-devel libjpeg-devel freetype-devel Step 4: Create an Odoo User With the following command, we will install all the tools and dependencies we need to build the latest Odoo 13. Once this is complete, the EPEL repository can be installed by typing: dnf install epel-release Step 3: Install Python packages and Odoo Dependenciesįirstly, we will install Python 3 by executing the following command: dnf install python36 python36-devel

#HOW TO INSTALL PYPDF2 FROM TAR.GZ WINDOWS UPDATE#

We will update the server with the command: dnf update Of course, you will need to replace server_IP_address and Port_number with your actual server IP address and SSH port number. To do this, use the following command: ssh server_IP_address -p Port_number Step 5: Install and Configure PostgreSQLīefore we begin, you need to connect to your server via SSH as the root user.Step 3: Install Python packages and Odoo Dependencies.









How to install pypdf2 from tar.gz windows