Pip3 error with pyrealsense2
Hi
I want to install pyrealsense2 in ubuntu 32bit using python 3.6, but i get an error :
Could not find a version that satisfies the requirement pyrealsense2 (from versions: )
No matching distribution found for pyrealsense2
Thanks for the help
Regards
-
you mean i should install it again following this link : https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.mdnk
because in the link that you sent there is no instruction to follow only said to install realsense2-utils package which is this link :https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.mdnk
right ?
-
The situation is at risk of becoming confusing. If you are on an x86 PC with Ubuntu now, and you have found that the camera was not detected when you tried the RSUSB installation method before, then start again from the beginning with this method that you linked to:
https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md
If you are getting a lot of errors then it may be best to assume that there is something that has gone fundamentally wrong with the librealsense setup and remove it and start the installation again.
-
If every single method of installation that you try does not work then it makes me wonder whether there is a problem with your camera's firmware driver. You can test in Ubuntu whether the camera can be detected at all with the command rs-enumerate-devices
https://github.com/IntelRealSense/librealsense/tree/master/tools/enumerate-devices
-
If it works fine with a Windows PC then that would suggest that the camera's firmware driver is okay, as that is stored inside the camera and not on the computer. So the firmware is carried within the camera to whatever computer you attach it to. The USB cable is also likely to be okay. It certainly seems to be a Linux-specific issue.
A member of the RealSense team suggests a clean-up method in the link below for cleaning up the remains of previous package installations and then testing the camera again:
https://github.com/IntelRealSense/librealsense/issues/4916#issuecomment-534517200
-
https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md
in step4 when i run
./scripts/patch-realsense-ubuntu-lts.sh
then there is an error at the end :Building dependency tree
Reading state information... Done
bc is already the newest version (1.07.1-2).
build-essential is already the newest version (12.4ubuntu1).
git is already the newest version (1:2.17.1-1ubuntu0.7).
linux-headers-generic is already the newest version (4.15.0.118.105).
The following packages were automatically installed and are no longer required:
dkms librealsense2 librealsense2-gl librealsense2-net linux-hwe-5.4-headers-5.4.0-42
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Package required libusb-1.0-0-dev: - found
Package required libssl-dev: - found
Create patches workspace in ubuntu-bionic-hwe-5.4 folderPackage required libelf-dev: - found
Package required elfutils: - found
Package required bison: - found
Package required flex: - found
fatal: read error: Connection reset by peer
Fetching Ubuntu LTS tag to the local kernel sources folder
fatal: You need to specify a tag name.
Please sign in to leave a comment.
Comments
46 comments