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
Hello I am trying to use nixos flakes to install ROS1 noetic for a universal robotics driver. I am a pretty new to this and have been getting an issue when I am trying to install noetic.ros-core that
"nose has been removed since it has been deprecated and unmaintained and does not work on Python 3.12; palse switch to pytest or another test / framework."
It is quite possible that I am just dumb and doing something wrong. Here is my flake.nix that I am running sudo nix develop on:
{description="Flake for Universal Robots Driver on ROS Noetic";inputs={nixpkgs.url="github:NixOS/nixpkgs";ros-overlay.url="github:lopsided98/nix-ros-overlay";flake-utils.url="github:numtide/flake-utils";};outputs={self,nixpkgs,ros-overlay,flake-utils}:
flake-utils.lib.eachDefaultSystem(system:
letpkgs=importnixpkgs{inheritsystem;overlays=[ros-overlay.overlays.default];};in{devShell=pkgs.mkShell{packages=withpkgs;[colcongit(withrosPackages.noetic;buildEnv{paths=[ros-core];})gcccmakepkg-configboosteigen];# Environment setupshellHook='' echo "Setting up Universal Robots ROS Noetic development environment" export ROS_VERSION="noetic" # Create catkin workspace if it doesn't exist if [ ! -d "catkin_ws" ]; then mkdir -p catkin_ws/src cd catkin_ws/src git clone -b melodic-devel https://github.com/UniversalRobots/Universal_Robots_ROS_Driver.git git clone -b noetic-devel https://github.com/ros-industrial/universal_robot.git cd .. colcon build cd .. fi # Source the workspace source catkin_ws/install/setup.bash '';};});nixConfig={extra-substituters=["https://ros.cachix.org"];extra-trusted-public-keys=["ros.cachix.org-1:dSyZxI8geDCJrwgvCOHDoAfOm5sV1wCPjBkKL+38Rvo="];};}
The text was updated successfully, but these errors were encountered:
You're using a newer nixpkgs version than I have tested. I recommend pinning the nixpkgs version as shown in the example in the README:
nixpkgs.follows="nix-ros-overlay/nixpkgs";
On the other hand, you are likely to still have problems because the removal of distutils from Python 3.12 broke a lot of noetic packages, and I haven't fixed them all yet.
Ok, perfect, thank you for the following suggestion. I got some packages to work but not all. Is there something I could do to get some working? Again, sorry if I sound very ignorant, I am very new at this.
Hello I am trying to use nixos flakes to install ROS1 noetic for a universal robotics driver. I am a pretty new to this and have been getting an issue when I am trying to install noetic.ros-core that
"nose has been removed since it has been deprecated and unmaintained and does not work on Python 3.12; palse switch to pytest or another test / framework."
It is quite possible that I am just dumb and doing something wrong. Here is my flake.nix that I am running sudo nix develop on:
The text was updated successfully, but these errors were encountered: