콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

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.

아바타
취소
베스트 답변

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

아바타
취소
관련 게시물 답글 화면 활동
4
6월 25
1984
1
6월 25
821
3
3월 25
3323
0
2월 25
892
1
11월 24
1723