Giter Site home page Giter Site logo

pyrock's People

Contributors

frep avatar hipboi avatar makermelissa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyrock's Issues

setup on rock 3a

running setup on a rock 3a gives following error

/root/pyrock/pyRock/setup.py:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.core import setup
running install
running build
running build_py
running build_ext
No processor detected
Warning! Detected and target processor mismatch.
Do you want to continue [Y/n]? n
Abort.

Is this expected? Is there a working python gpio library for rock 3a

Operation not permitted

Good afternoon I built the module in python3 and there were no errors when I built it. But when trying to initialize the pins it comes out this

Traceback (most recent call last):
File "/home/stand/tet.py", line 10, in
gpio.init()
PermissionError: [Errno 1] Operation not permitted

ImportError: No module named pyRock.gpio

Followed instructions:
sudo apt-get install gcc python-dev
python setup.py install
rm -rf /usr/local/lib/python2.7/dist-packages/pyRock*

then tried both python and python2:

rock@localhost:~/playGrounds$ python
Python 2.7.15+ (default, Nov 27 2018, 23:36:35)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.

from pyRock.gpio import gpio
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named pyRock.gpio

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.