Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alanjds opened this issue Aug 21, 2018 · 3 comments
Open

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

alanjds opened this issue Aug 21, 2018 · 3 comments
Labels
imported Imported from google/grumpy

Comments

@alanjds
Copy link

alanjds commented Aug 21, 2018

google#81 opened by @bigcmos on 9 Jan 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

@alanjds
Copy link
Author

alanjds commented Aug 21, 2018

Comment by ns-cweber
Monday Jan 09, 2017 at 22:49 GMT


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.

@alanjds
Copy link
Author

alanjds commented Aug 21, 2018

Comment by bigcmos
Tuesday Jan 10, 2017 at 02:27 GMT


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

@alanjds
Copy link
Author

alanjds commented Aug 21, 2018

Comment by trotterdylan
Tuesday Jan 10, 2017 at 03:45 GMT


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.

@alanjds alanjds added the imported Imported from google/grumpy label Aug 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
imported Imported from google/grumpy
Projects
None yet
Development

No branches or pull requests

1 participant