Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

django-admin command not found

python -m django startproject monnify
Comment

django-admin command not found after pip3 install django

## You probably installed Django as a user, try installing it as sudo instead.
### To fix your issue, run the commands below:

pip3 uninstall django  # this will uninstall the user account version

sudo pip3 install django  # this will install using sudo

## now try starting a project again as per usual, it will work
django-admin startproject [project-name]
Comment

django-admin command not found

python3 -m django startproject {project name}
Comment

command not found: django-admin

django-admin should be on your system path if you installed Django via pip. If it’s not in your path, ensure you have your virtual environment activated and you can try running the equivalent command python -m django.
Comment

PREVIOUS NEXT
Code Example
Python :: sklearn roc curve 
Python :: ggplot2 histogram 
Python :: python get ip from hostname 
Python :: how to speak the text with python 
Python :: record video with python 
Python :: python most common element in list 
Python :: check python version ubuntu 
Python :: get first of current month python 
Python :: python copy file and rename 
Python :: web3py convert from wei to ether 
Python :: chromebook install pip 
Python :: remove stopwords 
Python :: how to print a random part of a list in python 
Python :: image to pdf python 
Python :: tkinter canvas remove border 
Python :: python file open modes 
Python :: dictionary sort python 
Python :: how to make computer go in sleep mode using pythn 
Python :: parse youtube video id from youtube link python 
Python :: how to refresh windows 10 with python 
Python :: how to make a discord bot delete messages python 
Python :: logging python utf-8 
Python :: how to multi random pick from list python 
Python :: python calculate age from date of birth 
Python :: python screen recorder 
Python :: turn pandas entries into strings 
Python :: install os python 
Python :: bar chart with seaborn 
Python :: python import text file 
Python :: create text in python if not exists 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =