[PythonCE] PyCrypto binaries -- nearly there..
Marc Horst
marc.horst at scarlet.be
Sat Aug 4 15:35:08 CEST 2007
Hi,
I have it almost working, but need some help... Can someone help me please?
What I did:
1) made ssh connection with my laptop work:
- install pycrypto 2.0.1
- placed paramiko directory in \python25\Lib\site-packets
- adapted demo.py so it automatically connects to my laptop
=> works fine
(I do get the following warning, followed by the ssh-prompt on the other PC:
*** Unable to open host keys file
*** WARNING: Unknown host key!
*** Here we go!
Line-buffered terminal emulation. Press F6 or ^Z to send EOF.
Linux marc-laptop 2.6.15-28-386 #1 PREEMPT Wed Jul 18 22:50:32 UTC 2007
i686 GNU
/Linux
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
Last login: Sat Aug 4 14:43:06 2007 from focus
marc at marc-laptop:~/projects/robot$
)
2) tried to make it work on my PDA
- installed paramiko-1.7.1 in \Flash Disk\Program Files\Python25\Lib
(directory is called paramiko)
- copied the Crypto directory of the zip you sent me to \Flash
Disk\Program Files\Python25\Lib
- moved paramiko-1.7.1\demos\demo.py and
paramiko-1.7.1\demos\interactive.py to \Flash Disk\Program
Files\Python25\Lib (this was needed, else when running demo.py the
imported interactive.py tries to import interactive (i.e. itself) and
this results in an error because Python can't find it, as it is not in
the path; moving this resolves the problem).
- when I now run demo.py (by double clicking on the file, or on the
command line: execfile ('\\Flash Disk\\Program
Files\\Python25\\...\\demo.py') ) , I get the same warning as on my PC
("*** WARNING: Unknown host key!"), but then Python quits.
My questions:
- did someone try connecting (via ssh) to another PC using a PDA with
paramiko and PyCrypt ?
- should I install something else or call the script in another way,
change the script, ...., so it won't quit ?
Thank you for your time,
Marc
alexandre.delattre at enst-bretagne.fr wrote:
> Hi Marc,
> You're a lucky one, I have built binaries of PyCrypto for PythonCE 2.4
> and 2.5 just a week ago ! A public download will be soon up on
> http://www.voidspace.org.uk/ thanks to Fuzzyman that already host
> binaries for desktop windows. Since I'm on vacation, I only have my
> local release for 2.5 at hand. So wait for the public link or mail me
> if you're interested in the 2.5 version.
>
> @Luke Dunstan
> Thank you for adapting the scons build environment to the wince
> platform, it makes compiling python extension much easier and more
> maintanable than the project oriented view of the embedded tools
> (especially for packages that contains many C extensions and would
> need as many projects as extensions).
> It is also easier to switch python 2.4/2.5 includes and libs for the
> whole script. If you don't mind I will write an article on the wiki on
> how I build extensions with scons.
>
> @Everyone
> I have also built binaries for numpy 1.0, unfortunately I havn't been
> able to compile the random facilities but everything else seems to
> work fine (core, fft and linalg), for now no public release but you
> can mail me and i'll send you the files.
>
> Have a nice summer,
> Alexandre.
>
>
> _______________________________________________
> PythonCE mailing list
> PythonCE at python.org
> http://mail.python.org/mailman/listinfo/pythonce
>
>
>
--
========================================
Marc Horst - marc.horst at scarlet.be
========================================
More information about the PythonCE
mailing list