blob: 63690684ac05c1f9da1795a9e339f905d31d5c90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<tt>
<html dir="ltr"><br>
<head><br>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><br>
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style><br>
</head><br>
<body ocsi="0" fpstyle="1"><br>
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">When I try to install pycrpto on windows with jython I get the "chmod" error. When I comment that out in the setup.py file I get the "sh" error. Both of these errors point to this<br>
package being only for Linux OS's. <br><br>
<br><br>
So I used a distro package that was installed on a Python Linux install. I dropped it in my Jython\Lib\site-package directory and imported it. It didn't complain.<br>
<br><br>
<br><br>
But then when I try to run celery with django (jython manage.py celery worker -E --loglevel=debug) I get the following error pointing back to the Crypto install:<br><br>
java.lang.ClassFormatError: java.lang.ClassFormatError: Invalid method Code length 101115 in class file Crypto/Util/number$py<br><br>
<br><br>
So how can I get this to install correctly on Jython, Djangon, and Windows? <br><br>
<br><br>
Thanks.<br><br>
</div><br>
</body><br>
</html><br>
</tt>
|