Can't install SAGA on Windows

53 views
Skip to first unread message

Евгения Вдовина

unread,
Apr 13, 2017, 3:17:21 AM4/13/17
to saga-users
Hi!

I try to install Saga on Windows 7 with this manual.
I tried pip, easy_install, virtualenv on windows console and CygWin64 and get the same Error: "ValueError: path 'share/radical.utils/examples/' cannot end with '/' "

When I installed it in last time (11.2016), i can did in with installing pip on Windows and running command pip install saga-python and it installed succesfully (It was the same OS, Windows 7).

What should i do to install SAGA?

Thanks.

Mark Santcroos

unread,
Apr 13, 2017, 3:26:46 AM4/13/17
to saga-...@googlegroups.com
Just to be sure, are you interested in the Simple API for Grid Applications (SAGA) or in the SAGA GIS software?
> --
> You received this message because you are subscribed to the Google Groups "saga-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to saga-users+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Евгения Вдовина

unread,
Apr 13, 2017, 3:31:28 AM4/13/17
to saga-...@googlegroups.com
Only the Simple API for Grid Applications (SAGA)

> To unsubscribe from this group and stop receiving emails from it, send an email to saga-users+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "saga-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/saga-users/dbsNdeCh5rU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to saga-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
С уважением,
Вдовина Евгения
--------------------------
Message has been deleted

Andre Merzky

unread,
Apr 13, 2017, 3:32:40 AM4/13/17
to saga-...@googlegroups.com
Dear Ewgenia,

we can certainly change that path spec to make windows happy - but
otherwise I'm afraid that we have no experience with Windows based
installations, and don't have any expertise to support it either.

That path is specified in line 300 in setup.py [1]. Can you please
clone the repository to your machine [2], change the path there, and
try to install with 'pip install .' from within the directory?

Best, Andre.

[1] https://github.com/radical-cybertools/radical.pilot/blob/master/setup.py#L300
[2] git clone g...@github.com:radical-cybertools/radical.pilot.git
--
99 little bugs in the code.
99 little bugs in the code.
Take one down, patch it around.

127 little bugs in the code...

Евгения Вдовина

unread,
Apr 13, 2017, 3:59:03 AM4/13/17
to saga-users
Do you mean install setup.py? 
If it is, i get this error

If you mean command "pip install saga-python", i got the same error with path, because I don't know how to run that pip used setup.py in \radical.pilot-devel directory.

By the way, I can't clone your repo, because I haven't access rights, but I downloaded it as ZIP and extract it in my work directory.

 
четверг, 13 апреля 2017 г., 10:32:40 UTC+3 пользователь Andre Merzky написал:

Mark Santcroos

unread,
Apr 13, 2017, 4:19:25 AM4/13/17
to saga-...@googlegroups.com

> On 13 Apr 2017, at 9:59 , Евгения Вдовина <keep.li...@gmail.com> wrote:
> By the way, I can't clone your repo, because I haven't access rights, but I downloaded it as ZIP and extract it in my work directory.

FYI: You can clone read-only via the https url.

Евгения Вдовина

unread,
Apr 13, 2017, 5:00:25 AM4/13/17
to saga-users
I found another way of solving this problem: 
I edited file util.py in Python27 libs (just add removing the last slash in paths) and Saga installed succesfully. I understand that it is hack but it's works for me :))

Thanks for your answers and help!



четверг, 13 апреля 2017 г., 10:32:40 UTC+3 пользователь Andre Merzky написал:
Dear Ewgenia,

Евгения Вдовина

unread,
Apr 13, 2017, 5:42:04 AM4/13/17
to saga-users
I tried to connect to remote host and had a problem:

Is it possible in SAGA to show path where my ssh keys store?

In \saga\adaptors\context\ssh.py unix commands are used. I edited function _get_default_contexts in this file and specify paths to private and public keys directly:

def _get_default_contexts(self):
c = saga.Context('ssh')
c.user_key = "C:/ .. /private.ppk"
c.user_cert = "C:/ .. /public"
self._default_contexts.append(c)


self._have_defaults = True # have defaults, and can return them...
return self._default_contexts

And get this error: 

An exception occured: (NotImplemented) No adaptor found for 'saga.job.Service' and URL scheme ssh:// (C:\Python27\lib\site-packages\saga_python-0.45.1-py2.7.egg\saga\engine\engine.py +593 (bind_adaptor)  :  raise se.NotImplemented(error_msg)) 
 
*** Backtrace:
   File "C:/Users/evgenia/Documents/Diploma/SAGA/saga_test_miem.py", line 123, in <module>
    sys.exit(main())
  File "C:/Users/evgenia/Documents/Diploma/SAGA/saga_test_miem.py", line 49, in main
    js = saga.job.Service(REMOTE_JOB_ENDPOINT, session=session)
  File "C:\Python27\lib\site-packages\saga_python-0.45.1-py2.7.egg\saga\job\service.py", line 115, in __init__
    url, session, ttype=_ttype)
  File "C:\Python27\lib\site-packages\saga_python-0.45.1-py2.7.egg\saga\base.py", line 90, in __init__
    self._adaptor = _engine.bind_adaptor (self, self._apitype, schema, adaptor)
  File "C:\Python27\lib\site-packages\saga_python-0.45.1-py2.7.egg\saga\engine\engine.py", line 593, in bind_adaptor
    raise se.NotImplemented(error_msg)
  File "C:\Python27\lib\site-packages\saga_python-0.45.1-py2.7.egg\saga\exceptions.py", line 330, in __init__
    SagaException.__init__ (self, msg, parent, api_object, from_log)

Maybe it's no way to use SAGA in Windows? :(

четверг, 13 апреля 2017 г., 12:00:25 UTC+3 пользователь Евгения Вдовина написал:
Reply all
Reply to author
Forward
0 new messages