Comments (2)
@iripoll Thank you so much for your report.
This is a limitation related to metacall that cannot run outside of metacall. This problem basically happens because once it's run outside metacall, it initializes two instances of python. The solution of this has been investigated and the proposal is to detect if it's being run under an existing runtime and then relink the loaders on the fly to the process instead of loading the loader with the libpython dependency.
Here is the issue described in more detail: #231
The same problem happens here with NodeJS: #31
I have investigated this in python and it happens also due to openssl but in this case is due to different versions of crypto library which have a dependency to openssl.
Our distributable mitigates the issue but it's not ideal, eventually we will solve this completely for all runtimes. We only need a bit of magic.
I am gonna keep the issue open so we can have more reference and cases where this happens for the future.
Meanwhile we also have an integration with Jupyter, anybody needs to run metacall on top of it: https://github.com/metacall/jupyter-kernel
from core.
This happened with me as well when importing metacall on a colab notebook.
from core.
Related Issues (20)
- segmentation fault HOT 2
- Issue with java tests in windows HOT 4
- unable to deploy once have package.json HOT 5
- Windows CI tests fail with Python on Release mode
- Review Windows Benchmark Issue and possible improvement of gh-pages HOT 6
- Sandbox Plugin System Design HOT 1
- /usr/local/lib/libnode_loader.so missing
- feat: Pass include directory for Python headers HOT 2
- [BUG] Cannot find `backward.hpp` on MacOS HOT 7
- Cannot load libnode on Windows [126 error] HOT 2
- CLI: Implement command support and review the architecture HOT 1
- Support MSYS2+Mingw64 on Windows
- Docker Multi Architecture Images HOT 2
- build failure with node loader: icu4c v72.x is too old, v73.x or later is required
- arm64 test build fail HOT 2
- Embed metacall with node loader inside an environment with v8 already in place HOT 1
- Metacall runtime.sh - small enhancement HOT 1
- Segmentation fault (core dumped): Potential deadlock detected in function_node_interface_invoke HOT 2
- Setup workflow dispatch in Actions for metacall/homebrew HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.