Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install problem #76

Open
xiaoshuang0918 opened this issue Sep 22, 2021 · 0 comments
Open

Install problem #76

xiaoshuang0918 opened this issue Sep 22, 2021 · 0 comments

Comments

@xiaoshuang0918
Copy link

Describe the bug
(base) F:\QuickUMLS-master>python setup.py install
D:\Anaconda3\lib\site-packages\setuptools\dist.py:487: UserWarning: Normalizing '1.4.0r1' to '1.4.0.post1'
warnings.warn(tmpl.format(**locals()))
running install
running bdist_egg
running egg_info
writing quickumls.egg-info\PKG-INFO
writing dependency_links to quickumls.egg-info\dependency_links.txt
writing requirements to quickumls.egg-info\requires.txt
writing top-level names to quickumls.egg-info\top_level.txt
reading manifest file 'quickumls.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
writing manifest file 'quickumls.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
creating build\bdist.win-amd64\egg
creating build\bdist.win-amd64\egg\quickumls
copying build\lib\quickumls\about.py -> build\bdist.win-amd64\egg\quickumls
copying build\lib\quickumls\client.py -> build\bdist.win-amd64\egg\quickumls
copying build\lib\quickumls\constants.py -> build\bdist.win-amd64\egg\quickumls
copying build\lib\quickumls\core.py -> build\bdist.win-amd64\egg\quickumls
copying build\lib\quickumls\install.py -> build\bdist.win-amd64\egg\quickumls
copying build\lib\quickumls\network.py -> build\bdist.win-amd64\egg\quickumls
copying build\lib\quickumls\server.py -> build\bdist.win-amd64\egg\quickumls
copying build\lib\quickumls\spacy_component.py -> build\bdist.win-amd64\egg\quickumls
copying build\lib\quickumls\toolbox.py -> build\bdist.win-amd64\egg\quickumls
copying build\lib\quickumls_init_.py -> build\bdist.win-amd64\egg\quickumls
byte-compiling build\bdist.win-amd64\egg\quickumls\about.py to about.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\quickumls\client.py to client.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\quickumls\constants.py to constants.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\quickumls\core.py to core.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\quickumls\install.py to install.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\quickumls\network.py to network.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\quickumls\server.py to server.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\quickumls\spacy_component.py to spacy_component.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\quickumls\toolbox.py to toolbox.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\quickumls_init_.py to init.cpython-37.pyc
creating build\bdist.win-amd64\egg\EGG-INFO
copying quickumls.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
copying quickumls.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying quickumls.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying quickumls.egg-info\requires.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying quickumls.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist\quickumls-1.4.0.post1-py3.7.egg' and adding 'build\bdist.win-amd64\egg' to it
removing 'build\bdist.win-amd64\egg' (and everything under it)
Processing quickumls-1.4.0.post1-py3.7.egg
Removing d:\anaconda3\lib\site-packages\quickumls-1.4.0.post1-py3.7.egg
error: [WinError 32] 另一个程序正在使用此文件,进程无法访问。: 'd:\anaconda3\lib\site-packages\quickumls-1.4.0.post1-py3.7.egg'

