Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
397 views
in Technique[技术] by (71.8m points)

python - Cannot run django-admin commands because files are located in anaconda3 folder?

So I thought I installed anaconda and Django correctly but I guess I didn't because my django-admin commands don't work. As you can see here, I have the file paths for a couple Django files all screwed up:

/Users/user/anaconda3/bin/django-admin
/Users/user/anaconda3/bin/django-admin.py
/Users/user/anaconda3/lib/python3.8/site-packages/Django-3.1.5.dist-info/*
/Users/user/anaconda3/lib/python3.8/site-packages/django/*

This makes it so I can't run any django-admin commands that I need to run to start a new project in PyCharm. I'm a total noob so I'm sorry if this is a simple question. Thank you!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...