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
I miss a issue that "'utf-8' codec can't decode byte 0x88 in position 0",when i was install the swin_window_process
ubuntu16.04
cuda 10.2
pytorch1.8
`
python setup.py install
running install
/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/command/easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
EasyInstallDeprecationWarning,
running bdist_egg
running egg_info
writing swin_window_process.egg-info/PKG-INFO
writing dependency_links to swin_window_process.egg-info/dependency_links.txt
writing top-level names to swin_window_process.egg-info/top_level.txt
reading manifest file 'swin_window_process.egg-info/SOURCES.txt'
writing manifest file 'swin_window_process.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
building 'swin_window_process' extension
Emitting ninja build file /work/product/program/cloudflask/weather_classifier/Swin-Transformer/kernels/window_process/build/temp.linux-x86_64-cpython-37/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
ninja: no work to do.
g++ -pthread -B /opt/miniconda/envs/swin/compiler_compat -Wl,--sysroot=/ -pthread -shared -B /opt/miniconda/envs/swin/compiler_compat -L/opt/miniconda/envs/swin/lib -Wl,-rpath=/opt/miniconda/envs/swin/lib -Wl,--no-as-needed -Wl,--sysroot=/ /work/product/program/cloudflask/weather_classifier/Swin-Transformer/kernels/window_process/build/temp.linux-x86_64-cpython-37/swin_window_process.o /work/product/program/cloudflask/weather_classifier/Swin-Transformer/kernels/window_process/build/temp.linux-x86_64-cpython-37/swin_window_process_kernel.o -L/opt/miniconda/envs/swin/lib/python3.7/site-packages/torch/lib -L/usr/local/cuda/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-cpython-37/swin_window_process.cpython-37m-x86_64-linux-gnu.so
creating build/bdist.linux-x86_64/egg
copying build/lib.linux-x86_64-cpython-37/swin_window_process.cpython-37m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg
creating stub loader for swin_window_process.cpython-37m-x86_64-linux-gnu.so
byte-compiling build/bdist.linux-x86_64/egg/swin_window_process.py to swin_window_process.cpython-37.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying swin_window_process.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying swin_window_process.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying swin_window_process.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying swin_window_process.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents... pycache.swin_window_process.cpython-37: module references file
creating 'dist/swin_window_process-0.0.0-py3.7-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
error removing build/bdist.linux-x86_64/egg: [Errno 13] Permission denied: 'build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt'
error removing build/bdist.linux-x86_64/egg: [Errno 39] Directory not empty: 'build/bdist.linux-x86_64/egg/EGG-INFO'
error removing build/bdist.linux-x86_64/egg: [Errno 39] Directory not empty: 'build/bdist.linux-x86_64/egg'
Processing swin_window_process-0.0.0-py3.7-linux-x86_64.egg
creating /opt/miniconda/envs/swin/lib/python3.7/site-packages/swin_window_process-0.0.0-py3.7-linux-x86_64.egg
Extracting swin_window_process-0.0.0-py3.7-linux-x86_64.egg to /opt/miniconda/envs/swin/lib/python3.7/site-packages
Adding swin-window-process 0.0.0 to easy-install.pth file
Installed /opt/miniconda/envs/swin/lib/python3.7/site-packages/swin_window_process-0.0.0-py3.7-linux-x86_64.egg
Traceback (most recent call last):
File "setup.py", line 12, in
cmdclass={'build_ext': BuildExtension})
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/dist.py", line 1208, in run_command
super().run_command(command)
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/command/install.py", line 74, in run
self.do_egg_install()
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/command/install.py", line 131, in do_egg_install
cmd.run(show_deprecation=False)
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/command/easy_install.py", line 420, in run
self.easy_install(spec, not self.no_deps)
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/command/easy_install.py", line 662, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/command/easy_install.py", line 709, in install_item
self.process_distribution(spec, dist, deps)
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/command/easy_install.py", line 741, in process_distribution
dist.get_metadata_lines('dependency_links.txt')
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/pkg_resources/init.py", line 1441, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/pkg_resources/init.py", line 1433, in get_metadata
return value.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x88 in position 0: invalid start byte in dependency_links.txt file at path: /opt/miniconda/envs/swin/lib/python3.7/site-packages/swin_window_process-0.0.0-py3.7-linux-x86_64.egg/EGG-INFO/dependency_links.txt
`
The text was updated successfully, but these errors were encountered:
I miss a issue that "'utf-8' codec can't decode byte 0x88 in position 0",when i was install the swin_window_process
ubuntu16.04
cuda 10.2
pytorch1.8
`
python setup.py install
running install
/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/command/easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
EasyInstallDeprecationWarning,
running bdist_egg
running egg_info
writing swin_window_process.egg-info/PKG-INFO
writing dependency_links to swin_window_process.egg-info/dependency_links.txt
writing top-level names to swin_window_process.egg-info/top_level.txt
reading manifest file 'swin_window_process.egg-info/SOURCES.txt'
writing manifest file 'swin_window_process.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
building 'swin_window_process' extension
Emitting ninja build file /work/product/program/cloudflask/weather_classifier/Swin-Transformer/kernels/window_process/build/temp.linux-x86_64-cpython-37/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
ninja: no work to do.
g++ -pthread -B /opt/miniconda/envs/swin/compiler_compat -Wl,--sysroot=/ -pthread -shared -B /opt/miniconda/envs/swin/compiler_compat -L/opt/miniconda/envs/swin/lib -Wl,-rpath=/opt/miniconda/envs/swin/lib -Wl,--no-as-needed -Wl,--sysroot=/ /work/product/program/cloudflask/weather_classifier/Swin-Transformer/kernels/window_process/build/temp.linux-x86_64-cpython-37/swin_window_process.o /work/product/program/cloudflask/weather_classifier/Swin-Transformer/kernels/window_process/build/temp.linux-x86_64-cpython-37/swin_window_process_kernel.o -L/opt/miniconda/envs/swin/lib/python3.7/site-packages/torch/lib -L/usr/local/cuda/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-cpython-37/swin_window_process.cpython-37m-x86_64-linux-gnu.so
creating build/bdist.linux-x86_64/egg
copying build/lib.linux-x86_64-cpython-37/swin_window_process.cpython-37m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg
creating stub loader for swin_window_process.cpython-37m-x86_64-linux-gnu.so
byte-compiling build/bdist.linux-x86_64/egg/swin_window_process.py to swin_window_process.cpython-37.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying swin_window_process.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying swin_window_process.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying swin_window_process.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying swin_window_process.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
pycache.swin_window_process.cpython-37: module references file
creating 'dist/swin_window_process-0.0.0-py3.7-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
error removing build/bdist.linux-x86_64/egg: [Errno 13] Permission denied: 'build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt'
error removing build/bdist.linux-x86_64/egg: [Errno 39] Directory not empty: 'build/bdist.linux-x86_64/egg/EGG-INFO'
error removing build/bdist.linux-x86_64/egg: [Errno 39] Directory not empty: 'build/bdist.linux-x86_64/egg'
Processing swin_window_process-0.0.0-py3.7-linux-x86_64.egg
creating /opt/miniconda/envs/swin/lib/python3.7/site-packages/swin_window_process-0.0.0-py3.7-linux-x86_64.egg
Extracting swin_window_process-0.0.0-py3.7-linux-x86_64.egg to /opt/miniconda/envs/swin/lib/python3.7/site-packages
Adding swin-window-process 0.0.0 to easy-install.pth file
Installed /opt/miniconda/envs/swin/lib/python3.7/site-packages/swin_window_process-0.0.0-py3.7-linux-x86_64.egg
Traceback (most recent call last):
File "setup.py", line 12, in
cmdclass={'build_ext': BuildExtension})
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/dist.py", line 1208, in run_command
super().run_command(command)
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/command/install.py", line 74, in run
self.do_egg_install()
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/command/install.py", line 131, in do_egg_install
cmd.run(show_deprecation=False)
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/command/easy_install.py", line 420, in run
self.easy_install(spec, not self.no_deps)
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/command/easy_install.py", line 662, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/command/easy_install.py", line 709, in install_item
self.process_distribution(spec, dist, deps)
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/setuptools/command/easy_install.py", line 741, in process_distribution
dist.get_metadata_lines('dependency_links.txt')
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/pkg_resources/init.py", line 1441, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/opt/miniconda/envs/swin/lib/python3.7/site-packages/pkg_resources/init.py", line 1433, in get_metadata
return value.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x88 in position 0: invalid start byte in dependency_links.txt file at path: /opt/miniconda/envs/swin/lib/python3.7/site-packages/swin_window_process-0.0.0-py3.7-linux-x86_64.egg/EGG-INFO/dependency_links.txt
`
The text was updated successfully, but these errors were encountered: