Comments (7)
Resolved. I uninstalled and removed PyBBIO from my machines and recloned it from Github.
Don't know if it made a difference but I got my first clone from https://..... and this second one from http://......
from pybbio.
Glad it worked out. The install script may be doing something weird, I'll look into it.
from pybbio.
Just wanted to add that if anyone else has been having this issue, I ran an upgrade in pip and seems to work.
pip install --upgrade pybbio
from pybbio.
I am now having the same issue on a fresh install of Debian. Was there anything off in the setups script?
from pybbio.
Hmm, I just recently installed it on a fresh Debian image and it worked for me.
If you're getting the ImportError: No module name api
error, then you may be trying to import bbio from within the PyBBIO directory. When you import in Python, it first searches the current directory, so if you started Python from within PyBBIO/ it will try to import the bbio source instead of the installed version.
from pybbio.
Alright.... I just came to the same conclusion about running it from the PyBBIO dir... face palm I've been so used to doing pip installs where I don't have the local files in front of me. Thanks for the quick response.
from pybbio.
I came across the following error
Traceback (most recent call last):
File "speed_test.py", line 2, in
from bbio import *
ImportError: No module named bbio
I am running python in home directory. PyBBIO directory is installed under home directory! Please let me know how to fix this?
Thanks,
from pybbio.
Related Issues (20)
- I2C Library
- Unable to use PWM1A and PWM1B at the same time HOT 2
- Analog In not recognized HOT 4
- pwmFrequency int division vs float division
- GPIO resource busy error
- SPI0.write crashes Beagleblone HOT 1
- SPI0.write crashes Beagleblone HOT 1
- Questions about Contributions HOT 1
- Pull-ups, pull-down configuration issue
- GPIO configuration bug HOT 2
- SystemError: NULL result without error in PyObject_Call when testing blink.py
- example blink.py error with beaglebone black HOT 2
- BBIOServer_test.py error HOT 4
- MAX31855_test.py problem HOT 4
- importing bbio causes immediate segfault HOT 8
- WebCam - no module named gst HOT 1
- GPIO does not work after "bbio.pinMode" HOT 3
- no module named WebCam HOT 9
- Problem running PyBBIO ADC code on BBB attached to 4D Systems 4DCAPE HOT 8
- not an issue but a doubt HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pybbio.