Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not install using easy method #588

Closed
ska-ibees opened this issue Apr 16, 2019 · 3 comments
Closed

Can not install using easy method #588

ska-ibees opened this issue Apr 16, 2019 · 3 comments
Assignees

Comments

@ska-ibees
Copy link
Contributor

Hi,
I am trying to install some modules into Odoo V12 (source). But getting errors. Please see one example below:

pip3 install odoo12-addon-website-canonical-url --extra-index-url=https://wheelhouse.odoo-community.org/oca-simple
Looking in indexes: https://pypi.org/simple, https://wheelhouse.odoo-community.org/oca-simple
Collecting odoo12-addon-website-canonical-url
Downloading https://files.pythonhosted.org/packages/77/46/36b57f40928b8c4d4a22f3e4824141ea1753fb65a46c7aeddce6ee7f0325/odoo12_addon_website_canonical_url-12.0.1.0.0.99.dev3-py3-none-any.whl (77kB)
100% |████████████████████████████████| 81kB 3.4MB/s
Collecting odoo<12.1dev,>=12.0a (from odoo12-addon-website-canonical-url)
Could not find a version that satisfies the requirement odoo<12.1dev,>=12.0a (from odoo12-addon-website-canonical-url) (from versions: )
No matching distribution found for odoo<12.1dev,>=12.0a (from odoo12-addon-website-canonical-url)

@angerangel
Copy link

angerangel commented May 19, 2019

me too. I use ubuntu odoo 12

I have odoo (12.0.post20190514)

@amel-harrath
Copy link

Any luck with this yet?

@sbidoul
Copy link
Member

sbidoul commented Aug 4, 2019

Hi,

The message No matching distribution found for odoo<12.1dev,>=12.0a (from odoo12-addon-website-canonical-url) means odoo version 12 is a dependency odoo12-addon-website-canonical-url and pip can't find it in the environment where you try to install.

So you need to pip install Odoo first.

For example the following works, using bash:

python3 -m venv odooenv
. odooenv/bin/activate
pip3 install https://nightly.odoo.com/12.0/nightly/src/odoo_12.0.latest.tar.gz
pip3 install --pre odoo12-addon-website-canonical-url --extra-index-url=https://wheelhouse.odoo-community.org/oca-simple

If you have a local copy of Odoo, you can also speed-up the installation with pip3 install -e path/to/odoo instead of downloading the nightly tarball.

Also note --pre to be sure get the latest version.

Finally --extra-index-url is optional as all OCA addons are published on PyPI each night.

If this does not work for you please provide detailed instruction on how to reproduce the issue.

@sbidoul sbidoul closed this as completed Aug 4, 2019
matteoopenf pushed a commit to matteoopenf/website that referenced this issue Feb 17, 2023
Signed-off-by pedrobaeza
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants