Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

cannot find package "grumpy/lib/io" #81

Open
bigcmos opened this issue Jan 9, 2017 · 3 comments
Open

cannot find package "grumpy/lib/io" #81

bigcmos opened this issue Jan 9, 2017 · 3 comments

Comments

@bigcmos
Copy link

bigcmos commented Jan 9, 2017

I am using the python io libraries to read and write files in py python script and I'm getting an erorr trying to import io. Below is a simplified version that demonstrates the error. Is the python io library supported?

$ echo "import io" | make run
/tmp/tmpdlxl4K.go:4:2: cannot find package "grumpy/lib/io" in any of:
/usr/local/go/src/grumpy/lib/io (from $GOROOT)
/opt/home/daden/dev/grumpy/build/src/grumpy/lib/io (from $GOPATH)
Makefile:78: recipe for target 'run' failed
make: *** [run] Error 1

@ns-cweber
Copy link
Contributor

ns-cweber commented Jan 9, 2017

No, io is not yet supported: https://github.com/google/grumpy/wiki/Missing-Features#standard-libraries

I'll update the README to link to this.

@bigcmos
Copy link
Author

bigcmos commented Jan 10, 2017

Is there a plan to support this library any time soon?

@trotterdylan
Copy link
Contributor

The PyPy version doesn't seem to have too many dependencies: https://bitbucket.org/pypy/pypy/src/17b03637ebc2fd9269f12a8aabb614440eabf7a9/lib-python/2.7/_pyio.py

It might not be that hard to port.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@trotterdylan @bigcmos @ns-cweber and others