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)
群晖nas安装python,在DSM / Synology上安装pip
最新推荐文章于 2024-04-22 16:06:23 发布