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
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'tests_requires'
warnings.warn(msg)
running build
running build_py
creating build
creating build/lib
creating build/lib/torchstat
copying torchstat/statistics.py -> build/lib/torchstat
copying torchstat/stat_tree.py -> build/lib/torchstat
copying torchstat/reporter.py -> build/lib/torchstat
copying torchstat/model_hook.py -> build/lib/torchstat
copying torchstat/compute_memory.py -> build/lib/torchstat
copying torchstat/compute_madd.py -> build/lib/torchstat
copying torchstat/compute_flops.py -> build/lib/torchstat
copying torchstat/__main__.py -> build/lib/torchstat
copying torchstat/__init__.py -> build/lib/torchstat
running egg_info
creating torchstat.egg-info
writing torchstat.egg-info/PKG-INFO
Traceback (most recent call last):
File "/build/python-torchstat/src/torchstat-0.0.7/setup.py", line 33, in <module>
setup(
File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.10/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.10/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.10/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.10/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.10/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.10/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.10/site-packages/setuptools/command/build_py.py", line 56, in run
self.build_package_data()
File "/usr/lib/python3.10/site-packages/setuptools/command/build_py.py", line 118, in build_package_data
for package, src_dir, build_dir, filenames in self.data_files:
File "/usr/lib/python3.10/site-packages/setuptools/command/build_py.py", line 69, in __getattr__
self.data_files = self._get_data_files()
File "/usr/lib/python3.10/site-packages/setuptools/command/build_py.py", line 82, in _get_data_files
self.analyze_manifest()
File "/usr/lib/python3.10/site-packages/setuptools/command/build_py.py", line 139, in analyze_manifest
self.run_command('egg_info')
File "/usr/lib/python3.10/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.10/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 292, in run
writer(self, ep.name, os.path.join(self.egg_info, ep.name))
File "/usr/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 635, in write_pkg_info
metadata.write_pkg_info(cmd.egg_info)
File "/usr/lib/python3.10/distutils/dist.py", line 1117, in write_pkg_info
self.write_pkg_file(pkg_info)
File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 185, in write_pkg_file
license = rfc822_escape(self.get_license())
File "/usr/lib/python3.10/distutils/util.py", line 479, in rfc822_escape
lines = header.split('\n')
AttributeError: '_Printer' object has no attribute 'split'. Did you mean: 'get_data_files'?
The text was updated successfully, but these errors were encountered:
outputs:
The text was updated successfully, but these errors were encountered: