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

in ubuntu 18 , when i try  to use requirements.txt to install all dependencies in odoo 12 , i face this error

 

Could not find a version that satisfies the requirement requirements.txt (from versions: )
No matching distribution found for requirements.txt

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi, Israa

Yes, actually few dependent libraries are not compatible with the current python version.

So, you can try below command in order ignore errors which are getting.

cat requirements.txt | xargs -n 1 pip install 

Hope it will fix your query. Feel free to ask in case you still have the same issue.

Thanks,
Ashish Singh (Team Lead)
Webkul Software Private Limited
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

You have to pass the -r flag when installing from requirements.txt file. Try running:

pip install -r requirements.txt

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 7 22
2765
1
thg 5 24
2343
2
thg 12 23
15536
0
thg 10 23
33
3
thg 10 23
790