bash claims I need to install a program that is installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found |
Incomplete
|
Undecided
|
Unassigned | ||
python-django (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
My system is Ubuntu Intrepid 64bit.
In Ubuntu repository there is a package for Django - python web framework. It provides the same functionality as .tar.gz downloaded from project's web page. The main difference is that installed from source it provides utility called django-admin.py. Ubuntu package provides django-admin (no .py extension).
The problem occurs when you decide to install newer software version from svn or web page, instead of Ubuntu package. Bash gives an error:
"$ django-admin.py
Program django-admin nie jest obecnie zainstalowany. Można go zainstalować wpisując:
sudo apt-get install python-django
bash: django-admin: polecenie nieodnalezione"
wich means, that a program django-admin is not installed and explains how to install it. It happens even if you use "django-admin.py" (with .py extension) which is installed and works well in other shells, like zsh.
Using full path to that program (/usr/bin/
which django-admin gives no output.
which django-admin.py gives correct path of that script.
I'm not sure wich package provides functionality, which give's hints what software to install for the command to work.
affects: | ubuntu → python-django (Ubuntu) |
Changed in command-not-found: | |
status: | New → Incomplete |
Hi and thanks for helping making Ubuntu better. Please, could you paste here the output of this command:
ls -l /usr/bin/ django- admin.py
I suspect that it hasn't the executable bit set and that should be why it doesn't work as expected.
Thanks,
Andrea