Discussion:
[Docutils-users] ImportError: No module named admindocscorsheaders
Poekert Family
2014-12-16 16:53:31 UTC
Permalink
I never used docutils before. I followed the instructions to use it in the
Django docs at
https://docs.djangoproject.com/en/1.7/ref/contrib/admin/admindocs/

When I run manage.py runserver, I get the error: "ImportError: No module
named admindocscorsheaders"

First I installed docutils with pip and I got the above error. Then I
installed it from the tarball and uninstalled the pip version. I am still
getting the error.

I ran the alltests.py from the test directory and there were no errors.

I am running on a MacBook Pro with Mavericks, Python 2.7, and Django 1.7.

Any help on this will be appreciated.

Regards,

Nancy
engelbert gruber
2014-12-17 18:22:06 UTC
Permalink
Post by Poekert Family
I never used docutils before. I followed the instructions to use it in the
Django docs at
https://docs.djangoproject.com/en/1.7/ref/contrib/admin/admindocs/
When I run manage.py runserver, I get the error: "ImportError: No module
named admindocscorsheaders"
there is no refernce on manpage.py on that page , where did you get
this commandline from

my understanding is: django preprocesses reST documents and produces
html by means of docutils

and i would assume one queries django via http not n commandline

manpage.py produces man pages that is manual pages for unix systems
you are on a mac ... open a terminal type "man man<enter>"

or am i totally misled

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Docutils-users mailing list
Docutils-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.
David Goodger
2014-12-17 19:48:46 UTC
Permalink
On Wed, Dec 17, 2014 at 12:22 PM, engelbert gruber
Post by engelbert gruber
Post by Poekert Family
I never used docutils before. I followed the instructions to use it in the
Django docs at
https://docs.djangoproject.com/en/1.7/ref/contrib/admin/admindocs/
When I run manage.py runserver, I get the error: "ImportError: No module
named admindocscorsheaders"
there is no refernce on manpage.py on that page , where did you get
this commandline from
my understanding is: django preprocesses reST documents and produces
html by means of docutils
and i would assume one queries django via http not n commandline
manpage.py produces man pages that is manual pages for unix systems
you are on a mac ... open a terminal type "man man<enter>"
or am i totally misled
Engelbert, you're mistaken. It's "manage.py", not "manpage.py". IIRC,
"manage.py" is Django's way of starting up applications and services.
--
David Goodger <http://python.net/~goodger>

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Docutils-users mailing list
Docutils-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.
David Goodger
2014-12-17 19:52:47 UTC
Permalink
Sorry Nancy, I have no idea why you're having this problem. There is
no "admindocscorsheaders" module in Docutils, or anything like that.
The Django docs you referenced do have "admindocs" in the URL. I
suspect you may have a typo somewhere. Try searching for "admindocs"
in your files.

Perhaps the Django people can help more. Good luck!

David Goodger
Post by Poekert Family
I never used docutils before. I followed the instructions to use it in the
Django docs at
https://docs.djangoproject.com/en/1.7/ref/contrib/admin/admindocs/
When I run manage.py runserver, I get the error: "ImportError: No module
named admindocscorsheaders"
First I installed docutils with pip and I got the above error. Then I
installed it from the tarball and uninstalled the pip version. I am still
getting the error.
I ran the alltests.py from the test directory and there were no errors.
I am running on a MacBook Pro with Mavericks, Python 2.7, and Django 1.7.
Any help on this will be appreciated.
Regards,
Nancy
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Docutils-users mailing list
Docutils-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.

Loading...