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

windows是运行不了吗 #3

Open
liushh39 opened this issue May 2, 2023 · 4 comments
Open

windows是运行不了吗 #3

liushh39 opened this issue May 2, 2023 · 4 comments

Comments

@liushh39
Copy link

liushh39 commented May 2, 2023

No description provided.

@an-yongqi
Copy link
Collaborator

an-yongqi commented May 4, 2023

No description provided.

最终版本的代码没有尝试在Windows上运行过,但前几版能在Windows上顺利运行。请问具体遇到了什么报错,发出来我看看能不能帮助解决。

I haven't tried to run the final version of the code on Windows, but the previous versions worked fine on Windows. Please tell me exactly what error you encountered and send it to me to see if I can help solve it.

@liushh39
Copy link
Author

liushh39 commented May 4, 2023

搭环境就不太好搭,会报错

@liushh39
Copy link
Author

liushh39 commented May 4, 2023

writing manifest file 'detectron2.egg-info\SOURCES.txt'
running build_ext
building 'detectron2._C' extension
E:\anaconda\envs\zbs\lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
E:\anaconda\envs\zbs\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
E:\anaconda\envs\zbs\lib\site-packages\torch\utils\cpp_extension.py:304: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。
warnings.warn(f'Error checking compiler version for {compiler}: {error}')
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

@HelyaHsiung
Copy link

writing manifest file 'detectron2.egg-info\SOURCES.txt' running build_ext building 'detectron2._C' extension E:\anaconda\envs\zbs\lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( E:\anaconda\envs\zbs\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( E:\anaconda\envs\zbs\lib\site-packages\torch\utils\cpp_extension.py:304: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。 warnings.warn(f'Error checking compiler version for {compiler}: {error}') error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

看样子似乎是在安装 detectron2 框架时产生了问题,我是最近在学习这个工作,参考 CSDN 上的文章 win10下detectron2编译安装方法及问题汇总 来安装 detectron2 框架的,迟到的回答,仍希望有所益处。

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

3 participants