为我工作.我确信这不是一个完美的解决方案,但它有点像快速修复.不过帮了我.Trying to install virtualenvwrapper-powershell but having following error:chown() missing 1 required positional argument: 'numeric_owner' I got it after reading this article: (actually i had a problem described in it)Guy named Alexander Zonov suggested:And after i've done i got my error:Traceback (most recent call last): File "C:\Python35\virtualenvwrapper-powershell-12.7.8\distribute_setup.py", line 143, in use_setuptools raise ImportErrorImportErrorDuring handling of the above exception, another exception occurred:Traceback (most recent call last): File "setup.py", line 11, in <module> distribute_setup.use_setuptools() File "C:\Python35\virtualenvwrapper-powershell-12.7.8\distribute_setup.py", line 145, in use_setuptools return _do_download(version, download_base, to_dir, download_delay) File "C:\Python35\virtualenvwrapper-powershell-12.7.8\distribute_setup.py", line 125, in _do_download _build_egg(egg, tarball, to_dir) File "C:\Python35\virtualenvwrapper-powershell-12.7.8\distribute_setup.py", line 99, in _build_egg _extractall(tar) File "C:\Python35\virtualenvwrapper-powershell-12.7.8\distribute_setup.py", line 459, in _extractall self.chown(tarinfo, dirpath)TypeError: chown() missing 1 required positional argument: 'numeric_owner'Any hints how may I solve this issue? 解决方案 Goto line no: 459 in "distribute_setup.py" and try adding an empty argument, like this: chown(tarinfo, dirpath, '');worked for me.I'm sure this isn't a perfect solution, but it's kinda like quickfix. helped me though. 这篇关于安装 virtualenvwrapper-powershell 时出现参数错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 09-23 18:21