You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 5, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 5, 2021. It is now read-only.
(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'
(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
Activity
jburmistrova commentedon Nov 7, 2020
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 commentedon Nov 9, 2020
For me the reason this error popped up was because I was using python2.7, maybe check that you are using the correct version?