Python3.4 error - Cannot enable executable stack as shared object requires: Invalid argument

前端 未结 4 1110
孤街浪徒
孤街浪徒 2020-12-31 16:36

I\'ve been trying to install OpenCV in a Bash on Windows (Windows Subsystem for Linux, wsl) environment and it\'s been proving very difficult.

I think I\'m getting v

4条回答
  •  余生分开走
    2020-12-31 16:53

    There are lots of things that simply don't work at the moment, because there are either unimplemented syscalls (WSL only has partial coverage, only about 70% of syscalls are implemented, some of them only partially), or missing socket modes and options (WSL does not yet support Unix datagram sockets, although it should be available in the next insider build).

    If you go to the github (BashOnWindows) and post an strace or search for your issue and find a copy of it, that's the best way to get an answer. The Microsoft team working on this project wants lots and lots of feedback and bugtesting.

    To be clear, I am saying that you are 100% running into something that isn't implemented yet. However, there might be a way, if you look at the sourcecode for your .so file to disable the part of the code that uses that syscall (since Python is crossplatform and not all Linux syscalls are supported across all *nix operating systems).

提交回复
热议问题