Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4408 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
4
cze 25
1484
1
cze 25
151
3
mar 25
2860
0
lut 25
609
1
lis 24
1438