pip is installing to global location rather than in the venv. I tried a lot of things but none worked. I found out that pip3 is missing from bin in my vienv. I have tried all of the below:
pip installing in global site-packages instead of virtualenv and
http://w3facility.org/question/pip-installing-in-global-site-packages-instead-of-virtualenv/
And many more...if you need i can paste more links. Please help.
            Asked
            
        
        
            Active
            
        
            Viewed 1,067 times
        
    1
            
            
         
    
    
        David Jones
        
- 4,766
- 3
- 32
- 45
 
    
    
        user2572521
        
- 113
- 1
- 1
- 5
- 
                    Are you using 3.4 or greater? – kezzos Jun 10 '15 at 20:23
- 
                    can you show us how you set up the virtualenv, activate it and try to run pip from within it? – Jörn Hees Jun 10 '15 at 20:45
2 Answers
0
            
            
        Using a virtual environment with Python 3.4 provides helpful information about dealing with Python 3.x and virtualenv/pyevn.
Find instruction about how to install pip manually on pip.pypa.io.
 
    
    
        Dušan Maďar
        
- 9,269
- 5
- 49
- 64
0
            
            
        The Red Hat yum package of Python 3.4 is broken, with pip missing. Other Python 3.4+ distributions might have the same problem.
When you create a virtual environment with:
pyvenv-3.4 py3
source py3/bin/activate
the environment should include pip automatically (in the environment/bin directory, not globally). If it does not, try downloading the pip and setuptools wheels manually as described in https://stackoverflow.com/a/33767179/948866. It's a little more work up front than installing pip the old way, but it makes pyvenv work properly.
 
    