This is not an error. This is just a warning message that something can go wrong, e. g. on your local machine or on the on-premise server, where you usually setup a virtual env.
In contrast, Amazon SageMaker is a managed cloud service that is designed to work with containers and to run your code as root without a virtual env. There are no different package managers, there's only one package manager, and no conflicting behaviour can occur in this scenario.
So, this warning is expected in the SageMaker environment and you can just safely ignore this log message.
What is the cluster manager in SageMaker Spark Processing?Accepted AnswerEXPERTasked 2 years ago
SKLearn Processing Container - Error: "WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager."
Greengrass v2 running as non root userasked 2 years ago
CodeBuild failing with invalidParameterError on build with a valid parameter givenasked 7 months ago
How to save a .html file to S3 that is created in a Sagemaker processing containerAccepted Answer
Need help getting an AWS built tutorial pipeline to buildasked 3 months ago
AWS SSO in Control Tower / Organisations with Systems Manager Run Asasked 9 months ago
Container cannot bind to port 80 running as non-root user on ECS FargateAccepted Answerasked 7 months ago
Line magic error in SageMaker Studioasked 4 months ago
AWS System Manager package and associationasked 4 years ago