You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
preference for ubuntu installations seems to be slightly easier with
$ sudo pip3 install paho-mqtt
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.12/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
Instead try this ..
$ sudo apt install python3-paho-mqtt
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
python3-paho-mqtt
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 52.9 kB of archives.
After this operation, 297 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu noble/universe amd64 python3-paho-mqtt all 1.6.1-1 [52.9 kB]
Fetched 52.9 kB in 0s (137 kB/s)
Selecting previously unselected package python3-paho-mqtt.
(Reading database ... 318342 files and directories currently installed.)
Preparing to unpack .../python3-paho-mqtt_1.6.1-1_all.deb ...
Unpacking python3-paho-mqtt (1.6.1-1) ...
Setting up python3-paho-mqtt (1.6.1-1) ...
It appears the instructions for installation are slightly out of date, go no longer permits the installation of a module using "get", so the installation instructions for rtlamr should be updated :
$ go get github.com/bemasher/rtlamr
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
$ go install github.com/bemasher/rtlamr
go: 'go install' requires a version when current directory is not in a module
Try 'go install github.com/bemasher/rtlamr@latest' to install the latest version
$ go install github.com/bemasher/rtlamr@latest
go: downloading github.com/bemasher/rtlamr v0.9.3
go: downloading github.com/bemasher/rtltcp v0.0.0-20151011062038-3aed81c166c5
go: downloading github.com/pkg/errors v0.8.1
go: downloading golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Instead try this ..
Things appear to work from here...
Beta Was this translation helpful? Give feedback.
All reactions