Comments (14)
It got resolved on my Apple silicon Mac using these commands before running pip install -e .
:
brew install mbedtls@2
echo 'export PATH="/opt/homebrew/opt/mbedtls@2/bin:$PATH"' >> ~/.zshrc
export LDFLAGS="-L/opt/homebrew/opt/mbedtls@2/lib"
export CPPFLAGS="-I/opt/homebrew/opt/mbedtls@2/include"
from ledfx.
For anyone else who finds this thread prior to the issue being fixed, here is a workaround that worked for me.
sudo apt update && sudo apt upgrade -y
git clone https://github.com/Synss/python-mbedtls.git
cd python-mbedtls/
sudo ./scripts/download-mbedtls.sh 2.28.3 ~/.local/src
sudo ./scripts/install-mbedtls.sh ~/.local/src
export C_INCLUDE_PATH="/usr/local/include"
export LIBRARY_PATH="/usr/local//lib"
curl -sSL https://install.ledfx.app/ | bash
I found these instructions on the Discord server. I have tested them on 32 and 64bit Raspbian.
from ledfx.
The hue device type has introduced this.
We may need to move to optional import and hide if dependencies are unavailable.
from ledfx.
I do some test with this on my Pi and there is problem installing that specific version of python-mbedtls on Pi
if we upgrade to python-mbedtls==2.7.1 it installs i test from python 3.8-3.11 and this one installs
i dont have any hue device to test if is working like it need to
@tungmeister if you can fork the repo and change the version of python-mbedtls to 2.7.1 in requerments.txt and setup.py you need to be able to install but firs uninstall libmbedtls-dev from apt
from ledfx.
the fork is working as expected, I couldn't comment on the hue aspect though as I don't have any hue devices.
from ledfx.
Having these issues. How can I re-install v2.0.69 since the bash script only installs v.2.0.70. Is there a manual install guide available for v2.0.69?
from ledfx.
Within the venv that it creates you can pip install ledfx==2.0.69
from ledfx.
Also having trouble installing from source on a MacBook m2 due to Failed building wheel for python-mbedtls
I vote to get rid of hue device support, so we can remove this mbedtls.
from ledfx.
Or you can use my fork 👍
from ledfx.
@tungmeister running into the same issue and I'd like to try your fork, but I'm not clear on what step of the installation instructions would allow me to use your fork? Can you point me in the right direction?
from ledfx.
if you're not needing the hue device support just delete the hue.py/pyc from the installation - it's the easiest way to get up and running.
from ledfx.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.
from ledfx.
I'm getting this error on m1 mac
from ledfx.
It got resolved on my Apple silicon Mac using these commands before running
pip install -e .
:brew install mbedtls@2 echo 'export PATH="/opt/homebrew/opt/mbedtls@2/bin:$PATH"' >> ~/.zshrc export LDFLAGS="-L/opt/homebrew/opt/mbedtls@2/lib" export CPPFLAGS="-I/opt/homebrew/opt/mbedtls@2/include"
For anyone on OS X this is how to fix it.
We are updating the documentation slowly so hopefully this isn't an issue for much longer.
from ledfx.
Related Issues (20)
- Error pop up using Game of Life HOT 12
- LedFx reported as a virus/malware by Windows Defender HOT 1
- Using special characters in the name of a scene causes errors HOT 2
- Sentry-sdk is == in toml HOT 1
- LedFx-2.0.93-win-x64.zip contains Trojan.GenericKDZ HOT 1
- Rigs -> Groups of devices and scenes for different physical setups HOT 1
- Action Required: Fix Renovate Configuration HOT 1
- Protect Launchpad from exception on network endpoint missing HOT 1
- Invalid segment pixels:: Protect virtuals segments from devices pixels count change HOT 1
- Turning WLED brightness to full when starting LEDFX HOT 1
- ledfx cannot be installed in OpenSuse Tumbleweed HOT 6
- Simple vu-meter (or fft-analyzer) showing the raw input volume HOT 1
- Support ASIO audio HOT 2
- Add XDG Base Directory Specification support HOT 1
- min_volume for audio cut off range is 0 to 10, but effective range is 0 to 1 HOT 2
- MIDI assigns for presets and general effect params and "momentary mode"
- The problem with 5.1 audio configuration HOT 2
- Would it be possible to run it on x32 ? HOT 20
- OSX Version not working HOT 1
- Allow multiple artnet universes under the same IP HOT 2
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 ledfx.