← 输入框|github.com|刷新
Skip to content

ImportError: System.NotImplementedException: No support for armv7l #873

Closed

Description

@bimajatiwijaya

Environment

  • Pythonnet version:
    • 2.4.0 & 2.4.1.dev0
  • Python version: 2.7.9
  • Operating System: Raspbian GNU/Linux 8 (jessie)

Details

    import clr
    clr.AddReference("myLib")
  • Traceback (most recent call last):

import clr
File "", line 1, in
ImportError: System.NotImplementedException: No support for armv7l
at Python.Runtime.TypeManager+NativeCode.get_Active () [0x0002a] in <9666540cfc85422bb7aded792ea4f880>:0
at Python.Runtime.TypeManager.InitializeNativeCodePage () [0x00017] in <9666540cfc85422bb7aded792ea4f880>:0
at Python.Runtime.TypeManager.InitializeSlots (System.IntPtr type, System.Type impl) [0x000ad] in <9666540cfc85422bb7aded792ea4f880>:0
at Python.Runtime.TypeManager.CreateMetaType (System.Type impl) [0x00077] in <9666540cfc85422bb7aded792ea4f880>:0
at Python.Runtime.MetaType.Initialize () [0x00000] in <9666540cfc85422bb7aded792ea4f880>:0
at Python.Runtime.Runtime.Initialize (System.Boolean initSigs) [0x002a2] in <9666540cfc85422bb7aded792ea4f880>:0
at Python.Runtime.PythonEngine.Initialize (System.Collections.Generic.IEnumerable`1[T] args, System.Boolean setSysArgv, System.Boolean initSigs) [0x00014] in <9666540cfc85422bb7aded792ea4f880>:0
at Python.Runtime.PythonEngine.Initialize (System.Boolean setSysArgv, System.Boolean initSigs) [0x00005] in <9666540cfc85422bb7aded792ea4f880>:0
at Python.Runtime.PythonEngine.InitExt () [0x00000] in <9666540cfc85422bb7aded792ea4f880>:0

Activity

  1. bimajatiwijaya commented on May 28, 2019

    @bimajatiwijaya
    Author

    For now i reset commit to 6d68d70 and error message "No support for armv7l" is solved.

  2. maurice1103 commented on Jun 18, 2019

    @maurice1103

    Can you probably explain to me (with the command line commands) how you solved it? I tried it yesterday for several hours and failed miserably...

  3. maurice1103 commented on Jun 18, 2019

    @maurice1103

    Environment

    • Pythonnet version: 2.4.0
    • Python version: 2.7.13
    • Operating System: Raspbian GNU/Linux 9.9 (stretch)

    Details

        import clr
    • Python 2.7.13 (default, Sep 26 2018, 18:42:22)
      [GCC 6.3.0 20170516] on linux2
      Type "help", "copyright", "credits" or "license" for more information.

    import clr
    sh: 0: getcwd() failed: No such file or directory
    Traceback (most recent call last):
    File "", line 1, in
    ImportError: System.NotImplementedException: No support for armv7l
    at Python.Runtime.TypeManager+NativeCode.get_Active () [0x0002a] in <3c181e2b216e4da7b915e672de4e00f2>:0
    at Python.Runtime.TypeManager.InitializeNativeCodePage () [0x00017] in <3c181e2b216e4da7b915e672de4e00f2>:0
    at Python.Runtime.TypeManager.InitializeSlots (System.IntPtr type, System.Type impl) [0x000ad] in <3c181e2b216e4da7b915e672de4e00f2>:0
    at Python.Runtime.TypeManager.CreateMetaType (System.Type impl) [0x00077] in <3c181e2b216e4da7b915e672de4e00f2>:0
    at Python.Runtime.MetaType.Initialize () [0x00000] in <3c181e2b216e4da7b915e672de4e00f2>:0
    at Python.Runtime.Runtime.Initialize (System.Boolean initSigs) [0x002a2] in <3c181e2b216e4da7b915e672de4e00f2>:0
    at Python.Runtime.PythonEngine.Initialize (System.Collections.Generic.IEnumerable`1[T] args, System.Boolean setSysArgv, System.Boolean initSigs) [0x00014] in <3c181e2b216e4da7b915e672de4e00f2>:0
    at Python.Runtime.PythonEngine.Initialize (System.Boolean setSysArgv, System.Boolean initSigs) [0x00005] in <3c181e2b216e4da7b915e672de4e00f2>:0
    at Python.Runtime.PythonEngine.InitExt () [0x00000] in <3c181e2b216e4da7b915e672de4e00f2>:0

  4. bimajatiwijaya commented on Jun 19, 2019

    @bimajatiwijaya
    Author
    1. uninstall pythonnet
    2. clone to /home/user/pythonnet
    3. cd /home/user/pythonnet
    4. git reset --hard 6d68d70
    5. Then install it
  5. maurice1103 commented on Jun 19, 2019

    @maurice1103

    thx a lot for your help but im still getting the same error....
    Is probabla still something wrong with my .whl file?
    Pythonnet.zip

  6. bimajatiwijaya commented on Jun 20, 2019

    @bimajatiwijaya
    Author

    @maurice1103 we have different environment python version & OS version please try to make it equal.

  7. filmor commented on Jun 20, 2019

    @filmor
    Member

    The problematic PR is #752, I have created a pull request for this but have right now no easy way of testing it. Could you both check whether it works for you with

    pip install git+https://github.com/filmor/pythonnet.git@support-arm
    

    ?

  8. filmor commented on Jun 24, 2019

    @filmor
    Member

    This should be fixed on master, please reopen if it isn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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