forked from alanjds/grumpy
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
from 'go/math' import Pi
print Pi
this works and output
grumpy run test.py
3.14159265359
but this not works
import "__go__/encoding/hex"
print hex.Dump('foobar')
output error
grumpy run test.py
/tmp/tmp8Y9Chn__pycache__/gopath/src/python/main/module.go:4:2: cannot find package "python/go/encoding/hex" in any of:
/usr/lib/go/src/python/go/encoding/hex (from $GOROOT)
/tmp/tmp8Y9Chn__pycache__/gopath/src/python/go/encoding/hex (from $GOPATH)
/home/user/.local/lib/python2.7/site-packages/grumpy_runtime/data/gopath/src/python/go/encoding/hex
Originally posted by @6umpukc-uHKBu3umop in #148 (comment)
Metadata
Metadata
Assignees
Labels
No labels