Hi Daniel,

Thanks for taking an interest in Pytrainer.

Unfortunately Pytrainer is not supported on Windows as none of the
developers are using that OS. It should be possible to get it to work
though if you are willing to spend a little time. The two things that
I expect will cause problems on Windows are:

1. file paths being hard-coded to use forward slash as a path
separator (from your stack trace I think this is the issue you are
seeing).

2. non-python dependencies - some of Pytrainer's dependencies are not
pure Python and may also need additional effort to get working on
Windows. For example, WebKit and GTK. I am not sure how the GPS device
integration works but this may also require native libraries.

Feel free to fork the code on Github if you want do some hacking. If
you have not done so already then it may be helpful to setup Pytrainer
in a Linux environment so that you can at least see it in action
first.

 - Nathan

On 15 September 2012 00:23, Daniel Dui <daniel....@gmail.com> wrote:
> Hi all
>
> I hope this is the right channel to ask this question. If not please
> let me know.
>
> I am trying to install pytrainer on windows. I have Python 2.7 and I
> am running the installation script from a bash command line. This is
> what I get:
>
> $ python setup.py install --prefix c:/pytrainer
> running install
> running build
> running build_py
> running build_scripts
> running install_lib
> running install_scripts
> running install_data
> Traceback (most recent call last):
>   File "setup.py", line 68, in <module>
>     scripts=['bin/pytrainer']
>   File "c:\Program Files\Python27\lib\distutils\core.py", line 152, in setup
>     dist.run_commands()
>   File "c:\Program Files\Python27\lib\distutils\dist.py", line 953, in
> run_commands
>     self.run_command(cmd)
>   File "c:\Program Files\Python27\lib\distutils\dist.py", line 972, in
> run_command
>     cmd_obj.run()
>   File "c:\Program Files\Python27\lib\distutils\command\install.py",
> line 575, in run
>     self.run_command(cmd_name)
>   File "c:\Program Files\Python27\lib\distutils\cmd.py", line 326, in
> run_command
>     self.distribution.run_command(command)
>   File "c:\Program Files\Python27\lib\distutils\dist.py", line 972, in
> run_command
>     cmd_obj.run()
>   File "c:\Program
> Files\Python27\lib\distutils\command\install_data.py", line 58, in run
>     dir = convert_path(f[0])
>   File "c:\Program Files\Python27\lib\distutils\util.py", line 206, in
> convert_path
>     raise ValueError, "path '%s' cannot end with '/'" % pathname
> ValueError: path 'share/pytrainer/glade/' cannot end with '/'
>
> Any hint on how I can get it to install?
>
> many thanks
>
> -daniel
>
> --
> ____________________________________________________________
>    Daniel Dui - daniel....@gmail.com - skype: danieldui
>
> ------------------------------------------------------------------------------
> Got visibility?
> Most devs has no idea what their production app looks like.
> Find out how fast your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219671;13503038;y?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> Pytrainer-devel mailing list
> Pytrainer-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pytrainer-devel

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Pytrainer-devel mailing list
Pytrainer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytrainer-devel

Reply via email to