Menu

pyDarts on RasPi3

2018-02-16
2019-03-01
  • Zach Rothmann

    Zach Rothmann - 2018-02-16

    Hi all,

    Decided to take on this project. The end goal is to have everything (both theboard outputs and program) running on a Pi 3. I'll admit, I am a noob to this sort of stuff, but this community seems to be extremely helpful. I figured I would start by getting the program actually installed on my Pi, but I am having difficulties. I located a different thread that mentioned 'using pyDarts from source' and followed the instructions there. When I try to launch the pydarts file, a box appears and then disappears in less than a second. Nothing follows. I tried to run 'pydarts.sh' in the pydarts_v1.1.0 folder and it tells me there isn't such a file in the directory. Am I missing something silly, or am I just over my head?

    Thanks!

    gomesauce

     
  • Anonymous

    Anonymous - 2018-02-16

    Hi GomeSauce :), and welcome to the (tiny) pyDarts community !

    Everything works great on a Rpi3, some of them already manage to make it work.

    First Install Rasbian on your Pi as a system.
    Because Raspbian is x32 processor architecture and that pyDarts has been compiled for x64, you must use the sources and run it by yourself, like you did running "pydarts.sh".
    But because you use the sources, you need to manually install dependancies, as is it explained in the official wiki on the section "Running from sources".
    That means roughly to run on your raspbian (as root or use "sudo")

    apt-get install python python-pygame python-serial python-netifaces cu

    Telle me if that's clearer and how to improve documentation :)
    Cheers !

     
  • Andreas

    Andreas - 2018-02-16

    on raspberry it is case sensitv. and you can check the logfile live with: "tail -f /var/log/syslog" put your output here if you still have problems.

     
  • Zach Rothmann

    Zach Rothmann - 2018-02-21

    Wow, not much could have been simpler. I was trying to run a pydarts exe file (I had downloaded the wrong zip file). Thanks for clarifying. It sounded like this had been done before. Any idea on what other steps need to be taken to configure the pins to the GPIOs?

    Thanks in advance.

    Zach Rothmann

     
  • Anonymous

    Anonymous - 2019-02-17

    Hi,

    I have a problem to get pydarts working on rpi3 b+. I´m using Raspian and follow the guides how to install from sources but when I´l try launch pydarts.sh it gives me that message "pydarts.sh: 14: pydarts.sh: ./pydarts.py: permission denied"
    Can maybe someone help me what i´m doing wrong

    Thanks,
    Timo

     
  • Mike

    Mike - 2019-02-25

    use 'sudo' in your command

     
  • Anonymous

    Anonymous - 2019-02-28

    tried that one, didn't work with -sudo- also

     
  • Anonymous

    Anonymous - 2019-03-01

    Hi Timo !
    Try changing permissions on the pydarts files (for instance) :
    chmod 777 -R pydarts_folder
    Cheers
    Poilou

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.