From 2011300030 at mail.nwpu.edu.cn Sat Apr 9 10:46:39 2016 From: 2011300030 at mail.nwpu.edu.cn (=?UTF-8?B?5qiK5rab?=) Date: Sat, 9 Apr 2016 22:46:39 +0800 (GMT+08:00) Subject: [Python-porting] help for python-six install Message-ID: <79bbfb.63e.153fb7d3231.Coremail.2011300030@mail.nwpu.edu.cn> Dear all: when I install the six on a cluster,it reports the following error: running install Checking .pth file support in /export/home/fant/software/six//lib/python2.6/site-packages/ error: can't create or remove files in install directory The following error occurred while trying to add or remove files in the installation directory: [Errno 2] No such file or directory: '/export/home/fant/software/six//lib/python2.6/site-packages/test-easy-install-14301.pth' The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was: /export/home/fant/software/six//lib/python2.6/site-packages/ This directory does not currently exist. Please create it and try again, or choose a different installation directory (using the -d or --install-dir option). it said there is no such a file named test-easy-install-14301.pth,I don't know what this file can do and certainly I don't have it in my account,nor in the whole cluster. so, what should I do to deal with such a problem? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From regebro at gmail.com Mon Apr 18 13:39:50 2016 From: regebro at gmail.com (Lennart Regebro) Date: Mon, 18 Apr 2016 19:39:50 +0200 Subject: [Python-porting] help for python-six install In-Reply-To: <79bbfb.63e.153fb7d3231.Coremail.2011300030@mail.nwpu.edu.cn> References: <79bbfb.63e.153fb7d3231.Coremail.2011300030@mail.nwpu.edu.cn> Message-ID: You have specified to install into a location that does not exist. Is the path correct? You seem to have an unusual setup, you don't usually install Python libraries in separate directories, although it is of course possible. On Sat, Apr 9, 2016 at 4:46 PM, ?? <2011300030 at mail.nwpu.edu.cn> wrote: > Dear all: > > when I install the six on a cluster,it reports the following error: > > running install > Checking .pth file support in > /export/home/fant/software/six//lib/python2.6/site-packages/ > error: can't create or remove files in install directory > > The following error occurred while trying to add or remove files in the > installation directory: > > [Errno 2] No such file or directory: > '/export/home/fant/software/six//lib/python2.6/site-packages/test-easy-install-14301.pth' > > The installation directory you specified (via --install-dir, --prefix, or > the distutils default setting) was: > > /export/home/fant/software/six//lib/python2.6/site-packages/ > > This directory does not currently exist. Please create it and try again, or > choose a different installation directory (using the -d or --install-dir > option). > > it said there is no such a file named test-easy-install-14301.pth,I don't > know what this file can do and certainly I don't have it in my account,nor > in the whole cluster. > > so, what should I do to deal with such a problem? > > Thanks! > > > _______________________________________________ > Python-porting mailing list > Python-porting at python.org > https://mail.python.org/mailman/listinfo/python-porting >