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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker build fails #134

Open
dbluxo opened this issue Dec 29, 2020 · 3 comments
Open

Docker build fails #134

dbluxo opened this issue Dec 29, 2020 · 3 comments

Comments

@dbluxo
Copy link

dbluxo commented Dec 29, 2020

Hi, first of all thank you for your great project! 馃挴

I would like to use your software on my Raspberry Pi in Docker, unfortunately the Docker build with the provided Dockerfile fails with:

Step 8/10 : RUN pip install --no-cache-dir -r requirements.txt
 ---> Running in 480c46ade8d7
Collecting bluepy==1.3.0
  Downloading bluepy-1.3.0.tar.gz (217 kB)
Collecting btlewrap==0.0.9
  Downloading btlewrap-0.0.9.tar.gz (12 kB)
Collecting colorama==0.3.9
  Downloading colorama-0.3.9-py2.py3-none-any.whl (20 kB)
Collecting miflora==0.6
  Downloading miflora-0.6.tar.gz (14 kB)
INFO: pip is looking at multiple versions of colorama to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of btlewrap to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of bluepy to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 2) and btlewrap==0.0.9 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested btlewrap==0.0.9
    miflora 0.6 depends on btlewrap==0.0.8

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
The command '/bin/sh -c pip install --no-cache-dir -r requirements.txt' returned a non-zero code: 1
@dbluxo
Copy link
Author

dbluxo commented Dec 29, 2020

Downgrading the btlewrap version from 0.0.9 to 0.0.8 in the requirements.txt resolved it.

@cjoha
Copy link

cjoha commented Mar 19, 2021

The latest release will not allow the version downgrade, you get the following error:
ERROR: miflora 0.7.1 has requirement btlewrap==0.0.10, but you'll have btlewrap 0.0.8 which is incompatible.

@ThomDietrich
Copy link
Owner

Hello,
With 0.0.10 in requirements.txt there shouldn't be any dependency issues?

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

3 participants