Hi,

I recently installed Django 1.1 using python setup.py install command.
The django module was installed successfully. When I try to start a
new project using django-admin, I get the following error. I am not
sure what is happening.

python django-admin.py startproject django-test
python: can't open file 'django-admin.py': [Errno 2] No such file or
directory

My path is set up as PATH=%PATH%;%PYTHONHOME%;%PYTHONPATH% where
PYTHONHOME=C:\tools\Python26
PYTHONPATH=C:\tools\Python26\Lib\site-packages\django\bin

I was able to verify that django is indeed installed when i executed
"import django" and django.VERSION from python shell. The output was
(1, 1, 1, 'final', 0). Any help would be greatly appreciated.

Thanks,

Kartik

The tail of the installation log is given below:


copying django\contrib\gis\tests\geoapp\sql\country.mysql.sql -> C:
\tools\Python
26\Lib\site-packages\django\contrib\gis\tests\geoapp\sql
copying django\contrib\gis\tests\geoapp\sql
\country.postgresql_psycopg2.sql -> C
:\tools\Python26\Lib\site-packages\django\contrib\gis\tests\geoapp\sql
copying django\contrib\gis\tests\geoapp\sql\country.sqlite3.sql -> C:
\tools\Pyth
on26\Lib\site-packages\django\contrib\gis\tests\geoapp\sql
copying django\contrib\gis\tests\geoapp\sql\ks.wkt -> C:\tools
\Python26\Lib\site
-packages\django\contrib\gis\tests\geoapp\sql
copying django\contrib\gis\tests\geoapp\sql\nz.wkt -> C:\tools
\Python26\Lib\site
-packages\django\contrib\gis\tests\geoapp\sql
copying django\contrib\gis\tests\geoapp\sql\state.mysql.sql -> C:\tools
\Python26
\Lib\site-packages\django\contrib\gis\tests\geoapp\sql
copying django\contrib\gis\tests\geoapp\sql
\state.postgresql_psycopg2.sql -> C:\
tools\Python26\Lib\site-packages\django\contrib\gis\tests\geoapp\sql
copying django\contrib\gis\tests\geoapp\sql\state.sqlite3.sql -> C:
\tools\Python
26\Lib\site-packages\django\contrib\gis\tests\geoapp\sql
copying django\contrib\gis\tests\geoapp\sql\tx.wkt -> C:\tools
\Python26\Lib\site
-packages\django\contrib\gis\tests\geoapp\sql
creating C:\tools\Python26\Lib\site-packages\django\contrib\sitemaps
\templates
copying django\contrib\sitemaps\templates\sitemap.xml -> C:\tools
\Python26\Lib\s
ite-packages\django\contrib\sitemaps\templates
copying django\contrib\sitemaps\templates\sitemap_index.xml -> C:\tools
\Python26
\Lib\site-packages\django\contrib\sitemaps\templates
running install_egg_info
Writing C:\tools\Python26\Lib\site-packages\Django-1.1.1-py2.6.egg-
info


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to