Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pip package failing to be detected after install. #986

Closed
InvincibleRMC opened this issue Aug 27, 2024 · 0 comments
Closed

Pip package failing to be detected after install. #986

InvincibleRMC opened this issue Aug 27, 2024 · 0 comments

Comments

@InvincibleRMC
Copy link

InvincibleRMC commented Aug 27, 2024

Following #979 it is now able to to install dependencies like pytest-qt but fails to detect that it installs properly. Running the command manual detects the install.

reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml
Skip end-of-life distro "ardent"
Skip end-of-life distro "bouncy"
Skip end-of-life distro "crystal"
Skip end-of-life distro "dashing"
Skip end-of-life distro "eloquent"
Skip end-of-life distro "foxy"
Skip end-of-life distro "galactic"
Skip end-of-life distro "groovy"
Add distro "humble"
Skip end-of-life distro "hydro"
Skip end-of-life distro "indigo"
Add distro "iron"
Skip end-of-life distro "jade"
Add distro "jazzy"
Skip end-of-life distro "kinetic"
Skip end-of-life distro "lunar"
Skip end-of-life distro "melodic"
Add distro "noetic"
Add distro "rolling"
updated cache in /home/rmc/.ros/rosdep/sources.cache
[sudo] password for rmc: 
Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease                                                                                                    
Hit:3 https://packages.microsoft.com/repos/code stable InRelease                                                                                          
Hit:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:5 https://download.docker.com/linux/ubuntu noble InRelease                                        
Hit:6 http://archive.ubuntu.com/ubuntu noble-backports InRelease                                      
Hit:7 http://packages.ros.org/ros2/ubuntu noble InRelease                       
Reading package lists... Done
executing command [sudo -H --preserve-env=PIP_BREAK_SYSTEM_PACKAGES pip3 install -U pytest-qt]
Requirement already satisfied: pytest-qt in /usr/local/lib/python3.12/dist-packages (4.4.0)
Requirement already satisfied: pytest in /usr/lib/python3/dist-packages (from pytest-qt) (7.4.4)
Requirement already satisfied: pluggy>=1.1 in /usr/lib/python3/dist-packages (from pytest-qt) (1.4.0)
Requirement already satisfied: iniconfig in /usr/lib/python3/dist-packages (from pytest->pytest-qt) (1.1.1)
Requirement already satisfied: packaging in /usr/lib/python3/dist-packages (from pytest->pytest-qt) (24.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
ERROR: the following rosdeps failed to install
  pip: Failed to detect successful installation of [pytest-qt]
rmc@rmc-OMEN-by-HP-Laptop-15-dh0xxx:~/rov-25$ export PIP_BREAK_SYSTEM_PACKAGES=1
rmc@rmc-OMEN-by-HP-Laptop-15-dh0xxx:~/rov-25$ sudo -H --preserve-env=PIP_BREAK_SYSTEM_PACKAGES pip3 install -U pytest-qt
Requirement already satisfied: pytest-qt in /usr/local/lib/python3.12/dist-packages (4.4.0)
Requirement already satisfied: pytest in /usr/lib/python3/dist-packages (from pytest-qt) (7.4.4)
Requirement already satisfied: pluggy>=1.1 in /usr/lib/python3/dist-packages (from pytest-qt) (1.4.0)
Requirement already satisfied: iniconfig in /usr/lib/python3/dist-packages (from pytest->pytest-qt) (1.1.1)
Requirement already satisfied: packaging in /usr/lib/python3/dist-packages (from pytest->pytest-qt) (24.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
@InvincibleRMC InvincibleRMC changed the title Pip package failing to install. Pip package failing to be detected after install. Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant