Using Pip and Python from Docker #6872
              
                Unanswered
              
          
                  
                    
                      Surgical17
                    
                  
                
                  asked this question in
                General
              
            Replies: 1 comment
-
| How are you mounting the volume? It is probably better to install Python and pip in the Docker container instead of mounting Python into the container, though. The host Python might not be compatible with the container. | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All
In short, I am having trouble setting up the Code server. I managed to add a volume to point to where my python3.12 is installed on my host machine, but I am having trouble using it and pip.
The interpreter was added and picked up but Bash can't find the python3 command nor can I use or even install pip3.
All I want to do is use Code Server to code/manage and run my Python scripts on my host or if I really have to from within the docker container.
Any advice?
Beta Was this translation helpful? Give feedback.
All reactions