the command 'workon poll-tutorial' translate to "source
poll-tutorial/bin/activate" on linux. That's why most user call it
"activating a virtualenv.
After your workon command, the terminal should display that you are in
the virtualenv workon. You can try "where pip" which should give you
the path to the command pip. The one in your virtualenv should be the
first one.
2016-09-27 21:01 GMT+02:00 Aline C. R. Souza <
linec...@gmail.com>:
> Hello ke1g and gary719_list1,
>
> Thank you for your time.
>
> I am using windows and the cmd terminal. I do not know what you mean by
> activate the virtual env. I created one virtual enviroment called
> 'poll-tutorial' and used the command 'workon poll-tutorial' to work on this
> enviroment.
>
> I think you didn't understand my doubt. I think I was not very clear. The
> thing is:
>
> I followed this tutorial:
>
https://docs.djangoproject.com/en/1.10/intro/reusable-apps/
>
> At the 'Using your own package' step, there is a choice: install
> django-polls as a user library or with virtualenv
>
> The tutorial does not explain how to install with virtualenv, so I am trying
> to figure it out.
>
> I saw on a blog post that I should use the pip command as installing a user
> library but whitout the '--user':
>
> pip install django-polls/dist/django-polls-0.1.tar.gz
>
> But did not work, it can not find the file.
>
> I think I am using this command at the wrong directory.
>
> So, suppose that I am at 'mysite' directory, working on the 'poll-tutorial'
> virtual environment. What would be the correct pip command to install my
> package that is inside the folder django-polls/dist outside of my project
> directory?
>
> I think my problem maybe is just about localization of the files. I am
> little bit lost.
>
> Em terça-feira, 27 de setembro de 2016 08:21:54 UTC-3, Aline C. R. Souza
> escreveu:
>>
>
https://groups.google.com/d/msgid/django-users/fd24d7ee-3541-4707-b666-dc689b630ddd%40googlegroups.com.
Cordialement, Coues Ludovic
+336 148 743 42