I am on linux mint 12. I have created a virtualenv called userena
. and then i installed django-userena using pip in that virtualenv. I need to edit some django-usrena files. Where are they located?
To see where your virtualenv files are, enable it and issue the following bash command:
$ echo $VIRTUAL_ENV
Similar to your system's Python installation, the packages are stored inside lib/python2.*/site-packages/
directory. Find your package in there and edit the necessary files.
You need to know the path to env userena, firstly. Then the installed app usually is in path_to_userena/lib/python2.x/site-packages/
. Django apps normally does not contain prefix django-
, thus userena
here.
Or you could find it in Python by
import os.path, userena
os.path.dirname(userena.__file__)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With