yi@WangYis-iMac:/go/src/github.com/wangkuiyi/recordio (develop)$ docker run --rm -it -v $PWD:/work -w /work python:3.7 bash
root@bfe3eee65a9c:/work# l
bash: l: command not found
root@bfe3eee65a9c:/work# ls
LICENSE README.md chunk.go header.go python reader.go recordio_internal_test.go recordio_test.go writer.go
root@bfe3eee65a9c:/work# cd python
root@bfe3eee65a9c:/work/python# pip wheel
ERROR: You must give at least one requirement to wheel (see "pip help wheel")
You are using pip version 19.0.1, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
root@bfe3eee65a9c:/work/python# pip wheel .
Processing /work/python
Building wheels for collected packages: pyrecordio
Building wheel for pyrecordio (setup.py) ... error
Complete output from command /usr/local/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-req-build-s9286d0x/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-1ivepscx:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/recordio
copying recordio/recordio.py -> build/lib.linux-x86_64-3.7/recordio
copying recordio/__init__.py -> build/lib.linux-x86_64-3.7/recordio
running build_ext
$ GOPATH=/tmp/tmphuccuzu6 go get -d
error: [Errno 2] No such file or directory: 'go': 'go'
----------------------------------------
Failed building wheel for pyrecordio
Running setup.py clean for pyrecordio
Failed to build pyrecordio
ERROR: Failed to build one or more wheels
You are using pip version 19.0.1, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
It seems that we need to set the GOPATH environment or something?
It seems that we need to set the GOPATH environment or something?