(base) F:\QuickUMLS-master>python setup.py install
D:\Anaconda3\lib\site-packages\setuptools\dist.py:487: UserWarning: Normalizing '1.4.0r1' to '1.4.0.post1'
warnings.warn(tmpl.format(**locals()))
running install
running bdist_egg
running egg_info
writing quickumls.egg-info\PKG-INFO
writing dependency_links to quickumls.egg-info\dependency_links.txt
writing requirements to quickumls.egg-info\requires.txt
writing top-level names to quickumls.egg-info\top_level.txt
reading manifest file 'quickumls.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
writing manifest file 'quickumls.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
creating build\bdist.win-amd64\egg
creating build\bdist.win-amd64\egg\quickumls
copying build\lib\quickumls\about.py -> build\bdist.win-amd64\egg\quickumls
copying build\lib\quickumls\client.py -> build\bdist.win-amd64\egg\quickumls
copying build\lib\quickumls\constants.py -> build\bdist.win-amd64\egg\quickumls
copying build\lib\quickumls\core.py -> build\bdist.win-amd64\egg\quickumls
copying build\lib\quickumls\install.py -> build\bdist.win-amd64\egg\quickumls
copying build\lib\quickumls\network.py -> build\bdist.win-amd64\egg\quickumls
copying build\lib\quickumls\server.py -> build\bdist.win-amd64\egg\quickumls
copying build\lib\quickumls\spacy_component.py -> build\bdist.win-amd64\egg\quickumls
copying build\lib\quickumls\toolbox.py -> build\bdist.win-amd64\egg\quickumls
copying build\lib\quickumls_init_.py -> build\bdist.win-amd64\egg\quickumls
byte-compiling build\bdist.win-amd64\egg\quickumls\about.py to about.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\quickumls\client.py to client.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\quickumls\constants.py to constants.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\quickumls\core.py to core.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\quickumls\install.py to install.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\quickumls\network.py to network.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\quickumls\server.py to server.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\quickumls\spacy_component.py to spacy_component.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\quickumls\toolbox.py to toolbox.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\quickumls_init_.py to init.cpython-37.pyc
creating build\bdist.win-amd64\egg\EGG-INFO
copying quickumls.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
copying quickumls.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying quickumls.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying quickumls.egg-info\requires.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying quickumls.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist\quickumls-1.4.0.post1-py3.7.egg' and adding 'build\bdist.win-amd64\egg' to it
removing 'build\bdist.win-amd64\egg' (and everything under it)
Processing quickumls-1.4.0.post1-py3.7.egg
Removing d:\anaconda3\lib\site-packages\quickumls-1.4.0.post1-py3.7.egg
Copying quickumls-1.4.0.post1-py3.7.egg to d:\anaconda3\lib\site-packages
quickumls 1.4.0.post1 is already the active version in easy-install.pth

Installed d:\anaconda3\lib\site-packages\quickumls-1.4.0.post1-py3.7.egg
Processing dependencies for quickumls==1.4.0.post1
Searching for quickumls_simstring>=1.1.5r1
Reading https://pypi.org/simple/quickumls_simstring/
Downloading https://files.pythonhosted.org/packages/0f/1b/3ff664369b713936a0f9282cbbd8ce7289f0b14d34971250a504485684a3/quickumls_simstring-1.1.5r1.tar.gz#sha256=e6c6d8ace730ef3d703e2e479694914e544762ee5d37e26536b95001b426666b
Best match: quickumls-simstring 1.1.5.post1
Processing quickumls_simstring-1.1.5r1.tar.gz
Writing C:\Users\CHENSH1\AppData\Local\Temp\easy_install-ut_l5lm5\quickumls_simstring-1.1.5r1\setup.cfg
Running quickumls_simstring-1.1.5r1\setup.py -q bdist_egg --dist-dir C:\Users\CHENSH
1\AppData\Local\Temp\easy_install-ut_l5lm5\quickumls_simstring-1.1.5r1\egg-dist-tmp-owfwhkss
Traceback (most recent call last):
File "D:\Anaconda3\lib\site-packages\setuptools\sandbox.py", line 156, in save_modules
yield saved
File "D:\Anaconda3\lib\site-packages\setuptools\sandbox.py", line 198, in setup_context
yield
File "D:\Anaconda3\lib\site-packages\setuptools\sandbox.py", line 259, in run_setup
_execfile(setup_script, ns)
File "D:\Anaconda3\lib\site-packages\setuptools\sandbox.py", line 46, in _execfile
exec(code, globals, locals)
File "C:\Users\CHENSH~1\AppData\Local\Temp\easy_install-ut_l5lm5\quickumls_simstring-1.1.5r1\setup.py", line 93, in
UnicodeDecodeError: 'gbk' codec can't decode byte 0x9d in position 471: illegal multibyte sequence

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "setup.py", line 74, in
setup_package()
File "setup.py", line 69, in setup_package
"Topic :: Scientific/Engineering :: Bio-Informatics",
File "D:\Anaconda3\lib\site-packages\setuptools_init_.py", line 153, in setup
return distutils.core.setup(**attrs)
File "D:\Anaconda3\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "D:\Anaconda3\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "D:\Anaconda3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\Anaconda3\lib\site-packages\setuptools\command\install.py", line 67, in run
self.do_egg_install()
File "D:\Anaconda3\lib\site-packages\setuptools\command\install.py", line 117, in do_egg_install
cmd.run(show_deprecation=False)
File "D:\Anaconda3\lib\site-packages\setuptools\command\easy_install.py", line 408, in run
self.easy_install(spec, not self.no_deps)
File "D:\Anaconda3\lib\site-packages\setuptools\command\easy_install.py", line 650, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "D:\Anaconda3\lib\site-packages\setuptools\command\easy_install.py", line 697, in install_item
self.process_distribution(spec, dist, deps)
File "D:\Anaconda3\lib\site-packages\setuptools\command\easy_install.py", line 745, in process_distribution
[requirement], self.local_index, self.easy_install
File "D:\Anaconda3\lib\site-packages\pkg_resources_init_.py", line 768, in resolve
replace_conflicting=replace_conflicting
File "D:\Anaconda3\lib\site-packages\pkg_resources_init_.py", line 1051, in best_match
return self.obtain(req, installer)
File "D:\Anaconda3\lib\site-packages\pkg_resources_init_.py", line 1063, in obtain
return installer(requirement)
File "D:\Anaconda3\lib\site-packages\setuptools\command\easy_install.py", line 669, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "D:\Anaconda3\lib\site-packages\setuptools\command\easy_install.py", line 695, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "D:\Anaconda3\lib\site-packages\setuptools\command\easy_install.py", line 890, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "D:\Anaconda3\lib\site-packages\setuptools\command\easy_install.py", line 1162, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "D:\Anaconda3\lib\site-packages\setuptools\command\easy_install.py", line 1146, in run_setup
run_setup(setup_script, args)
File "D:\Anaconda3\lib\site-packages\setuptools\sandbox.py", line 262, in run_setup
raise
File "D:\Anaconda3\lib\contextlib.py", line 130, in exit
self.gen.throw(type, value, traceback)
File "D:\Anaconda3\lib\site-packages\setuptools\sandbox.py", line 198, in setup_context
yield
File "D:\Anaconda3\lib\contextlib.py", line 130, in exit
self.gen.throw(type, value, traceback)
File "D:\Anaconda3\lib\site-packages\setuptools\sandbox.py", line 169, in save_modules
saved_exc.resume()
File "D:\Anaconda3\lib\site-packages\setuptools\sandbox.py", line 143, in resume
raise exc.with_traceback(self._tb)
File "D:\Anaconda3\lib\site-packages\setuptools\sandbox.py", line 156, in save_modules
yield saved
File "D:\Anaconda3\lib\site-packages\setuptools\sandbox.py", line 198, in setup_context
yield
File "D:\Anaconda3\lib\site-packages\setuptools\sandbox.py", line 259, in run_setup
_execfile(setup_script, ns)
File "D:\Anaconda3\lib\site-packages\setuptools\sandbox.py", line 46, in _execfile
exec(code, globals, locals)
File "C:\Users\CHENSH~1\AppData\Local\Temp\easy_install-ut_l5lm5\quickumls_simstring-1.1.5r1\setup.py", line 93, in
UnicodeDecodeError: 'gbk' codec can't decode byte 0x9d in position 471: illegal multibyte sequence

To Reproduce
How to deal with the problem?

**Environment **

  • OS: Windows
  • QuickUMLS version [e.g. 1.4]
  • UMLS version [e.g. 2019AA]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant