2016-12-14 12 views
0

にピップを経由して、モジュール円をインストールしている間、私はアナコンダ(のpython 3.4)で作業し、私はLinuxの分に18 を使用している私はpip install -i https://pypi.anaconda.org/pypi/simple jpyとモジュールjpyを取得しようとしましたが、私は次のエラーを得た:FileNotFoundError conda

Traceback (most recent call last): 
     File "<string>", line 1, in <module> 
     File "/tmp/pip-build-p2voq_f8/jpy/setup.py", line 100, in <module> 
     with open('README.rst') as file: 
    FileNotFoundError: [Errno 2] No such file or directory: 'README.rst' 

問題の内容はわかりますが、解決方法はわかりません。私はpip install -U setuptools pipで私のsetuptoolsを更新しようとしましたが、主な問題はまだそこにあります。そして、それは私にとっては役に立たなかった。

アイデア?ありがとうございました。

答えて

0

はgithubのからつかん:

まずこれはにFileNotFound-エラーについて何も変わらない

Install a JDK 8, preferrably the Oracle distribution. Set JDK_HOME or JPY_JDK_HOME to point to your JDK installation and run the build script:

$ export JAVA_HOME=<your-jdk-dir> 
$ python get-pip.py 
$ python setup.py --maven bdist_wheel 

On success, the wheel is found in the dist directory.

To deploy the jpy.jar (if you don't know why you need this step, this is not for you):

$ mvn clean deploy -DskipTests=true

https://github.com/bcdev/jpy

+0

リポジトリをダウンロードしてください。 – Mara

+0

あなたはどのようなOSを使用していますか? –

+0

Linux Mint 18.私の質問に追加しました。 – Mara