Skip to content
This repository was archived by the owner on Sep 14, 2018. It is now read-only.
This repository was archived by the owner on Sep 14, 2018. It is now read-only.

No module named google.protobuf.descriptor #1573

@radek673

Description

@radek673
  1. python 2.7.13 installed and pip install gmusicapi (all dependencies installed)
  2. IronPython 2.7.7 via nuget in visual studio 2015

I can use gmusicapi classes without problems when running python.exe and all is working properly.

When trying with IronPython from c#:

       var pyEngine = Python.CreateEngine();

        var paths = pyEngine.GetSearchPaths();
        paths.Add(@"c:\python27\lib");
        paths.Add(@"c:\python27\lib\site-packages");
        pyEngine.SetSearchPaths(paths);

        ScriptScope pyScope = pyEngine.CreateScope();

    pyEngine.Execute("import sys", pyScope);
        pyEngine.Execute("sys.platform = \"win32\"", pyScope);

        **// ERROR: No module named google.protobuf.descriptor
        pyEngine.Execute("from gmusicapi import Mobileclient", pyScope);**

Any help would be greatly appreciated !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions