Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5682 Lượt xem

:I get error message in try install Social Marketing app in Odoo version 15
"Unable to install module "social_push_notifications" because an external dependency is not met: Python library not installed: google_auth"


Ảnh đại diện
Huỷ bỏ

Don't forget to restart Odoo process after pip install.

Câu trả lời hay nhất

Hi,

Because you haven't installed the package.
Please try after installing the google-auth library using "pip install google_auth" or "pip3 install google_auth" in your system's shell or terminal first.

Hope it will help you.

Ảnh đại diện
Huỷ bỏ
Tác giả

I did install "pip install google_auth" and install "pip install firebase-admin" but it not working

Hi Muhammad Mahmoud,
Please check here.

I have used sudo pip3 install google_auth .

Please check below demo link.
https://filebin.net/c4sloi87slbp71jv

prefix the install commands with SUDO for this to work

Tác giả Câu trả lời hay nhất

I get message 

python Current Version:- 3.7.6 (default, Jan 8 2020, 20:23:39) [MSC v.1916 64 bit (AMD64)]


Ảnh đại diện
Huỷ bỏ

Hi,
This warning is for the PIP upgrade. Update version 22 is available for pip.
You have successfully installed the google_auth. Now please try to restart the odoo service and install the social_push_notifications module.

Hope it will help you.

Tác giả

Thank you for reply, I restart my pc and update app in odoo ,but still not working

Then you must check whether it is installed into the same python version you are used in the odoo server or not. If it is installed the google_auth into your python version, then it will work.

Try with sudo python3.7 -m pip install google_auth

Tác giả

I have multiple version of python, I can't choose the correct version to install, I copied the google_auth files to the correct version, tried to install again, it installed successfully

Great.

sudo python3.7 -m pip install google_auth

This command will install the google_auth in python3.7.

If you want to install it in python3.8 then just change the python version in above command and it will install in python3.8

sudo python3.8 -m pip install google_auth

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 25
861
1
thg 12 24
4539
0
thg 11 24
1847
2
thg 7 24
3759
0
thg 4 24
2386