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

Dependency on smbus-cffi but it's not getting installed #16

Open
CleoQc opened this issue Nov 1, 2018 · 6 comments
Open

Dependency on smbus-cffi but it's not getting installed #16

CleoQc opened this issue Nov 1, 2018 · 6 comments
Assignees

Comments

@CleoQc
Copy link
Member

CleoQc commented Nov 1, 2018

Right now this repo assumes smbus-cffi is pre-installed. If it's not then setup.py in miscellaneous fails.

@RobertLucian
Copy link
Contributor

Hmm interesting. I'm gonna tackle this.

@RobertLucian RobertLucian added the bug Something isn't working label Nov 1, 2018
@RobertLucian
Copy link
Contributor

This shouldn't fail:

  1. All debian dependencies for smbus-cffi get installed before running the python installer: https://github.com/DexterInd/RFR_Tools/blob/master/scripts/install_tools.sh#L147-L156.
  2. The python installer already has listed smbus-cffi as a dependency: https://github.com/DexterInd/RFR_Tools/blob/master/miscellaneous/setup.py#L31.

Can you give me some indications as to how this happened?

@CleoQc
Copy link
Member Author

CleoQc commented Nov 1, 2018

trying to install just RFR_tools on its own (in order to get auto_detect_rpi)
I ran install_tools.sh and then setup.py, no parameters.

@RobertLucian
Copy link
Contributor

No parameters on what? install_tools.sh or setup.py? If no parameters were passed to the former, then yeah, you'd get yourself into this.

@CleoQc
Copy link
Member Author

CleoQc commented Nov 1, 2018

No parameters on install_tools.sh which, to my understanding, was supposed to give us the same default behaviour as what's used in Raspbian for Robots

@RobertLucian
Copy link
Contributor

In Raspbian For Robots we must be installing it at the beginning and then we skip it for every other install. You need to run it this way:

bash install_tools.sh --install-python-package --update-aptget --install-deb-deps

@RobertLucian RobertLucian removed the bug Something isn't working label Nov 1, 2018
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