Closed drasko closed 8 years ago
I think its not a pip issue. Can you pls try to pass --allow-all-external. pip install ctypes --allow-all-external I dont have a board with me.
pip is broken - both for Paul and me. Different tests.
On Wed, Feb 4, 2015 at 10:48 PM, Nikola notifications@github.com wrote:
I think its not a pip issue. Can you pls try to pass --allow-all-external. pip install ctypes --allow-all-external I dont have a board with me.
— Reply to this email directly or view it on GitHub https://github.com/nodesign/weio/issues/132#issuecomment-72946711.
ok i will take a look.
Hi Drasko, I would like install pyephem pip package, but don't work :
cmd : pip install pyephem
My pip log :
Downloading/unpacking pyephem
Getting page https://pypi.python.org/simple/pyephem/ URLs to search for versions for pyephem:
https://pypi.python.org/simple/pyephem/ Analyzing links from page https://pypi.python.org/simple/pyephem/ Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.2.1-py2.4-linux-i686.egg#md5=da3a8f3bc7d02b1831a563ea861979bd (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.2.1-py2.4-win32.egg#md5=4d81c242db7bd9db1213de3d7ccfc02b (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.2.1.win32-py2.4.exe#md5=a3ae300a3843cd7f19a3f757a431c3d1 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.2.2-py2.4-linux-i686.egg#md5=9b2d18ae179be0f53a7c45037fb030cd (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.2.2-py2.4-win32.egg#md5=b1924cc8201f8e944bbec5181b4ab95a (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.2.2.win32-py2.4.exe#md5=88eb21c4a125d497aded00074623eacd (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.2.3-py2.4-linux-i686.egg#md5=b6d1e288f2293c90b6ac39460d73e5c9 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.2.3-py2.4-win32.egg#md5=72c72f23c55c9ca4659fa6b8e220da9e (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.2.3.win32-py2.4.exe#md5=605a914b29c07049e1d9e0c23e6d42c1 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.2.4-py2.4-linux-i686.egg#md5=e43338752961812bf842fe87c3d5d6d8 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.2.4-py2.4-win32.egg#md5=fd011bfc6bb2389d8f662a403df74a07 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.2.4.win32-py2.4.exe#md5=a56315f8742222da4eb054ea7e05df9f (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.2a-py2.4-linux-i686.egg#md5=c1f3c3abbc5e8c2fe0bb613050270bf5 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.3.1-py2.4-linux-i686.egg#md5=5517d83445bc7534a315e073e02f6b26 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.3.1-py2.4-win32.egg#md5=74c201c4737cbc91be6bd694c101f7d0 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.3.1.win32-py2.4.exe#md5=6e57a99a6ac9013bfcbf127d0c9f2209 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.3.2-py2.4-linux-i686.egg#md5=dc2a814b99c0df99da85c246fa7d4d6a (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.3.2-py2.4-win32.egg#md5=e02841590eb6aab52cd7a9f24a5f30c7 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.3.2.win32-py2.4.exe#md5=e60fc5ea3f805ecf4298a2ed40a4344f (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.3.3-py2.4-linux-i686.egg#md5=d095b42f578e399ff184ac7ccd7e744e (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.3.3-py2.4-win32.egg#md5=413f9bc8d99d3beca4e5620c8cc6ac09 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.3.3.win32-py2.4.exe#md5=5106ce1640836a85545f9aa5e79aa41a (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.3.4-py2.4-linux-i686.egg#md5=a025ea18b3bd85a4b5e87ec4bd23df2a (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.3.4-py2.4-win32.egg#md5=9afe871fd5bab90073f28506e65610d7 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.4/p/pyephem/pyephem-3.7.3.4.win32-py2.4.exe#md5=06dd43b7bd790d7979d0b2819d659d51 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.2.1-py2.5-linux-i686.egg#md5=bdd93885fc15bf594bc3fb741c4f02e9 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.2.1-py2.5-win32.egg#md5=51540c67c946f7e780428b1c5fa4f142 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.2.1.win32-py2.5.exe#md5=da5324dc1c19546a9c5b3f2a6524a7f6 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.2.2-py2.5-linux-i686.egg#md5=8eb7ee7d62578895efda38591d70d601 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.2.2-py2.5-win32.egg#md5=22bd19a6230c1d4853d101643d6d6f33 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.2.2.win32-py2.5.exe#md5=c13e36d162b68cc7d77806dc23de7cee (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.2.3-py2.5-linux-i686.egg#md5=2f3e60b4f40a4e778c3608c6de7a3851 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.2.3-py2.5-win32.egg#md5=1ff8333acd674abc6323b032db743f22 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.2.3.win32-py2.5.exe#md5=4c9ca36448caa1eaad4d20a0650a5e41 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.2.4-py2.5-linux-i686.egg#md5=0c603cdf3e22d597ec8d7e533eb6dfd4 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.2.4-py2.5-win32.egg#md5=391723b39ba4efd2c3394fdc3abe21df (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.2.4.win32-py2.5.exe#md5=ba3b7fae6e85a784ce0f51285fb50f03 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.2a-py2.5-linux-i686.egg#md5=85bcf927370fe2499e959586fdc9b7d7 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Found link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.2a.linux-i686.tar.gz#md5=72cac077814dac4aa7ea7e6787a3cad1 (from https://pypi.python.org/simple/pyephem/), version: 3.7.2a.linux-i686 Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.3.1-py2.5-linux-i686.egg#md5=66d011cf98482d951f55d1f89d50a846 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.3.1-py2.5-win32.egg#md5=c18158facb6f5e8f939cbb69a1e275c6 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.3.1.win32-py2.5.exe#md5=df6559f7e35e362ba2696f59a9a2b6f3 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.3.2-py2.5-linux-i686.egg#md5=eee71645b6b101c24ff56309281d7e4f (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.3.2-py2.5-win32.egg#md5=986bd7115ed3432701ddeceecdeaa4ef (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.3.2.win32-py2.5.exe#md5=16f0d4f14bccdf2f94b9fcf6a46441e8 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.3.3-py2.5-linux-i686.egg#md5=6c5cfcf3798223e5aa8a7d4d6cdc01c2 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.3.3-py2.5-win32.egg#md5=56860e130aaf279a2e58d5c769ac914d (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.3.3.win32-py2.5.exe#md5=5a2a804caa801b4b0a4c25f30287f974 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.3.4-py2.5-linux-i686.egg#md5=67ce665017c79dfe56ad1581d95e85d1 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.3.4-py2.5-win32.egg#md5=dc1f9d40b2c818479c44780acb659779 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.3.4.win32-py2.5.exe#md5=3c5a518d9adca995b9bb7e3a90a26e0e (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.6/p/pyephem/pyephem-3.7.3.4-py2.6-linux-i686.egg#md5=70063c972e6457f264f38a863eef98e1 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.6/p/pyephem/pyephem-3.7.3.4-py2.6-win32.egg#md5=cc692962962ce5123f7a19a86fed4e08 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .egg Skipping link https://pypi.python.org/packages/2.6/p/pyephem/pyephem-3.7.3.4.win32-py2.6.exe#md5=a0777c05a15a1b226b5f15173b1a15d5 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.6/p/pyephem/pyephem-3.7.4.1.win32-py2.6.exe#md5=d81269417efb45c18308fe4aaa79d0c6 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.6/p/pyephem/pyephem-3.7.5.1.win32-py2.6.exe#md5=09622a91b930aae1a7899bf0b73f9b9d (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.6/p/pyephem/pyephem-3.7.5.2.win32-py2.6.exe#md5=45bededc88b4615445ef60be89f5fa4f (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.6/p/pyephem/pyephem-3.7.5.3.win-amd64-py2.6.exe#md5=5b9e6dbbf88e0639269b40cb7db105a9 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.6/p/pyephem/pyephem-3.7.5.3.win32-py2.6.exe#md5=eb516ab41bfaf121816dfd9e28780fce (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.7/p/pyephem/pyephem-3.7.4.1.win32-py2.7.exe#md5=7352116bfc28491ff048dbf94f47ffb6 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.7/p/pyephem/pyephem-3.7.5.1.win32-py2.7.exe#md5=a15e1050b00e23398a44f1d4295c774c (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.7/p/pyephem/pyephem-3.7.5.2.win32-py2.7.exe#md5=e6004882fd9e37ac4c6361e881ce7f99 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.7/p/pyephem/pyephem-3.7.5.3.win-amd64-py2.7.exe#md5=441ce7b02de17a20228156dfc5e4255e (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/2.7/p/pyephem/pyephem-3.7.5.3.win32-py2.7.exe#md5=9e586fd90435c9f0f26c6b151c3d7944 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.2/p/pyephem/pyephem-3.7.5.3.win-amd64-py3.2.exe#md5=27559badae9ef2b340d7a73bd6e2bb58 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.2/p/pyephem/pyephem-3.7.5.3.win32-py3.2.exe#md5=2d1bbd49d351d15bf9baa89c23e777a6 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.3/p/pyephem/pyephem-3.7.5.3.win-amd64-py3.3.exe#md5=eab5fde7dbcef2fb53d0cc6f08f0e83a (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.3/p/pyephem/pyephem-3.7.5.3.win32-py3.3.exe#md5=4cc993a55216793d1c0bcefdb57a2a31 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.4/p/pyephem/pyephem-3.7.5.3.win-amd64-py3.4.exe#md5=6f2cc27f7b760bb51e656a09287fe47b (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Skipping link https://pypi.python.org/packages/3.4/p/pyephem/pyephem-3.7.5.3.win32-py3.4.exe#md5=e73a944f0545e42639883701d8b68634 (from https://pypi.python.org/simple/pyephem/); unknown archive format: .exe Found link https://pypi.python.org/packages/source/p/pyephem/pyephem-3.7.2.1.tar.gz#md5=5af384378c12cb9b089c1878a05b8d47 (from https://pypi.python.org/simple/pyephem/), version: 3.7.2.1 Found link https://pypi.python.org/packages/source/p/pyephem/pyephem-3.7.2.2.tar.gz#md5=7f6b7ace54f86306f4f01c5090d663e5 (from https://pypi.python.org/simple/pyephem/), version: 3.7.2.2 Found link https://pypi.python.org/packages/source/p/pyephem/pyephem-3.7.2.3.tar.gz#md5=26aec22459eb0dab2632dd6622fd60c6 (from https://pypi.python.org/simple/pyephem/), version: 3.7.2.3 Found link https://pypi.python.org/packages/source/p/pyephem/pyephem-3.7.2.4.tar.gz#md5=cb2932f8d9074a8a90e2af869940a0ee (from https://pypi.python.org/simple/pyephem/), version: 3.7.2.4 Found link https://pypi.python.org/packages/source/p/pyephem/pyephem-3.7.2a.tar.gz#md5=e0b959ab69cdaaa36df8cfdbaf08b543 (from https://pypi.python.org/simple/pyephem/), version: 3.7.2a Found link https://pypi.python.org/packages/source/p/pyephem/pyephem-3.7.3.1.tar.gz#md5=c49b5b0973d172526c70e196cf382565 (from https://pypi.python.org/simple/pyephem/), version: 3.7.3.1 Found link https://pypi.python.org/packages/source/p/pyephem/pyephem-3.7.3.2.tar.gz#md5=abed0d829a650dd8fae98493845f840c (from https://pypi.python.org/simple/pyephem/), version: 3.7.3.2 Found link https://pypi.python.org/packages/source/p/pyephem/pyephem-3.7.3.3.tar.gz#md5=1e13d951bd46b98476d888bf6e1a06fa (from https://pypi.python.org/simple/pyephem/), version: 3.7.3.3 Found link https://pypi.python.org/packages/source/p/pyephem/pyephem-3.7.3.4.tar.gz#md5=de66c221a740ceb2e28056240d895011 (from https://pypi.python.org/simple/pyephem/), version: 3.7.3.4 Found link https://pypi.python.org/packages/source/p/pyephem/pyephem-3.7.4.1.tar.gz#md5=c621c51e09fee452c6e397e9dc2bf499 (from https://pypi.python.org/simple/pyephem/), version: 3.7.4.1 Found link https://pypi.python.org/packages/source/p/pyephem/pyephem-3.7.5.1.tar.gz#md5=4b08475dee615e5dfdc6fa7f66086944 (from https://pypi.python.org/simple/pyephem/), version: 3.7.5.1 Found link https://pypi.python.org/packages/source/p/pyephem/pyephem-3.7.5.2.tar.gz#md5=b146a080d97618ca40e4e52b9b2ee814 (from https://pypi.python.org/simple/pyephem/), version: 3.7.5.2 Found link https://pypi.python.org/packages/source/p/pyephem/pyephem-3.7.5.3.tar.gz#md5=46b101da152bb109b1137263b150f390 (from https://pypi.python.org/simple/pyephem/), version: 3.7.5.3 Ignoring link https://pypi.python.org/packages/2.5/p/pyephem/pyephem-3.7.2a.linux-i686.tar.gz#md5=72cac077814dac4aa7ea7e6787a3cad1 (from https://pypi.python.org/simple/pyephem/), version 3.7.2a.linux-i686 is a pre-release (use --pre to allow). Ignoring link https://pypi.python.org/packages/source/p/pyephem/pyephem-3.7.2a.tar.gz#md5=e0b959ab69cdaaa36df8cfdbaf08b543 (from https://pypi.python.org/simple/pyephem/), version 3.7.2a is a pre-release (use --pre to allow). Using version 3.7.5.3 (newest of versions: 3.7.5.3, 3.7.5.2, 3.7.5.1, 3.7.4.1, 3.7.3.4, 3.7.3.3, 3.7.3.2, 3.7.3.1, 3.7.2.4, 3.7.2.3, 3.7.2.2, 3.7.2.1) Downloading from URL https://pypi.python.org/packages/source/p/pyephem/pyephem-3.7.5.3.tar.gz#md5=46b101da152bb109b1137263b150f390 (from https://pypi.python.org/simple/pyephem/) Running setup.py egg_info for package pyephem
running egg_info creating pip-egg-info/pyephem.egg-info writing pip-egg-info/pyephem.egg-info/PKG-INFO writing top-level names to pip-egg-info/pyephem.egg-info/top_level.txt writing dependency_links to pip-egg-info/pyephem.egg-info/dependency_links.txt writing manifest file 'pip-egg-info/pyephem.egg-info/SOURCES.txt' warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info/pyephem.egg-info/SOURCES.txt' writing manifest file 'pip-egg-info/pyephem.egg-info/SOURCES.txt' Source in /tmp/pip_build_root/pyephem has version 3.7.5.3, which satisfies requirement pyephem Installing collected packages: pyephem
Running setup.py install for pyephem
Running command /usr/bin/python2.7 -c "import setuptools;file='/tmp/pip_build_root/pyephem/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-WFvZOT-record/install-record.txt --single-version-externally-managed running install running build running build_py creating build creating build/lib.linux-mips-2.7 creating build/lib.linux-mips-2.7/ephem copying ephem/cities.py -> build/lib.linux-mips-2.7/ephem copying ephem/init.py -> build/lib.linux-mips-2.7/ephem copying ephem/stars.py -> build/lib.linux-mips-2.7/ephem creating build/lib.linux-mips-2.7/ephem/tests copying ephem/tests/test_usno.py -> build/lib.linux-mips-2.7/ephem/tests copying ephem/tests/test_dates.py -> build/lib.linux-mips-2.7/ephem/tests copying ephem/tests/test_stars.py -> build/lib.linux-mips-2.7/ephem/tests copying ephem/tests/test_launchpad_244811.py -> build/lib.linux-mips-2.7/ephem/tests copying ephem/tests/test_github_issues.py -> build/lib.linux-mips-2.7/ephem/tests copying ephem/tests/init.py -> build/lib.linux-mips-2.7/ephem/tests copying ephem/tests/test_satellite.py -> build/lib.linux-mips-2.7/ephem/tests copying ephem/tests/test_usno_equinoxes.py -> build/lib.linux-mips-2.7/ephem/tests copying ephem/tests/test_rst.py -> build/lib.linux-mips-2.7/ephem/tests copying ephem/tests/test_constants.py -> build/lib.linux-mips-2.7/ephem/tests copying ephem/tests/test_bodies.py -> build/lib.linux-mips-2.7/ephem/tests copying ephem/tests/test_jpl.py -> build/lib.linux-mips-2.7/ephem/tests copying ephem/tests/test_launchpad_236872.py -> build/lib.linux-mips-2.7/ephem/tests copying ephem/tests/test_cities.py -> build/lib.linux-mips-2.7/ephem/tests copying ephem/tests/test_locales.py -> build/lib.linux-mips-2.7/ephem/tests copying ephem/tests/test_observers.py -> build/lib.linux-mips-2.7/ephem/tests copying ephem/tests/test_angles.py -> build/lib.linux-mips-2.7/ephem/tests creating build/lib.linux-mips-2.7/ephem/doc copying ephem/doc/quick.rst -> build/lib.linux-mips-2.7/ephem/doc copying ephem/doc/examples.rst -> build/lib.linux-mips-2.7/ephem/doc copying ephem/doc/radec.rst -> build/lib.linux-mips-2.7/ephem/doc copying ephem/doc/index.rst -> build/lib.linux-mips-2.7/ephem/doc copying ephem/doc/newton.rst -> build/lib.linux-mips-2.7/ephem/doc copying ephem/doc/coordinates.rst -> build/lib.linux-mips-2.7/ephem/doc copying ephem/doc/rise-set.rst -> build/lib.linux-mips-2.7/ephem/doc copying ephem/doc/date.rst -> build/lib.linux-mips-2.7/ephem/doc copying ephem/doc/catalogs.rst -> build/lib.linux-mips-2.7/ephem/doc copying ephem/doc/angle.rst -> build/lib.linux-mips-2.7/ephem/doc copying ephem/doc/reference.rst -> build/lib.linux-mips-2.7/ephem/doc copying ephem/doc/tutorial.rst -> build/lib.linux-mips-2.7/ephem/doc copying ephem/doc/CHANGELOG.rst -> build/lib.linux-mips-2.7/ephem/doc copying ephem/doc/faq.rst -> build/lib.linux-mips-2.7/ephem/doc creating build/lib.linux-mips-2.7/ephem/tests/jpl copying ephem/tests/jpl/oberon.txt -> build/lib.linux-mips-2.7/ephem/tests/jpl copying ephem/tests/jpl/uranus.txt -> build/lib.linux-mips-2.7/ephem/tests/jpl copying ephem/tests/jpl/saturn.txt -> build/lib.linux-mips-2.7/ephem/tests/jpl copying ephem/tests/jpl/neptune.txt -> build/lib.linux-mips-2.7/ephem/tests/jpl copying ephem/tests/jpl/jupiter.txt -> build/lib.linux-mips-2.7/ephem/tests/jpl copying ephem/tests/jpl/phobos.txt -> build/lib.linux-mips-2.7/ephem/tests/jpl copying ephem/tests/jpl/europa.txt -> build/lib.linux-mips-2.7/ephem/tests/jpl copying ephem/tests/jpl/hyperion.txt -> build/lib.linux-mips-2.7/ephem/tests/jpl copying ephem/tests/jpl/mars.txt -> build/lib.linux-mips-2.7/ephem/tests/jpl creating build/lib.linux-mips-2.7/ephem/tests/usno copying ephem/tests/usno/astrom_mercury.txt -> build/lib.linux-mips-2.7/ephem/tests/usno copying ephem/tests/usno/moon_phases.txt -> build/lib.linux-mips-2.7/ephem/tests/usno copying ephem/tests/usno/riset_sun.txt -> build/lib.linux-mips-2.7/ephem/tests/usno copying ephem/tests/usno/appgeo_moon.txt -> build/lib.linux-mips-2.7/ephem/tests/usno copying ephem/tests/usno/risettran_rigel.txt -> build/lib.linux-mips-2.7/ephem/tests/usno copying ephem/tests/usno/apptopo_moon.txt -> build/lib.linux-mips-2.7/ephem/tests/usno copying ephem/tests/usno/apptopo_deneb.txt -> build/lib.linux-mips-2.7/ephem/tests/usno copying ephem/tests/usno/astrom_antares.txt -> build/lib.linux-mips-2.7/ephem/tests/usno copying ephem/tests/usno/riset_moon.txt -> build/lib.linux-mips-2.7/ephem/tests/usno copying ephem/tests/usno/appgeo_deneb.txt -> build/lib.linux-mips-2.7/ephem/tests/usno copying ephem/tests/usno/risettran_moon.txt -> build/lib.linux-mips-2.7/ephem/tests/usno copying ephem/tests/usno/appgeo_sun.txt -> build/lib.linux-mips-2.7/ephem/tests/usno copying ephem/tests/usno/astrom_neptune.txt -> build/lib.linux-mips-2.7/ephem/tests/usno copying ephem/tests/usno/apptopo_sun.txt -> build/lib.linux-mips-2.7/ephem/tests/usno copying ephem/tests/usno/appgeo_jupiter.txt -> build/lib.linux-mips-2.7/ephem/tests/usno running build_ext building 'ephem._libastro' extension
creating build/temp.linux-mips-2.7 creating build/temp.linux-mips-2.7/extensions creating build/temp.linux-mips-2.7/libastro-3.7.5 creating build/temp.linux-mips-2.7/extensions/data mips-openwrt-linux-uclibc-gcc -fno-strict-aliasing -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -DNDEBUG -fno-inline -DNDEBUG -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fPIC -Ilibastro-3.7.5 -I/usr/include/python2.7 -c extensions/_libastro.c -o build/temp.linux-mips-2.7/extensions/_libastro.o
unable to execute 'mips-openwrt-linux-uclibc-gcc': No such file or directory
error: command 'mips-openwrt-linux-uclibc-gcc' failed with exit status 1
Complete output from command /usr/bin/python2.7 -c "import setuptools;file='/tmp/pip_build_root/pyephem/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-WFvZOT-record/install-record.txt --single-version-externally-managed:
running install
running build
running build_py
creating build
creating build/lib.linux-mips-2.7
creating build/lib.linux-mips-2.7/ephem
copying ephem/cities.py -> build/lib.linux-mips-2.7/ephem
copying ephem/init.py -> build/lib.linux-mips-2.7/ephem
copying ephem/stars.py -> build/lib.linux-mips-2.7/ephem
creating build/lib.linux-mips-2.7/ephem/tests
copying ephem/tests/test_usno.py -> build/lib.linux-mips-2.7/ephem/tests
copying ephem/tests/test_dates.py -> build/lib.linux-mips-2.7/ephem/tests
copying ephem/tests/test_stars.py -> build/lib.linux-mips-2.7/ephem/tests
copying ephem/tests/test_launchpad_244811.py -> build/lib.linux-mips-2.7/ephem/tests
copying ephem/tests/test_github_issues.py -> build/lib.linux-mips-2.7/ephem/tests
copying ephem/tests/init.py -> build/lib.linux-mips-2.7/ephem/tests
copying ephem/tests/test_satellite.py -> build/lib.linux-mips-2.7/ephem/tests
copying ephem/tests/test_usno_equinoxes.py -> build/lib.linux-mips-2.7/ephem/tests
copying ephem/tests/test_rst.py -> build/lib.linux-mips-2.7/ephem/tests
copying ephem/tests/test_constants.py -> build/lib.linux-mips-2.7/ephem/tests
copying ephem/tests/test_bodies.py -> build/lib.linux-mips-2.7/ephem/tests
copying ephem/tests/test_jpl.py -> build/lib.linux-mips-2.7/ephem/tests
copying ephem/tests/test_launchpad_236872.py -> build/lib.linux-mips-2.7/ephem/tests
copying ephem/tests/test_cities.py -> build/lib.linux-mips-2.7/ephem/tests
copying ephem/tests/test_locales.py -> build/lib.linux-mips-2.7/ephem/tests
copying ephem/tests/test_observers.py -> build/lib.linux-mips-2.7/ephem/tests
copying ephem/tests/test_angles.py -> build/lib.linux-mips-2.7/ephem/tests
creating build/lib.linux-mips-2.7/ephem/doc
copying ephem/doc/quick.rst -> build/lib.linux-mips-2.7/ephem/doc
copying ephem/doc/examples.rst -> build/lib.linux-mips-2.7/ephem/doc
copying ephem/doc/radec.rst -> build/lib.linux-mips-2.7/ephem/doc
copying ephem/doc/index.rst -> build/lib.linux-mips-2.7/ephem/doc
copying ephem/doc/newton.rst -> build/lib.linux-mips-2.7/ephem/doc
copying ephem/doc/coordinates.rst -> build/lib.linux-mips-2.7/ephem/doc
copying ephem/doc/rise-set.rst -> build/lib.linux-mips-2.7/ephem/doc
copying ephem/doc/date.rst -> build/lib.linux-mips-2.7/ephem/doc
copying ephem/doc/catalogs.rst -> build/lib.linux-mips-2.7/ephem/doc
copying ephem/doc/angle.rst -> build/lib.linux-mips-2.7/ephem/doc
copying ephem/doc/reference.rst -> build/lib.linux-mips-2.7/ephem/doc
copying ephem/doc/tutorial.rst -> build/lib.linux-mips-2.7/ephem/doc
copying ephem/doc/CHANGELOG.rst -> build/lib.linux-mips-2.7/ephem/doc
copying ephem/doc/faq.rst -> build/lib.linux-mips-2.7/ephem/doc
creating build/lib.linux-mips-2.7/ephem/tests/jpl
copying ephem/tests/jpl/oberon.txt -> build/lib.linux-mips-2.7/ephem/tests/jpl
copying ephem/tests/jpl/uranus.txt -> build/lib.linux-mips-2.7/ephem/tests/jpl
copying ephem/tests/jpl/saturn.txt -> build/lib.linux-mips-2.7/ephem/tests/jpl
copying ephem/tests/jpl/neptune.txt -> build/lib.linux-mips-2.7/ephem/tests/jpl
copying ephem/tests/jpl/jupiter.txt -> build/lib.linux-mips-2.7/ephem/tests/jpl
copying ephem/tests/jpl/phobos.txt -> build/lib.linux-mips-2.7/ephem/tests/jpl
copying ephem/tests/jpl/europa.txt -> build/lib.linux-mips-2.7/ephem/tests/jpl
copying ephem/tests/jpl/hyperion.txt -> build/lib.linux-mips-2.7/ephem/tests/jpl
copying ephem/tests/jpl/mars.txt -> build/lib.linux-mips-2.7/ephem/tests/jpl
creating build/lib.linux-mips-2.7/ephem/tests/usno
copying ephem/tests/usno/astrom_mercury.txt -> build/lib.linux-mips-2.7/ephem/tests/usno
copying ephem/tests/usno/moon_phases.txt -> build/lib.linux-mips-2.7/ephem/tests/usno
copying ephem/tests/usno/riset_sun.txt -> build/lib.linux-mips-2.7/ephem/tests/usno
copying ephem/tests/usno/appgeo_moon.txt -> build/lib.linux-mips-2.7/ephem/tests/usno
copying ephem/tests/usno/risettran_rigel.txt -> build/lib.linux-mips-2.7/ephem/tests/usno
copying ephem/tests/usno/apptopo_moon.txt -> build/lib.linux-mips-2.7/ephem/tests/usno
copying ephem/tests/usno/apptopo_deneb.txt -> build/lib.linux-mips-2.7/ephem/tests/usno
copying ephem/tests/usno/astrom_antares.txt -> build/lib.linux-mips-2.7/ephem/tests/usno
copying ephem/tests/usno/riset_moon.txt -> build/lib.linux-mips-2.7/ephem/tests/usno
copying ephem/tests/usno/appgeo_deneb.txt -> build/lib.linux-mips-2.7/ephem/tests/usno
copying ephem/tests/usno/risettran_moon.txt -> build/lib.linux-mips-2.7/ephem/tests/usno
copying ephem/tests/usno/appgeo_sun.txt -> build/lib.linux-mips-2.7/ephem/tests/usno
copying ephem/tests/usno/astrom_neptune.txt -> build/lib.linux-mips-2.7/ephem/tests/usno
copying ephem/tests/usno/apptopo_sun.txt -> build/lib.linux-mips-2.7/ephem/tests/usno
copying ephem/tests/usno/appgeo_jupiter.txt -> build/lib.linux-mips-2.7/ephem/tests/usno
running build_ext
building 'ephem._libastro' extension
creating build/temp.linux-mips-2.7
creating build/temp.linux-mips-2.7/extensions
creating build/temp.linux-mips-2.7/libastro-3.7.5
creating build/temp.linux-mips-2.7/extensions/data
mips-openwrt-linux-uclibc-gcc -fno-strict-aliasing -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -DNDEBUG -fno-inline -DNDEBUG -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fPIC -Ilibastro-3.7.5 -I/usr/include/python2.7 -c extensions/_libastro.c -o build/temp.linux-mips-2.7/extensions/_libastro.o
unable to execute 'mips-openwrt-linux-uclibc-gcc': No such file or directory
error: command 'mips-openwrt-linux-uclibc-gcc' failed with exit status 1
Cleaning up...
Removing temporary dir /tmp/pip_build_root... Command /usr/bin/python2.7 -c "import setuptools;file='/tmp/pip_build_root/pyephem/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-WFvZOT-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip_build_root/pyephem
Exception information: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/basecommand.py", line 134, in main status = self.run(options, args) File "/usr/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/commands/install.py", line 241, in run requirement_set.install(install_options, global_options, root=options.root_path) File "/usr/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/req.py", line 1298, in install requirement.install(install_options, global_options, _args, *_kwargs) File "/usr/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/req.py", line 625, in install cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False) File "/usr/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/util.py", line 670, in call_subprocess % (command_desc, proc.returncode, cwd)) InstallationError: Command /usr/bin/python2.7 -c "import setuptools;file='/tmp/pip_build_root/pyephem/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-WFvZOT-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip_build_root/pyephem
I tested with option "--allow-all-external" and it's same error.
hello, The problem is not in pip but in the module that needs to be cross compiled. Pyephem module is not pure Python, it's mixed with some code that was written in C so needs to be compiled. As WeIO is embedded linux platform with limited ressources we don't have compiler tools installed in it so the solution is to cross compile your module on the pc before installing it. Let us try to cross compile this package because we will need this experience in the future...
Ok, I await your cross compilation. But how are you to automate the compilation OpenWRT in WEIO?
OpenWrt cross-compiles it's packages using modified buildroot( http://buildroot.uclibc.org/). WeIO has only 16MB flash to hold LInux, rootfs with Python and user-space applications - is an embedded machine (not a little PC like RPi). Gcc is big piece of code, and practically impossible to put in so little space. That's why OpenWrt doe not provide support for holding the complier on PC.
The easiest case for using pip
and other Python installation is when we
have pure Python packages. Then it just works.
When we have to cross-complie, we have to use something like this: http://wiki.openwrt.org/doc/devel/packages, then cross-comple package, put it on the board and install it using opkg.
This is the biggest levelof automation that we can have (there is no other possibility for non-pure Python packages). This is how OpenWrt works.
On Sun, Mar 1, 2015 at 11:30 AM, Sébastien Joly notifications@github.com wrote:
Ok, I await your cross compilation. But how are you to automate the compilation OpenWRT in WEIO?
— Reply to this email directly or view it on GitHub https://github.com/nodesign/weio/issues/132#issuecomment-76591179.
Ok I understand. I bought the WEIO for a solar tracking specific project and measures of insolation with this package pyephem. It is the basis of my development. I'll go back to a Raspberry PI. I'll find another project for WEIO.
We have to take a look at pyephem - maybe it is not so difficult to port.
On Sun, Mar 1, 2015 at 12:10 PM, Sébastien Joly notifications@github.com wrote:
Ok I understand. I bought the WEIO for a solar tracking specific project and measures of insolation with this package pyephem. It is the basis of my development. I'll go back to a Raspberry PI. I'll find another project for WEIO.
— Reply to this email directly or view it on GitHub https://github.com/nodesign/weio/issues/132#issuecomment-76592350.
@captainigloo upon your special request ;) we have crafted a nice script to cross-compile Python packages more easily. Please find the doc here: https://github.com/nodesign/weioWiki/wiki/Cross-Compiling-Py
Now, this might be a little tedious because one must compile OpenWrt first to have cross-compiler.
That's why I propose that we create a repo where we can keep .egg files for WeIO that users request/contribute, so that they can just download them and install directly.
We'll re-post as soon as we have such a doc.
Looks like new OpenWrt version will resolve this one.
Chaos Calmer fix the problem. pip dependancies must be installed that way : opkg install python-xml python-distutils
And here's the result with python-twitter :
root@WEIO:/# pip install python-twitter
Downloading/unpacking python-twitter
Downloading python-twitter-2.2.tar.gz (66kB): 66kB downloaded
Running setup.py egg_info for package python-twitter
no previously-included directories found matching '.DS_Store'
Downloading/unpacking requests (from python-twitter)
Downloading requests-2.8.1.tar.gz (480kB): 480kB downloaded
Running setup.py egg_info for package requests
Downloading/unpacking requests-oauthlib (from python-twitter)
Downloading requests-oauthlib-0.5.0.tar.gz (54kB): 54kB downloaded
Running setup.py egg_info for package requests-oauthlib
Downloading/unpacking oauthlib>=0.6.2 (from requests-oauthlib->python-twitter)
Downloading oauthlib-1.0.3.tar.gz (109kB): 109kB downloaded
Running setup.py egg_info for package oauthlib
Installing collected packages: python-twitter, requests, requests-oauthlib, oauthlib
Running setup.py install for python-twitter
warning: build_py: byte-compiling is disabled, skipping.
warning: install_lib: byte-compiling is disabled, skipping.
no previously-included directories found matching '.DS_Store'
Running setup.py install for requests
warning: build_py: byte-compiling is disabled, skipping.
warning: install_lib: byte-compiling is disabled, skipping.
Running setup.py install for requests-oauthlib
warning: build_py: byte-compiling is disabled, skipping.
warning: install_lib: byte-compiling is disabled, skipping.
Running setup.py install for oauthlib
warning: build_py: byte-compiling is disabled, skipping.
warning: install_lib: byte-compiling is disabled, skipping.
Successfully installed python-twitter requests requests-oauthlib oauthlib
Cleaning up...
root@WEIO:/# python
Python 2.7.9 (default, Oct 19 2015, 13:56:16)
[GCC 4.8.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import twitter
>>> dir(twitter)
['Api', 'DirectMessage', 'Hashtag', 'List', 'ParseTweet', 'Status', 'Trend', 'TwitterError', 'Url', 'User', 'UserStatus', '_FileCache', '__author__', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__', '__version__', '_file_cache', 'api', 'direct_message', 'error', 'hashtag', 'list', 'md5', 'parse_tweet', 'simplejson', 'status', 'trend', 'url', 'user']
>>>
@ks156 this one is interesting. Note that python-pip
is present via CC feeds. However, when I included it in menuconfig, it selected all Python packages as a dependencies. Now I see why - looks like it needs python-xml
, python-distutils
and maybe some other stuff.
I propose thus:
python-pip
package from CC feeds in our installation process here: https://github.com/nodesign/weio/blob/master/openWrt/pkg_install.shOpinions?
Agree 100%. You handle it ?
I was hoping that you would take it :). I would like to do some testing.
Ok, I'll do it. :D
Not urgent. We still have a few days before release ;).
No problem. I'll do it tonight. After that, I'll recompile all from scratch, to be sure all is OK. So the result will be for tomorrow
Fixed by v1.2. pip is compiled with openwrt.