Movatterモバイル変換
[0]ホーム
Fw: amkCrypto Install
Sandipan Gangopadhyaysandipan at vsnl.com
Sat Apr 7 10:36:06 EDT 2001
An update - I found out about the install command and did ./setup.py install1 warning:warning: build_ext: old-style (ext_name, build_info) tuple found inext_modules for extension 'Crypto.mxCrypto'-- please convert to ExtensioninstanceHowever, ./test.py still doesnt work. Same error.import: Unable to connect to X server () [No such file or directory]../test.py: sys.path: command not found./test.py: args: command not found./test.py: quiet: command not found./test.py: syntax error near unexpected token `args.remove(''./test.py: ./test.py: line 10: `if quiet: args.remove('--quiet')'Does it need to be run in XWindows ? (X server)Regards,Sandipan----- Original Message -----From: "Sandipan Gangopadhyay" <sandipan at vsnl.com>To: <python-list at python.org>Sent: Saturday, April 07, 2001 7:54 PMSubject: amkCrypto Install> 1. I received asn1.py from Jeremy.> 2. To make that work, I downloaded pisces-1_0a1.tgz> 3. To install that, I downloaded and installed Distutils-1_0_1. Noproblems> here (I used the faint hearted rpm -ivh route !)> 4. I already have openssl-0.9.4 installed and working fine.>> 5. Then, I also downloaded AMK's amkCrypto-0_1_2.tgz> This contains both AMK's Crypto and the changed form of MAL's mxCrypto.> And it reports being Distutils ready.>> However, I cant find out how to install it.>> ./test.py fails with:> import: Unable to connect to X server () [No such file or directory].> ./test.py: sys.path: command not found> ./test.py: args: command not found> ./test.py: quiet: command not found> ./test.py: syntax error near unexpected token `args.remove(''> ./test.py: ./test.py: line 10: `if quiet: args.remove('--quiet')'>> ./setup.py fails with:> usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]> or: setup.py --help [cmd1 cmd2 ...]> or: setup.py --help-commands> or: setup.py cmd --help> error: no commands supplied>> I dont know what command to feed it.>> I looked here for instructions, but no luck->http://www.amk.ca/python/code/crypto.html> amkCrypto-0.1.2/Doc/mxCrypto.html> amkCrypto-0.1.2/README>http://www.amk.ca/python/writing/pycrypt/>> Any hints to help me ?>> I am on RH-6.1 and RH6.2>> Regards,>> Sandipan>
More information about the Python-listmailing list
[8]ページ先頭