rdnkarchiver / gofile-dl

https://pypi.org/project/gofile-dl/
Apache License 2.0
5 stars 2 forks source link

a very big error #2

Closed N30Z3N closed 2 years ago

N30Z3N commented 2 years ago

ERROR: Command errored out with exit status 1: command: /usr/bin/python /usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpkIY1mE cwd: /tmp/pip-install-TMNjgu/gofile-client Complete output (41 lines): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 280, in main() File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 263, in main json_out['return_val'] = hook(hook_input['kwargs']) File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 114, in get_requires_for_build_wheel return hook(config_settings) File "/usr/local/lib/python2.7/dist-packages/setuptools/build_meta.py", line 146, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=['wheel']) File "/usr/local/lib/python2.7/dist-packages/setuptools/build_meta.py", line 127, in _get_build_requires self.run_setup() File "/usr/local/lib/python2.7/dist-packages/setuptools/build_meta.py", line 142, in run_setup exec(compile(code, file, 'exec'), locals()) File "setup.py", line 3, in setup() File "/usr/local/lib/python2.7/dist-packages/setuptools/init.py", line 162, in setup return distutils.core.setup(attrs) File "/usr/lib/python2.7/distutils/core.py", line 124, in setup dist.parse_config_files() File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 702, in parse_config_files ignore_option_errors=ignore_option_errors) File "/usr/local/lib/python2.7/dist-packages/setuptools/config.py", line 121, in parse_configuration meta.parse() File "/usr/local/lib/python2.7/dist-packages/setuptools/config.py", line 426, in parse section_parser_method(section_options) File "/usr/local/lib/python2.7/dist-packages/setuptools/config.py", line 399, in parse_section self[name] = value File "/usr/local/lib/python2.7/dist-packages/setuptools/config.py", line 184, in setitem value = parser(value) File "/usr/local/lib/python2.7/dist-packages/setuptools/config.py", line 515, in _parse_version version = self._parse_attr(value, self.package_dir) File "/usr/local/lib/python2.7/dist-packages/setuptools/config.py", line 349, in _parse_attr module = import_module(module_name) File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module import(name) File "/tmp/pip-install-TMNjgu/gofile-client/src/gofile/init.py", line 1, in from .client import Gofile File "/tmp/pip-install-TMNjgu/gofile-client/src/gofile/client.py", line 14 def init(self, token: str = None): ^ SyntaxError: invalid syntax

ERROR: Command errored out with exit status 1: /usr/bin/python /usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpkIY1mE Check the logs for full command output.

rdnkarchiver commented 2 years ago

You're using Python 2.7 which has been out of support for 2 years now. Upgrade to 3.10.