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
各位有没有发生这个错误,我在windows10的环境下,安装好了detectron2(测试了ok)
然后按照顺序,执行python setup.py build develop 后,出现这个ModuleNotFoundError: No module named 'tools.version_utils'错误,是什么原因呢?如何解决:
Downloading https://files.pythonhosted.org/packages/fa/d0/724c8204f87b6f807e3e67de32b8b4922d579154a448ce94e89129064bf1/scipy-1.11.0.tar.gz#sha256=f
9b0248cb9d08eead44cde47cbf6339f1e9aa0dfde28f5fb27950743e317bd5d
Best match: scipy 1.11.0
Processing scipy-1.11.0.tar.gz
Writing C:\Users\ADMINI1\AppData\Local\Temp\easy_install-t3od1aen\scipy-1.11.0\setup.cfg
Running scipy-1.11.0\setup.py -q bdist_egg --dist-dir C:\Users\ADMINI1\AppData\Local\Temp\easy_install-t3od1aen\scipy-1.11.0\egg-dist-tmp-8kzh7iwu
Traceback (most recent call last):
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 156, in save_modules
yield saved
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 198, in setup_context
yield
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 259, in run_setup
_execfile(setup_script, ns)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 46, in _execfile
exec(code, globals, locals)
File "C:\Users\ADMINI~1\AppData\Local\Temp\easy_install-t3od1aen\scipy-1.11.0\setup.py", line 27, in
ModuleNotFoundError: No module named 'tools.version_utils'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 65, in
setup(
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools_init_.py", line 153, in setup
return distutils.core.setup(**attrs)
File "D:\Anaconda3\envs\detr\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "D:\Anaconda3\envs\detr\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "D:\Anaconda3\envs\detr\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\command\develop.py", line 34, in run
self.install_for_development()
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\command\develop.py", line 129, in install_for_development
self.process_distribution(None, self.dist, not self.no_deps)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\command\easy_install.py", line 750, in process_distribution
distros = WorkingSet([]).resolve(
File "D:\Anaconda3\envs\detr\lib\site-packages\pkg_resources_init_.py", line 771, in resolve
dist = best[req.key] = env.best_match(
File "D:\Anaconda3\envs\detr\lib\site-packages\pkg_resources_init_.py", line 1056, in best_match
return self.obtain(req, installer)
File "D:\Anaconda3\envs\detr\lib\site-packages\pkg_resources_init_.py", line 1068, in obtain
return installer(requirement)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\command\easy_install.py", line 675, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\command\easy_install.py", line 701, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\command\easy_install.py", line 896, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\command\easy_install.py", line 1168, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\command\easy_install.py", line 1152, in run_setup
run_setup(setup_script, args)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 262, in run_setup
raise
File "D:\Anaconda3\envs\detr\lib\contextlib.py", line 131, in exit
self.gen.throw(type, value, traceback)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 198, in setup_context
yield
File "D:\Anaconda3\envs\detr\lib\contextlib.py", line 131, in exit
self.gen.throw(type, value, traceback)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 169, in save_modules
saved_exc.resume()
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 143, in resume
raise exc.with_traceback(self._tb)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 156, in save_modules
yield saved
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 198, in setup_context
yield
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 259, in run_setup
_execfile(setup_script, ns)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 46, in _execfile
exec(code, globals, locals)
File "C:\Users\ADMINI~1\AppData\Local\Temp\easy_install-t3od1aen\scipy-1.11.0\setup.py", line 27, in
ModuleNotFoundError: No module named 'tools.version_utils'
The text was updated successfully, but these errors were encountered:
各位有没有发生这个错误,我在windows10的环境下,安装好了detectron2(测试了ok)
然后按照顺序,执行python setup.py build develop 后,出现这个ModuleNotFoundError: No module named 'tools.version_utils'错误,是什么原因呢?如何解决:
Downloading https://files.pythonhosted.org/packages/fa/d0/724c8204f87b6f807e3e67de32b8b4922d579154a448ce94e89129064bf1/scipy-1.11.0.tar.gz#sha256=f
9b0248cb9d08eead44cde47cbf6339f1e9aa0dfde28f5fb27950743e317bd5d
Best match: scipy 1.11.0
Processing scipy-1.11.0.tar.gz
Writing C:\Users\ADMINI
1\AppData\Local\Temp\easy_install-t3od1aen\scipy-1.11.0\setup.cfg1\AppData\Local\Temp\easy_install-t3od1aen\scipy-1.11.0\egg-dist-tmp-8kzh7iwuRunning scipy-1.11.0\setup.py -q bdist_egg --dist-dir C:\Users\ADMINI
Traceback (most recent call last):
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 156, in save_modules
yield saved
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 198, in setup_context
yield
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 259, in run_setup
_execfile(setup_script, ns)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 46, in _execfile
exec(code, globals, locals)
File "C:\Users\ADMINI~1\AppData\Local\Temp\easy_install-t3od1aen\scipy-1.11.0\setup.py", line 27, in
ModuleNotFoundError: No module named 'tools.version_utils'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 65, in
setup(
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools_init_.py", line 153, in setup
return distutils.core.setup(**attrs)
File "D:\Anaconda3\envs\detr\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "D:\Anaconda3\envs\detr\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "D:\Anaconda3\envs\detr\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\command\develop.py", line 34, in run
self.install_for_development()
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\command\develop.py", line 129, in install_for_development
self.process_distribution(None, self.dist, not self.no_deps)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\command\easy_install.py", line 750, in process_distribution
distros = WorkingSet([]).resolve(
File "D:\Anaconda3\envs\detr\lib\site-packages\pkg_resources_init_.py", line 771, in resolve
dist = best[req.key] = env.best_match(
File "D:\Anaconda3\envs\detr\lib\site-packages\pkg_resources_init_.py", line 1056, in best_match
return self.obtain(req, installer)
File "D:\Anaconda3\envs\detr\lib\site-packages\pkg_resources_init_.py", line 1068, in obtain
return installer(requirement)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\command\easy_install.py", line 675, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\command\easy_install.py", line 701, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\command\easy_install.py", line 896, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\command\easy_install.py", line 1168, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\command\easy_install.py", line 1152, in run_setup
run_setup(setup_script, args)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 262, in run_setup
raise
File "D:\Anaconda3\envs\detr\lib\contextlib.py", line 131, in exit
self.gen.throw(type, value, traceback)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 198, in setup_context
yield
File "D:\Anaconda3\envs\detr\lib\contextlib.py", line 131, in exit
self.gen.throw(type, value, traceback)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 169, in save_modules
saved_exc.resume()
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 143, in resume
raise exc.with_traceback(self._tb)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 156, in save_modules
yield saved
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 198, in setup_context
yield
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 259, in run_setup
_execfile(setup_script, ns)
File "D:\Anaconda3\envs\detr\lib\site-packages\setuptools\sandbox.py", line 46, in _execfile
exec(code, globals, locals)
File "C:\Users\ADMINI~1\AppData\Local\Temp\easy_install-t3od1aen\scipy-1.11.0\setup.py", line 27, in
ModuleNotFoundError: No module named 'tools.version_utils'
The text was updated successfully, but these errors were encountered: