It appears my __m2crypto.so didn't get built correctly.
cengsu01:/home/mmedina/crypt/m2kcrypto/m2crypto-0.16 >python setup.py
build
/usr/local/lib/python2.3/distutils/extension.py:128: UserWarning:
Unknown Extension options: 'swig_opts'
warnings.wa
matey wrote:
> I tried to run the following simple program
>
> #!/usr/local/bin/python
>
> import M2Crypto
>
> u = M2Crypto.m2urllib.URLopener()
> u.open('http://www.yahoo.com')
>
> However I got the following errror:
>
> Traceback (most recent call last):
> File "test.py", line 3, in ?
Firstly, thank for answering. Otherwise I wouldn't know where to turn
for help...
I tried to run the following simple program
#!/usr/local/bin/python
import M2Crypto
u = M2Crypto.m2urllib.URLopener()
u.open('http://www.yahoo.com')
However I got the following errror:
Traceback (most
matey wrote:
> However, when I use the following command: python setup.py install
> I get the following error:
>
> creating /usr/local/lib/python2.3/site-packages/M2Crypto
> error: could not create
> '/usr/local/lib/python2.3/site-packages/M2Crypto': Permission denied
Ok, it looks like you M2Cryp
Problem: I want to be able to access an HTTPS website read/write
commands
to this website.
>From reading this group it appears I need M2Crypto and OpenSSL
Current version of Python 2.3.4
I downloaded:
M2Crypto 0.16
OpenSSL 0.9.7k
SWIG 1.3.29
Compiled OpenSSL libraries are located in /home/mmed
matey wrote:
> I am have version 2.3.4. I want to write a python script to access a
> secure HTTPS.
>
> I tried the following:
>
> import urllib
> urllib.urlopen("https://somesecuresite.com";)
> s = f.read()
> f.close()
I hope you know the Python stdlib SSL does not provide certificate
checking
I am have version 2.3.4. I want to write a python script to access a
secure HTTPS.
I tried the following:
import urllib
urllib.urlopen("https://somesecuresite.com";)
s = f.read()
f.close()
I get the following:
IOError [Errno url error] unknown url type: 'https'
1. How do I know if SSL is ena