I get this

note: I have completely deleted any django packages on the my system and 
could get any version but the dev version to even get past the first step.
the dev 1.7 version would run django-admin.py startproject myfirstsite but 
now python manage.py runserver does not work
error in line 10

/usr/lib/python2.7/site-packages/pymongo-2.5.1-py2.7-linux-x86_64.egg
/usr/lib/python2.7/site-packages/bottle-0.11.6-py2.7.egg
/usr/lib/python2.7/site-packages/translationstring-1.1-py2.7.egg
/usr/lib/python2.7/site-packages/venusian-1.0a8-py2.7.egg
/usr/lib/python2.7/site-packages/zope.deprecation-4.0.2-py2.7.egg
/usr/lib/python2.7/site-packages/setuptools-0.9.6-py2.7.egg
/home/boopers/django-trunk
/usr/lib/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib64/python2.7/site-packages/FontTools
/usr/lib64/python2.7/site-packages/PIL
/usr/local/lib64/python2.7/site-packages
/usr/local/lib/python2.7/site-packages
/usr/lib64/python2.7/site-packages/gst-0.10
/usr/lib64/python2.7/site-packages/gtk-2.0
/usr/lib64/python2.7/site-packages/input-pad-1.0
/usr/lib/python2.7/site-packages
/usr/lib64/python2.7/site-packages/wx-2.9.4-gtk2

On Saturday, July 20, 2013 5:55:21 PM UTC-4, Jay Lozier wrote:
>
> Using openSUSE 12.3
> python 2.7.3
> django 1.5.1 installed manually and verified
>
> When I enter "django-admin.py startproject mysite" at the command prompt I 
> get the following traceback:
>
> Traceback (most recent call last):
> File "/usr/bin/django-admin.py", line 5, in <module>
> management.execute_from_command_line()
> File 
> "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 
> 453, in execute_from_command_line
> utility.execute()
> File 
> "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 
> 392, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
> File 
> "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 
> 272, in fetch_command
> klass = load_command_class(app_name, subcommand)
> File 
> "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 
> 77, in load_command_class
> module = import_module('%s.management.commands.%s' % (app_name, name))
> File "/usr/lib/python2.7/site-packages/django/utils/importlib.py", line 
> 35, in import_module
> __import__(name)
> File 
> "/usr/lib/python2.7/site-packages/django/core/management/commands/startproject.py",
>  
> line 2, in <module>
> from django.core.management.templates import TemplateCommand
> File 
> "/usr/lib/python2.7/site-packages/django/core/management/templates.py", 
> line 20, in <module>
> from django.template import Template, Context
> File "/usr/lib/python2.7/site-packages/django/template/__init__.py", line 
> 53, in <module>
> from django.template.base import (ALLOWED_VARIABLE_CHARS, BLOCK_TAG_END,
> File "/usr/lib/python2.7/site-packages/django/template/base.py", line 18, 
> in <module>
> from django.utils.formats import localize
> File "/usr/lib/python2.7/site-packages/django/utils/formats.py", line 5, 
> in <module>
> from django.utils import dateformat, numberformat, datetime_safe
> File "/usr/lib/python2.7/site-packages/django/utils/dateformat.py", line 
> 25, in <module>
> from django.utils.timezone import is_aware, is_naive
> File "/usr/lib/python2.7/site-packages/django/utils/timezone.py", line 11, 
> in <module>
> import pytz
> File "/usr/lib/python2.7/site-packages/pytz/__init__.py", line 35, in 
> <module>
> from pkg_resources import resource_stream
> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2978, in 
> <module>
> add_activation_listener(lambda dist: dist.activate())
> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 709, in 
> subscribe
> callback(dist)
> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2978, in 
> <lambda>
> add_activation_listener(lambda dist: dist.activate())
> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2465, in 
> activate
> map(declare_namespace, self._get_metadata('namespace_packages.txt'))
> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2045, in 
> declare_namespace
> _handle_ns(packageName, path_item)
> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2010, in 
> _handle_ns
> raise TypeError("Not a package:", packageName)
> TypeError: ('Not a package:', 'cgi')
>
> How do I fix this?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to