GithubHelp home page GithubHelp logo

Comments (5)

stieg avatar stieg commented on September 27, 2024

Turns out this was because pip has issues installing this package. Seems like something about the naming is wrong that its confusing pip (underscores vs dashes perhaps).

from asl_f4_bootloader.

 avatar commented on September 27, 2024

Can you give more detail on the installation? I have been trying and failing: No module named asl_f4_loader. When building under the dist there is only an .egg file, but seems like the app is using .py. I have been trying to set this up on Mac El Capitan and has been extremely difficult - thanks for your help and time.

from asl_f4_bootloader.

stieg avatar stieg commented on September 27, 2024

The install effectively drop the .egg file in the site-packages directory for your python installation. On Fedora this is under /usr/lib/python2.7/site-packages/. Then when the application runs (asl_f4_loader in your case) the code invokes load_entry_point('asl-f4-loader==0.0.6', 'console_scripts', 'asl_f4_loader')() which finds the egg and executes the resources it needs. The .py files you are looking for are in the egg file:

$ unzip -l /usr/lib/python2.7/site-packages/asl_f4_loader-0.0.6-py2.7.egg
Archive:  /usr/lib/python2.7/site-packages/asl_f4_loader-0.0.6-py2.7.egg
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  10-15-2014 01:43   asl_f4_loader/__init__.py
     5261  06-25-2015 23:39   asl_f4_loader/fw_postprocess.py
     7213  06-25-2015 23:39   asl_f4_loader/fw_update.py
     2485  11-26-2015 12:24   asl_f4_loader/cobs.py
    10816  11-26-2015 12:24   asl_f4_loader/xbvc_py.py
      141  11-26-2015 12:27   asl_f4_loader/__init__.pyc
     5530  11-26-2015 12:27   asl_f4_loader/fw_postprocess.pyc
     7310  11-26-2015 12:27   asl_f4_loader/fw_update.pyc
     1869  11-26-2015 12:27   asl_f4_loader/cobs.pyc
    15148  11-26-2015 12:27   asl_f4_loader/xbvc_py.pyc
      538  11-26-2015 12:27   EGG-INFO/PKG-INFO
      349  11-26-2015 12:27   EGG-INFO/SOURCES.txt
        1  11-26-2015 12:27   EGG-INFO/dependency_links.txt
      122  11-26-2015 12:27   EGG-INFO/entry_points.txt
       35  11-26-2015 12:27   EGG-INFO/requires.txt
       14  11-26-2015 12:27   EGG-INFO/top_level.txt
        1  11-26-2015 12:27   EGG-INFO/zip-safe
---------                     -------
    56833                     17 files

Hope that helps

from asl_f4_bootloader.

 avatar commented on September 27, 2024

Finally moved passed, and then ran into issues with pygame, fixed that and now: "pygame - ImportError: cannot import name encode_string" and cannot get the window going. Seems to be issue around 64 when can only support 32 on Mac and possibly Yosemite / newer. I am going to move to Linux Ubuntu 15 to try and get the environment setup. I added an issue for docker image, but then closed because just did not make sense. I might try and decompile the libraries from the mac install and then get the source to develop. I really need to add OBD2 support for Lua and having a complex time just to get the environment for testing working. Thanks for the time and really excited about the possibilities.

from asl_f4_bootloader.

brentpicasso avatar brentpicasso commented on September 27, 2024

Hi,

I just installed and ran the dev environment on a Raspberry Pi, of all things. I ran a hybrid of the Kivy / Rpi instructions and our instructions. Check it out here. http://kivy.org/docs/installation/installation-rpi.html

What was interesting was the direct pip install from our repo. example:
sudo pip install git+https://github.com/autosportlabs/kivy@asl_1.9.0_patched

However, the Linux installation should work starting from here; make sure you get the virtual environment set up as well.
https://github.com/autosportlabs/RaceCapture_App#dev-installation-linux---ubuntu

Let us know exactly what you get hung up, if you do, on and we can go from there.
-Brent

from asl_f4_bootloader.

Related Issues (13)

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.