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

Unable to build #178

Open SubhadipDatta opened 4 years ago

SubhadipDatta commented 4 years ago

(base) C:\Users\subha>python C:\Users\subha\Downloads\Compressed\jpy-master\setup.py --maven build bdist Traceback (most recent call last): File "C:\Users\subha\Downloads\Compressed\jpy-master\setup.py", line 312, in long_description=_read('README.md') + '\n\n' + _read('CHANGES.md'), File "C:\Users\subha\Downloads\Compressed\jpy-master\setup.py", line 185, in _read with open(filename, encoding='UTF-8') as file: FileNotFoundError: [Errno 2] No such file or directory: 'README.md'

jburmistrova commented 3 years ago

I have the same error. Running on MacOS Catalina

(snap) ➜ jpy git:(master) python setup.py bdist_wheel Traceback (most recent call last): File "setup.py", line 312, in long_description=_read('README.md') + '\n\n' + _read('CHANGES.md'), File "setup.py", line 185, in _read with open(filename, encoding='UTF-8') as file: TypeError: 'encoding' is an invalid keyword argument for this function

jburmistrova commented 3 years ago

For me the reason this error popped up was because I was using python2.7, maybe check that you are using the correct version?