Reputation: 79
I have installed django multiselectfield using the command
pip install django-multiselectfield
I get
Requirement already satisfied: django-multiselectfield in c:\users\lenovo\appdata\local\programs\python\python37\lib\sit
e-packages (0.1.8)
Requirement already satisfied: django>=1.4 in c:\users\lenovo\appdata\local\programs\python\python37\lib\site-packages\d
jango-2.0.3-py3.7.egg (from django-multiselectfield) (2.0.3)
Requirement already satisfied: pytz in c:\users\lenovo\appdata\local\programs\python\python37\lib\site-packages\pytz-201
9.1-py3.7.egg (from django>=1.4->django-multiselectfield) (2019.1)
I am unable to import the package multiselectfield in my program.
python version: 3.7.3
pip version: 19.1.1
Upvotes: 0
Views: 285
Reputation: 1398
You have installed python2 package using pip install django-multiselectfield
Install it using pip3 install django-multiselectfield
since you are using python 3.7.3
if you don't have pip3 ,
use apt-get install python3-pip
if you are using a virtual environment then you have to install in the virtual environment.
Upvotes: 0
Reputation: 1302
if you are using venv (virtual environment) there installed packages is not associate to your project , please verify that you are working with base python 3.7 as pip installed it packages to .
Upvotes: 1
Reputation: 1
Have you already add this app to your settings.py ? and make sure installed use right pip.
Upvotes: 0