While installing python-masscan using the following command:
pip install python-masscan
I get the following error
Collecting python-masscan
Using cached https://files.pythonhosted.org/packages/84/84/1ebf64158cd996958b3979984b731c675321fbca16b36009c6289914ae06/python-masscan-0.1.3.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/tf/g0srqs6n3ql4fd_5ml3xzrbh0000gn/T/pip-install-hi51vt/python-masscan/setup.py", line 15, in <module>
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as readme_file:
TypeError: 'encoding' is an invalid keyword argument for this function
Python Version: 2.7
Apparently, the open() built-in function it is introduced in python2 as io.open() and for compatibility io.open() is an alias to open() in python3
Hi,
While installing python-masscan using the following command:
I get the following error
Python Version: 2.7
Apparently, the
open()
built-in function it is introduced in python2 asio.open()
and for compatibilityio.open()
is an alias toopen()
in python3