群晖nas安装python,在DSM / Synology上安装pip

Thedirectory'/var/services/homes/admin/.cache/pip/http'orits parent directoryisnotowned by the current userandthe cache has been disabled.Pleasecheck the permissionsandowner of that directory.Ifexecuting pipwithsudo,you may want sudo's -H flag.The directory '/var/services/homes/admin/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's-H flag.CollectingpipDownloadingpip-9.0.1-py2.py3-none-any.whl(1.3MB)100%|################################|1.3MB131kB/sCollectingsetuptoolsDownloadingsetuptools-38.2.4-py2.py3-none-any.whl(489kB)100%|################################|491kB305kB/sCollectingwheelDownloadingwheel-0.30.0-py2.py3-none-any.whl(49kB)100%|################################|51kB296kB/sInstallingcollected packages:pip,setuptools,wheelException:Traceback(most recent call last):File"/usr/local/lib/python3.3/distutils/sysconfig.py",line449,in_init_posixwithopen(filename)asfile:FileNotFoundError:[Errno2]Nosuch fileordirectory:'/usr/local/include/python3.3m/pyconfig.h'Duringhandling of the above exception,another exception occurred:Traceback(most recent call last):File"/tmp/tmpdqp31o/pip.zip/pip/basecommand.py",line215,inmainstatus=self.run(options,args)File"/tmp/tmpdqp31o/pip.zip/pip/commands/install.py",line342,inrunprefix=options.prefix_path,File"/tmp/tmpdqp31o/pip.zip/pip/req/req_set.py",line784,ininstall**kwargsFile"/tmp/tmpdqp31o/pip.zip/pip/req/req_install.py",line851,ininstallself.move_wheel_files(self.source_dir,root=root,prefix=prefix)File"/tmp/tmpdqp31o/pip.zip/pip/req/req_install.py",line1064,inmove_wheel_filesisolated=self.isolated,File"/tmp/tmpdqp31o/pip.zip/pip/wheel.py",line247,inmove_wheel_filesprefix=prefix,File"/tmp/tmpdqp31o/pip.zip/pip/locations.py",line153,indistutils_schemei.finalize_options()File"/usr/local/lib/python3.3/distutils/command/install.py",line313,infinalize_options(prefix,exec_prefix)=get_config_vars('prefix','exec_prefix')File"/usr/local/lib/python3.3/distutils/sysconfig.py",line531,inget_config_varsfunc()File"/usr/local/lib/python3.3/distutils/sysconfig.py",line456,in_init_posixraiseDistutilsPlatformError(my_msg)distutils.errors.DistutilsPlatformError:invalidPythoninstallation:unable to open/usr/local/include/python3.3m/pyconfig.h(Nosuch fileordirectory)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值