Comments (11)
Any updates?
from server-ux.
Same problem here with the official odoo docker image. Following @sbidoul instructions, I install pip packages as root with the following command and it works:
docker exec -it --user="root" <container_id> pip3 install <package>
Hope it helps
from server-ux.
The error is actually No matching distribution found for odoo<11.1dev,>=11.0a
, so you need to pip install
or setup.py develop
odoo first.
from server-ux.
Ohh, of course!
from server-ux.
If you try to install it(update) inside a Docker container we have the next problem:
odoo@8112e474d490:/$ pip3 install -U odoo
Collecting odoo
Could not find a version that satisfies the requirement odoo (from versions: )
No matching distribution found for odoo
from server-ux.
from server-ux.
@sbidoul Yes, it is.
docker exec -it odoo.web bash ✔ 3656 15:44:56
odoo@8112e474d490:/$ pip3 freeze | grep odoo
odoo==11.0.post20180122
odoo@8112e474d490:/$
from server-ux.
I'm not sure exactly why this happens, but the problem is related to odoo being installed system wide and pip3 running under the odoo user not "seeing" it as installed. This looks like a pip bug to me but I'm not sure.
Anyway, you can make it work by running pip3 install as root, with such a docker image:
FROM odoo:11
USER 0
RUN apt-get update && apt-get install python3-pyldap python3-vobject python3-qrcode
RUN pip3 install --pre odoo11-addon-date_range
USER odoo
Note the apt install of some required Odoo dependencies that are missing in the official docker image.
from server-ux.
Thank you, I will test it
from server-ux.
Same problem:
pip3 list | grep odoo
odoo (12.0.post20190514)
odoo-autodiscover (2.0.0)
setuptools-odoo (2.4.1)
Could not find a version that satisfies the requirement odoo<12.1dev,>=12.0a
from server-ux.
There were improvements in upstream Odoo regarding this issue. If this is still a problem, can you please open a new issue with detailed instruction on how to reproduce at https://github.com/acsone/setuptools-odoo?
from server-ux.
Related Issues (20)
- [base_tier_validation] BAD PERFORMANCE to compute and search field rejected HOT 3
- review_user_count endpoint consistently throws http:SessionExpiredException HOT 1
- base_tier_validation template xml is can't use on purchase_tier_validation HOT 1
- Migration to version 16.0 HOT 13
- [RFC] refactoring mass_editing and change repo HOT 4
- [15.0][barcode_action] Barcode Action wizard window issue HOT 1
- Restricción: mass_editing_line_field_id_fkey HOT 2
- 15.0 base_tier_validation: Approval sequence is backwards HOT 2
- Add domain field HOT 2
- [v14 base_tier_validation, base_tier_validation_formula], not possible to entry reviewer expression other than rec.env.user, is it a bug or only eupport rec.env.user? HOT 3
- base_custom_filter: Merge conflict when migrate to 15.0 HOT 2
- Updating date_range to 14.0.2.1.1 gives an error coming from 14.0.2.0.2 HOT 1
- [Bug|ER|Q] base_substate visibity HOT 1
- `selection` is not available for `Char` field HOT 2
- [15.0] date_range: Ranges not displayed on date/datetime type filters HOT 5
- [16.0] base_revision "no create method in batch" warning spam HOT 4
- [15.0] Checkboxes in Settings "Tier Validation" not saved HOT 2
- [V16.0 ] upgrade base_menu_visibility_restriction from V15 to V16 HOT 2
- [16.0] date_range: Ranges not displayed on date/datetime type filter HOT 1
- Date range module not working V16 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from server-ux.