Comments (8)
Others seems to have the same finding, like under "https://discuss.luxonis.com/d/1999-debian-bookworm-oak-1".
from depthai.
Awesome, thanks. I followed this but got another error:
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.
For more information visit http://rptl.io/venv
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.
Failed installing dependencies. Could be a bug in the installer or unsupported platform. Open a bug report over at https://github.com/luxonis/depthai - exited with status 1 at line 120
from depthai.
Attempting to configure a Raspberry Pi 5
Linux RPi5 6.1.0-rpi6-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.58-1+rpt2 (2023-10-27) aarch64 GNU/Linux
Fresh install on USB drive, then run apt update and apt upgrade.
Same error as OP when installing dependencies. Output:
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Nov 27 05:44:11 2023
inc@RPi5:~ $ sudo wget -qO- https://docs.luxonis.com/install_dependencies.sh | bash
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libtbb2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libtbbmalloc2:armhf libtbbmalloc2
E: Package 'libtbb2' has no installation candidate
E: Unable to locate package libdc1394-22-dev
Failed installing dependencies. Could be a bug in the installer or unsupported platform. Open a bug report over at http s://github.com/luxonis/depthai - exited with status 100 at line 118
I am reporting the bug as directed by the script.
from depthai.
Did you try one of the notes mentioned above in this thread?
from depthai.
Nope. This script is failing as-is and I reported it as such.
(so the next person looking will know the script has not been repaired yet)
from depthai.
Awesome, thanks. I followed this but got another error:
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.
For more information visit http://rptl.io/venv
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.
Failed installing dependencies. Could be a bug in the installer or unsupported platform. Open a bug report over at https://github.com/luxonis/depthai - exited with status 1 at line 120
I have the same issue. Have you resolved it?
from depthai.
error: externally-managed-environment
I believe I have a solution for this issue. The problem arises when pip
is told to upgrade itself at the end of the installation of the dependencies. If pip
was installed as an OS package (which seems to be the case at least with default Python installations on Debian), it will throw the error because it's not supposed to install/manage packages system-wide. Since we just want it to upgrade itself (and not install anything), I just added an alternative command for doing so using apt-get
in environments that are externally managed (in the "non-external" ones it will run the original command).
@camchaney @jnpm would you mind testing the updated script? Just download the file and run it locally (bash install_dependencies.sh
). It works nicely for me, but it would be good to get a confirmation to avoid the "works on my machine" effect :)
For reference: this behavior was implemented in Python 3.10.
from depthai.
The newest version of the script should also fix the issue with installation of the "libtbb2" package.
@camchaney @LaudixGit feel free to test (download the file and run it locally - bash install_dependencies.sh
)
from depthai.
Related Issues (20)
- [BUG] connectivity issue
- [BUG] {wrong image rectification using stereo StereoDepth on oak-d-lite} HOT 3
- [BUG] Camera capture delay between RGB images and disparity images. HOT 2
- calibration doesn work in depthai python into env. or with ROS launch HOT 9
- [BUG] {Depth quality difference between OAK-D-LITE models} HOT 7
- [BUG] Demo application does not work with SR HOT 2
- [BUG] {Failed installing dependencies. Could be a bug in the installer or unsupported platform.} HOT 1
- [BUG] {Imu has not been utilized in rtabmap.launch.py}
- [BUG] {Missing 'total_num_of_captured_images'} HOT 1
- [BUG] Callibration does not work with OAK-D-SR. HOT 1
- [BUG] Raspberry Pi OS Bookworm on Pi 5: urllib3 or chardet/charset_normalize doesn't match a supported version HOT 1
- web page integration HOT 1
- dai::XLinkWriteError on deploying custom blob on OAK-D pro HOT 1
- Problems with RGB Camera Control HOT 1
- [BUG] {MacOS Sonoma 14.4 M1 Installation Issue} HOT 4
- [BUG] Unable to deploy Roboflow model to Oak-D Pro HOT 4
- [BUG] NameError: name 'EncodingQuality' is not defined HOT 2
- [BUG] Get corrupted ROSBAG file when running ROSBAG Recording code sample HOT 6
- [BUG] feature_tracker_color.py fails to switch to hardware acceleration HOT 1
- Not able to install depthai on MacOS Monterey v12.3.1: installer exited with status 1 at line 239 HOT 5
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 depthai.