简体   繁体   English

无法在 Python 上安装 MMFashion

[英]Can't install MMFashion on Python

I am trying to install mmfashion on python but I am getting below error.我正在尝试在 python 上安装 mmfashion,但出现以下错误。 Can you help me?你能帮助我吗?

MMFashion MM时尚

Compiling ./mmcv/video/optflow_warp/flow_warp_module.pyx because it depends on c:\users\username\appdata\local\temp\easy_install-odf3sfl0\mmcv-1.1.6\.eggs\cython-0.29.21-py3.6-win-amd64.egg\Cython\Includes\libc\string.pxd.
[1/1] Cythonizing ./mmcv/video/optflow_warp/flow_warp_module.pyx
C:\Anaconda3\envs\py365\lib\site-packages\torch\utils\cpp_extension.py:274: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified
  warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))
error: [WinError 5] Access Denied: 'C:\\Users\\username\\AppData\\Local\\Temp\\easy_install-odf3sfl0\\mmcv-1.1.6\\.eggs\\Cython-0.29.21-py3.6-win-amd64.egg\\Cython\\Compiler\\FlowControl.cp36-win_amd64.pyd'

System;系统;

Python version: ['3.6.5 | packaged by conda-forge | (default, Apr  6 2018, 16:13:55) [MSC v.1900 64 bit (AMD64)]']
system: Windows
machine: AMD64
platform: Windows-10-10.0.19041-SP0
uname: uname_result(system='Windows', node='DESKTOP-EIOK5V4', release='10', version='10.0.19041', machine='AMD64', processor='AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD')
version: 10.0.19041

You are getting a file system permission error ( Access Denied ) when the installer tries to write to C:\\\\Users\\\\username\\\\AppData\\\\Local\\\\Temp\\\\easy_install-odf3sfl0\\\\mmcv-1.1.6\\\\.eggs\\\\Cython-0.29.21-py3.6-win-amd64.egg\\\\Cython\\\\Compiler\\\\FlowControl.cp36-win_amd64.pyd当安装程序尝试写入C:\\\\Users\\\\username\\\\AppData\\\\Local\\\\Temp\\\\easy_install-odf3sfl0\\\\mmcv-1.1.6\\\\.eggs\\\\Cython-0.29.21-py3.6-win-amd64.egg\\\\Cython\\\\Compiler\\\\FlowControl.cp36-win_amd64.pyd时,您会收到文件系统权限错误 ( Access Denied ) C:\\\\Users\\\\username\\\\AppData\\\\Local\\\\Temp\\\\easy_install-odf3sfl0\\\\mmcv-1.1.6\\\\.eggs\\\\Cython-0.29.21-py3.6-win-amd64.egg\\\\Cython\\\\Compiler\\\\FlowControl.cp36-win_amd64.pyd

You need to make this path writable to the user running the installer.您需要使运行安装程序的用户可以写入此路径。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM