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

requirements do not fit other bitcraze repos #20

Closed
dominiknatter opened this issue Jun 6, 2021 · 1 comment
Closed

requirements do not fit other bitcraze repos #20

dominiknatter opened this issue Jun 6, 2021 · 1 comment
Milestone

Comments

@dominiknatter
Copy link

Hey everyone,

While following your tutorial about the loco positioning system I stumbled across a requirements mismatch. I first installed the cfclient, which requires pyserial 3.5.x. I later installed the lps-tools repo, which requires pyserial 3.4. Due to recent changes in the behavior of pip, this lead to overwriting my pyserial version 3.5 with 3.4 and printed
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. cfclient 2021.4.post13+f25f72d requires pyserial~=3.5, but you have pyserial 3.4 which is incompatible.

I circumvented this problem by adapting the requirements for lps-tools by using pyserial>=3.4 instead of pyserial==3.4 and then installed both cfclient and lps-tools anew. So far I have not encountered any problem with this setup.

Not sure you wanna adapt my "solution", but at least this issue documents the problem for other users.

@krichardsson
Copy link
Contributor

Good catch!

We should probably change it to pyserial~=3.4 to avoid acceptance of 4.0 in the future.

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

2 participants