python に pip で pyximport をインストールできない

ハマったのでメモ。環境は Mac 10.11.4。Rubyは3.4.1。

[code]
$ sudo -H pip install pyximport
Downloading/unpacking pyximport
Could not find any downloads that satisfy the requirement pyximport
Cleaning up…
No distributions at all found for pyximport
Storing debug log for failure in /var/root/.pip/pip.log
[/code]

pyximportではなくcythonとすればいい

[code]
$ sudo -H pip install cython
[/code]

すごく紛らわしい!

◯参考) python 2.7 – Where is ‘pyximport’? – Stack Overflow

  • URLをコピーしました!

この記事を書いた人

どうでもいいことばかりです

コメント

コメントする

*

目次