Skip to content

Problems installing via pip #17

Description

@robhoney

When installing via pip, the install works, but once I run it (hydra-server run) I get problems. The first of these is in spyne:

Traceback (most recent call last):
  File "c:\users\honeywillrs\appdata\local\continuum\anaconda3\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\honeywillrs\appdata\local\continuum\anaconda3\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\honeywillrs\AppData\Local\Continuum\anaconda3\Scripts\hydra-server.exe\__main__.py", line 5, in <module>
  File "c:\users\honeywillrs\appdata\local\continuum\anaconda3\lib\site-packages\hydra_server\__init__.py", line 36, in <module>
    import spyne
  File "c:\users\honeywillrs\appdata\local\continuum\anaconda3\lib\site-packages\spyne\__init__.py", line 63, in <module>
    from spyne.server import ServerBase, NullServer
  File "c:\users\honeywillrs\appdata\local\continuum\anaconda3\lib\site-packages\spyne\server\__init__.py", line 23, in <module>
    from spyne.server.null import NullServer
  File "c:\users\honeywillrs\appdata\local\continuum\anaconda3\lib\site-packages\spyne\server\null.py", line 69
    self.service = _FunctionProxy(self, self.app, async=False)
                                                      ^
SyntaxError: invalid syntax

Using the version at git://github.com/arskom/spyne.git@spyne-2.13.2-alpha#egg=spyne as suggested by @knoxsp fixes this problem, but another issue manifests itself:

Traceback (most recent call last):
  File "c:\users\honeywillrs\appdata\local\continuum\anaconda3\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\honeywillrs\appdata\local\continuum\anaconda3\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\honeywillrs\AppData\Local\Continuum\anaconda3\Scripts\hydra-server.exe\__main__.py", line 5, in <module>
  File "c:\users\honeywillrs\appdata\local\continuum\anaconda3\lib\site-packages\hydra_server\__init__.py", line 71, in <module>
    from hydra_base.db import connect
  File "c:\users\honeywillrs\appdata\local\continuum\anaconda3\lib\site-packages\hydra_base\__init__.py", line 27, in <module>
    config.load_config()
  File "c:\users\honeywillrs\appdata\local\continuum\anaconda3\lib\site-packages\hydra_base\config.py", line 79, in load_config
    import winpaths
ModuleNotFoundError: No module named 'winpaths'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions