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
Complete output from command python setup.py egg_info:
Installed c:\users\user\appdata\local\temp\pip-install-0sqfyyq0\coconlp\.eggs\phone-0.4.2-py3.7.egg
Searching for pyhanlp
Reading https://pypi.org/simple/pyhanlp/
Downloading https://files.pythonhosted.org/packages/db/78/5e20dadc4b0e63f0c0b8feb6b752e1d47ba8f02dba269e656cf186448fe1/pyhanlp-0.1.48.tar.gz#sha256=61c2358d2803d06da3d544664febf210590df662d4c10cc01aa6c6c2bb4456e4
Best match: pyhanlp 0.1.48
Processing pyhanlp-0.1.48.tar.gz
Writing C:\Users\user\AppData\Local\Temp\easy_install-nwl5yguy\pyhanlp-0.1.48\setup.cfg
Running pyhanlp-0.1.48\setup.py -q bdist_egg --dist-dir C:\Users\user\AppData\Local\Temp\easy_install-nwl5yguy\pyhanlp-0.1.48\egg-dist-tmp-32tui2lq
zip_safe flag not set; analyzing archive contents...
pyhanlp.__pycache__.__init__.cpython-37: module references __file__
pyhanlp.__pycache__.util.cpython-37: module references __file__
pyhanlp.static.__pycache__.__init__.cpython-37: module references __file__
creating c:\users\user\appdata\local\temp\pip-install-0sqfyyq0\coconlp\.eggs\pyhanlp-0.1.48-py3.7.egg
Extracting pyhanlp-0.1.48-py3.7.egg to c:\users\user\appdata\local\temp\pip-install-0sqfyyq0\coconlp\.eggs
Installed c:\users\user\appdata\local\temp\pip-install-0sqfyyq0\coconlp\.eggs\pyhanlp-0.1.48-py3.7.egg
Searching for jieba
Reading https://pypi.org/simple/jieba/
Downloading https://files.pythonhosted.org/packages/71/46/c6f9179f73b818d5827202ad1c4a94e371a29473b7f043b736b4dab6b8cd/jieba-0.39.zip#sha256=de385e48582a4862e55a9167334d0fbe91d479026e5dac40e59e22c08b8e883e
Best match: jieba 0.39
Processing jieba-0.39.zip
Writing C:\Users\user\AppData\Local\Temp\easy_install-ip56mpcu\jieba-0.39\setup.cfg
Running jieba-0.39\setup.py -q bdist_egg --dist-dir C:\Users\user\AppData\Local\Temp\easy_install-ip56mpcu\jieba-0.39\egg-dist-tmp-clndrtyv
zip_safe flag not set; analyzing archive contents...
jieba.__pycache__._compat.cpython-37: module references __file__
jieba.analyse.__pycache__.tfidf.cpython-37: module references __file__
creating c:\users\user\appdata\local\temp\pip-install-0sqfyyq0\coconlp\.eggs\jieba-0.39-py3.7.egg
Extracting jieba-0.39-py3.7.egg to c:\users\user\appdata\local\temp\pip-install-0sqfyyq0\coconlp\.eggs
Installed c:\users\user\appdata\local\temp\pip-install-0sqfyyq0\coconlp\.eggs\jieba-0.39-py3.7.egg
Searching for jpype1>=0.7.0
Reading https://pypi.org/simple/jpype1/
Downloading https://files.pythonhosted.org/packages/28/63/784834e8a24ec2e1ad7f703c3dc6c6fb372a77cc68a2fdff916e18a4449e/JPype1-0.7.0.tar.gz#sha256=1630439d5b0fb49e2878b43a1a1f074f9d4f46520f525569e14f1f0f9399f871
Best match: JPype1 0.7.0
Processing JPype1-0.7.0.tar.gz
Writing C:\Users\user\AppData\Local\Temp\easy_install-hky83igj\JPype1-0.7.0\setup.cfg
Running JPype1-0.7.0\setup.py -q bdist_egg --dist-dir C:\Users\user\AppData\Local\Temp\easy_install-hky83igj\JPype1-0.7.0\egg-dist-tmp-o5keaij5
D:\Anacanda\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'use_scm_version'
warnings.warn(msg)
C:\Users\user\AppData\Local\Temp\easy_install-hky83igj\JPype1-0.7.0\setupext\build_ext.py:85: FeatureNotice: Turned ON Numpy support for fast Java array access
FeatureNotice)
Traceback (most recent call last):
File "D:\Anacanda\lib\site-packages\setuptools\msvc.py", line 489, in _find_latest_available_vc_ver
return self.find_available_vc_vers()[-1]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Anacanda\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "D:\Anacanda\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "D:\Anacanda\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\Anacanda\lib\site-packages\setuptools\command\bdist_egg.py", line 172, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "D:\Anacanda\lib\site-packages\setuptools\command\bdist_egg.py", line 158, in call_command
self.run_command(cmdname)
File "D:\Anacanda\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "D:\Anacanda\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\Anacanda\lib\site-packages\setuptools\command\install_lib.py", line 11, in run
self.build()
File "D:\Anacanda\lib\distutils\command\install_lib.py", line 107, in build
self.run_command('build_ext')
File "D:\Anacanda\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "D:\Anacanda\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\Anacanda\lib\site-packages\setuptools\command\build_ext.py", line 78, in run
_build_ext.run(self)
File "D:\Anacanda\lib\site-packages\Cython\Distutils\old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "D:\Anacanda\lib\distutils\command\build_ext.py", line 339, in run
self.build_extensions()
File "C:\Users\user\AppData\Local\Temp\easy_install-hky83igj\JPype1-0.7.0\setupext\build_ext.py", line 95, in build_extensions
File "D:\Anacanda\lib\site-packages\Cython\Distutils\old_build_ext.py", line 194, in build_extensions
self.build_extension(ext)
File "D:\Anacanda\lib\site-packages\setuptools\command\build_ext.py", line 199, in build_extension
_build_ext.build_extension(self, ext)
File "D:\Anacanda\lib\distutils\command\build_ext.py", line 533, in build_extension
depends=ext.depends)
File "D:\Anacanda\lib\distutils\_msvccompiler.py", line 345, in compile
self.initialize()
File "D:\Anacanda\lib\distutils\_msvccompiler.py", line 238, in initialize
vc_env = _get_vc_env(plat_spec)
File "D:\Anacanda\lib\site-packages\setuptools\msvc.py", line 185, in msvc14_get_vc_env
return EnvironmentInfo(plat_spec, vc_min_ver=14.0).return_env()
File "D:\Anacanda\lib\site-packages\setuptools\msvc.py", line 843, in __init__
self.si = SystemInfo(self.ri, vc_ver)
File "D:\Anacanda\lib\site-packages\setuptools\msvc.py", line 485, in __init__
self.vc_ver = vc_ver or self._find_latest_available_vc_ver()
File "D:\Anacanda\lib\site-packages\setuptools\msvc.py", line 492, in _find_latest_available_vc_ver
raise distutils.errors.DistutilsPlatformError(err)
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Anacanda\lib\site-packages\setuptools\sandbox.py", line 154, in save_modules
yield saved
File "D:\Anacanda\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
yield
File "D:\Anacanda\lib\site-packages\setuptools\sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "D:\Anacanda\lib\site-packages\setuptools\sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "C:\Users\user\AppData\Local\Temp\easy_install-hky83igj\JPype1-0.7.0\setup.py", line 54, in <module>
classifiers=[
File "D:\Anacanda\lib\site-packages\setuptools\__init__.py", line 143, in setup
return distutils.core.setup(**attrs)
File "D:\Anacanda\lib\distutils\core.py", line 163, in setup
raise SystemExit("error: " + str(msg))
SystemExit: error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Anacanda\lib\site-packages\setuptools\command\easy_install.py", line 1144, in run_setup
run_setup(setup_script, args)
File "D:\Anacanda\lib\site-packages\setuptools\sandbox.py", line 253, in run_setup
raise
File "D:\Anacanda\lib\contextlib.py", line 130, in __exit__
self.gen.throw(type, value, traceback)
File "D:\Anacanda\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
yield
File "D:\Anacanda\lib\contextlib.py", line 130, in __exit__
self.gen.throw(type, value, traceback)
File "D:\Anacanda\lib\site-packages\setuptools\sandbox.py", line 166, in save_modules
saved_exc.resume()
File "D:\Anacanda\lib\site-packages\setuptools\sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "D:\Anacanda\lib\site-packages\setuptools\_vendor\six.py", line 685, in reraise
raise value.with_traceback(tb)
File "D:\Anacanda\lib\site-packages\setuptools\sandbox.py", line 154, in save_modules
yield saved
File "D:\Anacanda\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
yield
File "D:\Anacanda\lib\site-packages\setuptools\sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "D:\Anacanda\lib\site-packages\setuptools\sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "C:\Users\user\AppData\Local\Temp\easy_install-hky83igj\JPype1-0.7.0\setup.py", line 54, in <module>
classifiers=[
File "D:\Anacanda\lib\site-packages\setuptools\__init__.py", line 143, in setup
return distutils.core.setup(**attrs)
File "D:\Anacanda\lib\distutils\core.py", line 163, in setup
raise SystemExit("error: " + str(msg))
SystemExit: error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\user\AppData\Local\Temp\pip-install-0sqfyyq0\cocoNLP\setup.py", line 75, in <module>
cmdclass={'install': MyInstall},
File "D:\Anacanda\lib\site-packages\setuptools\__init__.py", line 142, in setup
_install_setup_requires(attrs)
File "D:\Anacanda\lib\site-packages\setuptools\__init__.py", line 137, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "D:\Anacanda\lib\site-packages\setuptools\dist.py", line 586, in fetch_build_eggs
replace_conflicting=True,
File "D:\Anacanda\lib\site-packages\pkg_resources\__init__.py", line 780, in resolve
replace_conflicting=replace_conflicting
File "D:\Anacanda\lib\site-packages\pkg_resources\__init__.py", line 1063, in best_match
return self.obtain(req, installer)
File "D:\Anacanda\lib\site-packages\pkg_resources\__init__.py", line 1075, in obtain
return installer(requirement)
File "D:\Anacanda\lib\site-packages\setuptools\dist.py", line 653, in fetch_build_egg
return cmd.easy_install(req)
File "D:\Anacanda\lib\site-packages\setuptools\command\easy_install.py", line 679, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "D:\Anacanda\lib\site-packages\setuptools\command\easy_install.py", line 705, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "D:\Anacanda\lib\site-packages\setuptools\command\easy_install.py", line 890, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "D:\Anacanda\lib\site-packages\setuptools\command\easy_install.py", line 1158, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "D:\Anacanda\lib\site-packages\setuptools\command\easy_install.py", line 1146, in run_setup
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
including thunk build\lib\org\jpype\classloader\JPypeClassLoader.class
including thunk build\lib\org.jpype.jar
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\user\AppData\Local\Temp\pip-install-0sqfyyq0\cocoNLP\
The text was updated successfully, but these errors were encountered:
env is win10 and anaconda3. Hope you can help me, thank you! Below is the error report
Collecting cocoNLP
Downloading https://files.pythonhosted.org/packages/8f/c3/59aaa0fcaf7afb0853f0ce21570452f40048628f6b3cd68423ee3e798d05/cocoNLP-0.0.13.tar.gz (88kB)
Command "python setup.py egg_info" failed with error code 1 in C:\Users\user\AppData\Local\Temp\pip-install-0sqfyyq0\cocoNLP\
The text was updated successfully, but these errors were encountered: