DJango doesn't work with Oracle 11g on Windows 8

417 views
Skip to first unread message

Alec Taylor

unread,
Sep 24, 2011, 4:17:13 AM9/24/11
to django...@googlegroups.com
Good afternoon,

Unfortunately DJango doesn't work with Oracle 11g Express on Windows 8 x64.

DJango error: http://pastebin.com/8tAzsjYh (summary: "No module named
cx_Oracle")

pip install cx_Oracle output: http://pastebin.com/6Y61PqSM

easy_install cx_Oracle output: http://pastebin.com/rCsY63RS

Summary: "Unable to find vcvarsall.bat"

When I try tried the x64 installer from
http://cx-oracle.sourceforge.net/ (using Python 2.7 x64), I got the
following manage.py syncdb error: http://pastebin.com/syqxF4m6

How can I make DJango work with my Oracle 11g Express database?

Thanks for all suggestions,

Alec Taylor

Benjamin Welton

unread,
Sep 24, 2011, 4:27:31 AM9/24/11
to django...@googlegroups.com
Hey Alec,
django.core.exceptions.ImproperlyConfigured: Error loading cx_Oracle module: DLL load failed: %1 is not a valid Win32 application.
Do you have the visual c redistributable installed for 64bit and the Python for windows extensions for 64bit installed? 

Ben

Andre Terra

unread,
Sep 26, 2011, 5:10:16 PM9/26/11
to django...@googlegroups.com
Windows 8?

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

Benjamin Welton

unread,
Sep 26, 2011, 5:14:48 PM9/26/11
to django...@googlegroups.com
Windows 8?

Its possible he's using it on Windows 8 since the developer preview is available. If he actually is id be curious to know if everything works ok on windows 8 with python/django.

Ben

Andre Terra

unread,
Sep 26, 2011, 5:23:06 PM9/26/11
to django...@googlegroups.com
It's just that if I were trying to get django working on windows 8, I wouldn't start with an Oracle setup.


Cheers,
AT

Benjamin Welton

unread,
Sep 26, 2011, 6:06:04 PM9/26/11
to django...@googlegroups.com
Very true, oracle is quite difficult to get working (properly at least) in general on windows. Much less what amounts to a beta version of windows. I haven't heard back from the original poster on this, like i said im very curious to see if he was able to get everything working correctly. Everything should work for him since there doesnt seem to be any major kernel changes in windows 8 (unless he's using the Protogon file system, then all bets are off).

Ben
Reply all
Reply to author
Forward
0 new messages