bcdev / jpy

A bi-directional Python-Java bridge used to embed Java in CPython or the other way round.
Apache License 2.0
187 stars 37 forks source link

No such file or directory: 'README.md' / 'README.rst' #130

Closed gatterius closed 6 years ago

gatterius commented 6 years ago

Hello! I'm trying to install JEP, but keep getting error by either installing from github repository: Traceback (most recent call last): File "C:\jpy-master\setup.py", line 312, in long_description=_read('README.md') + '\n\n' + _read('CHANGES.md'), File "C:\jpy-master\setup.py", line 189, in _read with open(filename) as file: FileNotFoundError: [Errno 2] No such file or directory: 'README.md' (though the file README.md is in the folder)

or by installing using pip Complete output from command python setup.py egg_info: Building a 64-bit library for a Windows system Traceback (most recent call last): File "", line 1, in File "C:\Users\user\AppData\Local\Temp\pip-install-i8r_cc43\jpy\setup.py", line 100, in with open('README.rst') as file: FileNotFoundError: [Errno 2] No such file or directory: 'README.rst'

running on:

What can be done to successfully install jpy?

forman commented 6 years ago

Could you please describe how you try to install jpy step-by-step. Note, after checking out jpy from GitHub you need to make the checked-out directory your working directory.

gatterius commented 6 years ago

Thanks, it seems that the problem was that I didn't change the working directory and only used the full path to the setup.py file. However, now I have another problem:

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

though I have C++ already installed (both x64 and x86) default

I've already had similar problem with other packages and the only way to solve it was to install package from wheel.

gatterius commented 6 years ago

I've tried to reinstall C++, now instead of simple "no C++ installed" I get this long log of warnings and errors, resulting in installation failure. log.txt

gatterius commented 6 years ago

Reinstallation of C++ with WIndows 10 and 8.1 SDKs has helped.