Git Product home page Git Product logo

Comments (3)

zerox1212 avatar zerox1212 commented on July 30, 2024 1

Python dependencies don't default to anything. It depends on your environment. If you were running pip for python 2.7, the libraries got installed to python 2.7, and then I agree it wouldn't work.

This code is essentially pre-alpha and anyone trying it at this point would be running the code from an IDE anyways. I don't think I have even tried to run kivy on the Pi yet. I have just been getting everything ready in Windows.

I'm probably going to reorganize this repo (move hw stuff to separate repo) then I can make a python package so dependencies get installed automatically.

from open-race-scale.

zerox1212 avatar zerox1212 commented on July 30, 2024

I will improve the docs soon, but you should not have to do anything fancy to get this to work on a Pi, unless you are using an older Pi OS image that doesn't have Python 3.x.

Step should basically be:
Grab latest RPi NOOBS image from RPi website and load onto Pi
`pip3' install the dependencys (which I will list soon in readme)
git pull this repo and run main.py

Once I have assembled hardware I will make a proper pip package so that it's easy to install.

from open-race-scale.

RoaddogLabs avatar RoaddogLabs commented on July 30, 2024

The issue is your dependencies default in most cases to a python2.7 build regardless of if they work in 3 or not. Kivy is a classic example. Most utils don't default to python3 yet and as a courtesy devs using 3 typically call it out.

There were also a couple of gcc libs that were dependencies of of the dependencies. For someone that works in the shell it's not an issue, for regular users it's a gigantic issue. I've seen it hundreds of times. The people that are going to use your project want to build and use scales, not hack the shell. The easier you make if for them to do that, the more successful your project will be.

from open-race-scale.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.