django-admin.py: Befehl nicht gefunden (Bluehost Server)

Nachdem ich mehr als 6 Stunden gekämpft hatte, beschloss ich, um Hilfe zu bitten.

Aufgabe: Mit Hilfe von Django ein Projekt erstellen
Tools: Windows Vista, Putty SSH
Standort: Bluehost (www.bluehost.com) Server

Ich habe diese Themen zu derselben Frage bereits gelesen:

-bash: django-admin.py: Befehl nicht gefunden (Django-Installation)
Django-admin.py kann nicht verwendet werden
Django: Beim Erstellen eines neuen Projekts wird der Fehler "django-admin.py: Befehl nicht gefunden" angezeigt
django-admin.py: Befehl nicht gefunden
Befehl nicht gefunden: django-admin.py
Django-admin.py funktioniert nicht (-bash: django-admin.py: Befehl nicht gefunden)

Ich habe Python wie hier erklärt installiert (Bluehost-Hilfeseite):
https://my.bluehost.com/cgi/help/python-install

Python 2.7.2 installiert und überprüft, und es sieht so aus:
[email protected] [~/python]# ls
./  ../  Python-2.7.2/  Python-2.7.2.tgz  bin/  include/  lib/  share/

das Verzeichnis~ / python / Python-2.7.2 / sieht aus wie das:

[email protected] [~/python/Python-2.7.2]# ls
./                LICENSE          Objects/  build/          pyconfig.h.in
../               Lib/             PC/       config.log      python*
.hg_archival.txt  Mac/             PCbuild/  config.status*  python-gdb.py
.hgtags           Makefile         Parser/   configure*      setup.py
Demo/             Makefile.pre     Python/   configure.in
Doc/              Makefile.pre.in  README    install-sh*
Grammar/          Misc/            RISCOS/   libpython2.7.a
Include/          Modules/         Tools/    pyconfig.h

und~ / python / bin / sieht aus wie das:

[email protected] [~/python/bin]# ls
./   2to3*             idle*   python*         python2.7*         smtpd.py*
../  django-admin.py*  pydoc*  python-config@  python2.7-config*
Django 1.5 installiert und überprüft, und es sieht so aus:
[email protected] [~/Django-1.5]# ls
./   AUTHORS  LICENSE      PKG-INFO    build/   docs/    scripts/   setup.py
../  INSTALL  MANIFEST.in  README.rst  django/  extras/  setup.cfg  tests/

und~ / Django-1.5 / bin / sieht aus wie das:

[email protected] [~/Django-1.5/django/bin]# ls
./   __init__.py        django-2to3.py*   profiling/
../  daily_cleanup.py*  django-admin.py*  unique-messages.py*

Problem: Wenn ich versuche, mein Projekt zu erstellen, wird folgender Fehler angezeigt:

[email protected] [~/www/domain/]# django-admin.py startproject mysite
-bash: django-admin.py: command not found

Dann habe ich es nochmal ohne .py versucht, ich sehe diesen Fehler:

[email protected] [~/www/domain/]# django-admin.py startproject mysite
-bash: django-admin.py: command not found
~ / .bashrc sieht so aus:
# .bashrc
export PATH=$HOME/.local/bin:$HOME/.local/usr/bin:$PATH

 #User specific aliases and functions


alias mv='mv -i'
alias rm='rm -i'
alias cp='cp -i'

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi
~
~
~ / bin / sieht so aus:
[email protected] [~/bin]# ls
./  ../

Also habe ich viel über das gelesenPFAD, aber ich konnte es nicht zum Laufen bringen. Soll ich aufgeben?

Antworten auf die Frage(2)

Ihre Antwort auf die Frage