Note that there are some explanatory texts on larger screens.

plurals
  1. POPip doesn't install packages to activated virtualenv, ignores requirements.txt
    primarykey
    data
    text
    <p>I am attempting to setup a development environment on my new dev machine at home. I have just installed Ubuntu and now I am attempting to clone a remote repo from our web-server and install its dependencies so I can begin work. </p> <p>So far I have manually installed <code>virtualenv</code> and <code>virtualenvwrapper</code> from pypi and edited my bash.rc appropriately to source my virtualenvs when i start my terminal. I then cloned my repo to <code>~/projects/project-name/websitename.com</code>. Then I used <code>virtualenvwrapper</code> to <code>mkvirtualenv env-name</code> from <code>~/projects/project-name/websitename.com</code>. This reflects exactly the <code>file-structure/setup</code> of the web-server I am cloning from. So far so good. </p> <p>I logged into the dev server and activate the <code>virtualenv</code> there and use <code>pip freeze -l &gt; req.txt</code> to render a dependencies list and scp to my local machine. I activate the <code>virtualenv</code> on my local machine, navigate to the <code>~/projects/project-name/websitename.com</code> and execute <code>pip install -r path-to-req.txt</code> and it runs through all of the dependencies as if nothing is wrong. However, when i attempt to <code>manage.py syncdb</code> i get an error about not finding core django packages. What the hell? So i figure somehow Django failed to install, i <code>run pip install Django==1.5.1</code> and it completes successfully. I got to setup my site again and get another error about no module named <code>django_extensions</code>. Okay, what the hell with it, i just installed all of these packages with pip?! </p> <p>So i <code>pip freeze -l &gt; test.txt</code> and <code>cat test.txt</code>, what does it list? <code>Django==1.5.1</code>, the one package I just manually installed. Why isn't pip installing my dependencies from my specified list into my virtualenv? What am I messing up here?</p> <p>-EDIT-------------</p> <p>Which pip gives me the path to pip in my virtualenv</p> <p>I have only 1 virtualenv and it is activated</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload