Swin-Transformer
Swin-Transformer copied to clipboard
utf-8' codec can't decode byte 0x88 in position 0
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