Skip to Content
Menu
This question has been flagged

I want to ask you if I want to run Odoo locally with python 3.8+ instead what comes with the installer which is 3.7

My issue is that when i make PyCharm use python 3.8 all the requirements do not get installed as python 3.7. when i go into installing each one, i get a lot of errors.

What am i doing wrong? should i not use the installer files? is there a script that i can use?

is there a different more optimal way of doing this?


Ask me anything and I will answer it asap with a screen shot or whatever you want.

Avatar
Discard
Best Answer

Hello Mohamad Nassar,

It is recommended to use a virtual environment when working with Python projects, to avoid conflicts with different versions of packages and Python itself. Here are the steps you can follow to create a virtual environment and install the required packages for your Odoo project:

1. Open a terminal and navigate to the root directory of your Odoo project.
2. Create a virtual environment using Python 3.8: python3.8 -m venv env
3. Activate the virtual environment: source env/bin/activate
4. Upgrade pip: pip install --upgrade pip
5. Install the required packages for your Odoo project: pip install -r requirements.txt

By using a virtual environment, make sure that the required packages are installed for the correct version of Python.

If you continue to encounter errors during installation, you may need to review the contents of your requirements.txt file and ensure that all dependencies are listed correctly. You may also need to check for any system dependencies that are required for specific packages to install correctly..

Hope it will be helpful to you.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Avatar
Discard
Related Posts Replies Views Activity
3
Mar 25
2370
0
Feb 25
288
1
Nov 24
1053
1
Nov 24
570
0
Nov 24
720