On 11/06/16 01:36, Jovany Leandro G.C wrote:
Hi, i started building package definition:
Hi there. [..]
Processing dependencies for odoo==9.0rc20160610 Searching for xlwt Reading https://pypi.python.org/simple/xlwt/ Download error on https://pypi.python.org/simple/xlwt/: [Errno -2] Name or service not known -- Some packages may not be found!
This appears to be the problem here. This means that you'll need to add "python2-xlwt" as an input of some kind (input/native-input/propagated-input) into the package definition. Unfortunately, xlwt has not yet been packaged for Guix, so that also needs to be added.
[..]
but if i do manually ~~~ $ guix environment -L$PWD odoo $ cd odoo-src $ python setup.py build $ python setup.py check ~~~ everything works, and download all requirements well *xlwt/simple*
This works because the environment has access to the internet and so can download it, or it is otherwise available on your system via PYTHONPATH or otherwise. I imagine running the same command with "--container" would not work. All packages are built without access to the system or the internet.
Hope that helps. Good luck. ben