Giter VIP home page Giter VIP logo

Comments (14)

sideeffectdk avatar sideeffectdk commented on May 27, 2024 3

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.

nexizen avatar nexizen commented on May 27, 2024 2

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.

shauneccles avatar shauneccles commented on May 27, 2024 1

The hue device type has introduced this.

We may need to move to optional import and hide if dependencies are unavailable.

from ledfx.

spiro-c avatar spiro-c commented on May 27, 2024

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.

tungmeister avatar tungmeister commented on May 27, 2024

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.

fitjub avatar fitjub commented on May 27, 2024

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.

shauneccles avatar shauneccles commented on May 27, 2024

Within the venv that it creates you can pip install ledfx==2.0.69

from ledfx.

sideeffectdk avatar sideeffectdk commented on May 27, 2024

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.

tungmeister avatar tungmeister commented on May 27, 2024

Or you can use my fork 👍

from ledfx.

tkilgour avatar tkilgour commented on May 27, 2024

@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.

tungmeister avatar tungmeister commented on May 27, 2024

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.

stale avatar stale commented on May 27, 2024

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.

OptimusGREEN avatar OptimusGREEN commented on May 27, 2024

I'm getting this error on m1 mac

from ledfx.

shauneccles avatar shauneccles commented on May 27, 2024

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)

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.