10👍
Just see which python version your Django environment is using with:
python -V
If it is using Python 2.7
run:
pip install django-bootstrap3
Otherwise, if your Django environment is using version Python 3
use:
pip3 install django-bootstrap3
5👍
Try using
$pip2 install django-bootstrap3
I’m using ubuntu 14.04 and and the pip command installs packages to lib/python3.3/site-packages/ and not to lib/python2.7/site-packages/
- How to connect PyCharm to a Heroku postgres database
- Django – how can I access the form field from inside a custom widget
2👍
You have to install Requirements.txt and it will be ok.
Run this command:
pip install -r requirements.txt
- Django backup strategy with dumpdata and migrations
- Django rest framework – PrimaryKeyRelatedField
- Confused by Django's claim to MVC, what is it exactly?
0👍
Try using:
pip install django-bootstrap3
Instead of:
pip3 install django-bootstrap3
I found out even using just plain old pip just works (even in a python3 environment )when you’re using a virtual environment (I was using anaconda). For some reason pip3 doesn’t work.
0👍
If Using Conda Virtual Environment First, check conda list
If django-bootstrap3 is not there then install using python -m pip install django-bootstrap3
After this try migrating once again.
I hope this solution works!
- Django: Forbidden (CSRF cookie not set.)
- Django TransactionManagementError when using signals
- How to access get request data in django rest framework
- Custom label on ModelChoiceField form field