Giter Club home page Giter Club logo

Comments (8)

Feror-BotMaker avatar Feror-BotMaker commented on July 22, 2024

I have the same issue on an Ubuntu Server VM on an Apple Silicon host. Strangely it works on an Ubuntu VM (with GUI) but since I do not need the GUI I tried to install it on Ubuntu Server.

When I try to install dbus-python on its own it works fine, but with nxbt it simply doesn't build.

from nxbt.

Feror-BotMaker avatar Feror-BotMaker commented on July 22, 2024

Update: Got it to work. I installed it manually by cloning the repo and editing setup.py to change dbus-python version from 1.2.16 to latest (1.3.3).

from nxbt.

Fackonami avatar Fackonami commented on July 22, 2024

Update: Got it to work. I installed it manually by cloning the repo and editing setup.py to change dbus-python version from 1.2.16 to latest (1.3.3).

I’m trying to do that myself. What commands did you use exactly?

from nxbt.

Feror-BotMaker avatar Feror-BotMaker commented on July 22, 2024

git clone
nano nxbt/setup.py
replace the line

from nxbt.

Fackonami avatar Fackonami commented on July 22, 2024

That’s not what I meant. I did that, but how do you run the setup.py? How do you manually install it from there? I tried

sudo python3 setup.py

but got an error.

from nxbt.

kgraefe avatar kgraefe commented on July 22, 2024

That’s not what I meant. I did that, but how do you run the setup.py? How do you manually install it from there?

pip install .

I'd recommend creating a virtual environment first to not pollute your host: https://virtualenv.pypa.io/en/latest/user_guide.html

from nxbt.

Fackonami avatar Fackonami commented on July 22, 2024

A virtual environment inside my Raspberry Pi? How? I tried changing the line and installing it manually, but it keeps giving me an error between having dbus-python 1.3.2 or 1.3.3.

from nxbt.

kgraefe avatar kgraefe commented on July 22, 2024

untested:

  • install virtualenv: sudo apt install python3-virtualenv
  • create a virtual Python environment in the source directory: virtualenv venv
  • load the environment in the source directory (must be done in each shell): . ./venv/bin/activate
  • rebuild nxbt: pip install .

from nxbt.

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.