簡體   English   中英

無法在 Python 上安裝 MMFashion

[英]Can't install MMFashion on Python

我正在嘗試在 python 上安裝 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'

系統;

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

當安裝程序嘗試寫入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

您需要使運行安裝程序的用戶可以寫入此路徑。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM