TimWhiting / dartpy

An experiment in embedding Python in Dart via dart ffi and the Python c-api
68 stars 10 forks source link

Implementing Dartpy #2

Closed mark-at-pieces closed 2 years ago

mark-at-pieces commented 2 years ago

Hi Tim!

Wanted to thank your for a super cool project! I was curious how you were about to get this file structure set up and functioning properly.

Screen Shot 2021-06-07 at 9 22 28 PM

I've tried to implement a bunch of solution but keep getting this error. Any way you could point me in the right direction on how you got this working the way you did?

Screen Shot 2021-06-07 at 9 29 17 PM

We were able to pull in the math module and extract pow, and that was amazing!! I feel we are super close!!

oh yeah, and in the screen shot is the path for windows python dynamic import :)

TimWhiting commented 2 years ago

What is your PYTHONPATH environment variable? It needs to include the lib/storage folder of your project

mark-at-pieces commented 2 years ago

Changing the path variable worked great! Thank you for your quick response!