GithubHelp home page GithubHelp logo

vipul-cariappa / py-lua Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 1.0 53 KB

Bridge between Python and Lua.

License: MIT License

C 77.45% Lua 12.30% Python 7.51% CMake 0.96% Dockerfile 1.78%
lua python pythonbinding luabinding

py-lua's Introduction

๐Ÿ’ซ About Me:

Info

๐Ÿ’ป Tech Stack:

C C++ Lua JavaScript Python Dart HTML5 Markdown Google Cloud Vercel Django FastAPI Flutter Qt Svelte MySQL

๐Ÿ“Š Stats:

Vipul Cariappa's GitHub stats

Vipul Cariappa's Most Used Languages

Vipul Cariappa's Wakatime Usage

๐ŸŒ Socials:

LinkedIn Medium Stack Overflow

py-lua's People

Contributors

vipul-cariappa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

py-lua's Issues

Can't Import some module

Describe the bug
The bug is i can't import some of modules. regular python module is ok some like os , sys or .. and i get results.

To Reproduce
I use your example and create two file one lua file one python file.

Expected behavior
I expected can handle all module on pylua.

System Environment (please complete the following information):

  • OS: linux Ubuntu 16.04
  • Python Version: 3.8
  • Lua Version: 5.3

Additional context
When i use to import asyncio i get error :

Python Traceback:
File "./test.py", line 1, in
  <module>
File "/usr/lib/python3.8/asyncio/__init__.py", line 8, in
  <module>
File "/usr/lib/python3.8/asyncio/base_events.py", line 40, in
  <module>
File "/usr/lib/python3.8/asyncio/events.py", line 14, in
  <module>
File "/usr/lib/python3.8/contextvars.py", line 1, in
  <module>

  ImportError('/usr/lib/python3.8/lib-dynload/_contextvars.cpython-38-x86_64-linux-gnu.so: undefined symbol: PyContext_Type')

stack traceback:
        [C]: in field 'PyLoad'
        test.lua:4: in main chunk
        [C]: in ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.