Hi Kenneth,

Thanks for letting me know what the problem was. It seems that the system 
Python on that particular machine is an antiquated one.

I’ve responded by ensuring that my deployment of Easybuild is done with a more 
up-to-date python. So far, this seems to be working.

Cheers,
Ben

> On 10/11/2015, at 4:42 PM, Kenneth Hoste <[email protected]> wrote:
> 
> Hi Ben,
> 
> On 10/11/15 04:30, Ben Roberts wrote:
>> Hi Kenneth,
>> 
>> I think I’m using version 0.6.10. This from the easy_install executable:
>> 
>> # EASY-INSTALL-ENTRY-SCRIPT: 
>> 'distribute==0.6.10','console_scripts',’easy_install’
> 
> That's a really old version (according to 
> https://pypi.python.org/pypi/distribute/0.6.10, Sept 2011), I guess that's 
> your problem...
>> 
>> I replaced “python ./setup.py install” with “easy_install” in the three 
>> places it appears, and I’m still getting the same message.
>> 
>> I have been using this same method (apart from the change to easy_install) 
>> for several months now, for the most part with no problems.
> 
> There have been quite a few changes to vsc-base lately in terms of how it's 
> installed and what's required to get it installed...
> Splitting off vsc-install into a separate package was one of those changes.
> 
> It seems like a sufficiently recent version of setuptools (in which 
> distribute was merged, see https://pypi.python.org/pypi/distribute/0.7.3) is 
> required to deal with setup.py symlink in vsc-instal correctly.
> 
> So, I think these are your options:
> 
> * make sure a recent version of setuptools is available on your system
> * install an older but sufficiently recent version of vsc-base yourself 
> before installing easybuild-framework; v2.2.4 (available from 
> https://pypi.python.org/pypi/vsc-base/2.2.4) is recent enough for EB v2.3.0 
> and the soon-to-be-released v2.4.0, but this requirement will be bumped to a 
> more recent vsc-base in the future...
> regards,
> 
> Kenneth
> 
>> 
>> Cheers,
>> Ben
>> 
>> 
>>> On 10/11/2015, at 4:24 PM, Kenneth Hoste <[email protected]> wrote:
>>> 
>>> Hi Ben,
>>> 
>>> What version of setuptools (the Python module) do you have on this system?
>>> 
>>> It seems like it's not preserving the setup.py symlink when trying to 
>>> install vsc-install...
>>> 
>>> Can you try installing the EasyBuild components with the command below 
>>> instead, rather than using "setup.py install"?
>>> The '.' is required at the end.
>>> 
>>> easy_install --prefix=<prefix> .
>>> 
>>> Let us know if using easy_install (which is provided by setuptools) helps.
>>> I would expect it doesn't, but you never know with Python packaging issues. 
>>> ;-)
>>> 
>>> 
>>> regards,
>>> 
>>> Kenneth
>>> 
>>> On 10/11/15 04:15, Ben Roberts wrote:
>>>> Hi Kenneth,
>>>> 
>>>> This is the output I get:
>>>> 
>>>> <snip>
>>>> Installed 
>>>> /home/brob695/easybuild_installed/lib/python2.6/site-packages/easybuild_framework-2.4.0.dev0-py2.6.egg
>>>> Processing dependencies for easybuild-framework==2.4.0.dev0
>>>> Searching for vsc-base>=2.2.4
>>>> Reading
>>>> http://pypi.python.org/simple/vsc-base/
>>>> 
>>>> Best match: vsc-base 2.4.12
>>>> Downloading
>>>> https://pypi.python.org/packages/source/v/vsc-base/vsc-base-2.4.12.tar.gz#md5=fcb338f661313ca198809da137394a42
>>>> 
>>>> Processing vsc-base-2.4.12.tar.gz
>>>> Running vsc-base-2.4.12/setup.py -q bdist_egg --dist-dir 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/egg-dist-tmp-5Xlu8j
>>>> run_tests from base dir /tmp/easy_install-WIXiEY/vsc-base-2.4.12 (using 
>>>> executable /tmp/easy_install-WIXiEY/vsc-base-2.4.12/setup.py)
>>>> generated packages list: ['vsc', 'vsc.utils']
>>>> cleanup lib/vsc_base.egg-info
>>>> removing 'lib/vsc_base.egg-info' (and everything under it)
>>>> makesetupcfg set to True, (re)creating setup.cfg
>>>> New target = {'maintainer': 'Stijn De Weirdt;Jens Timmermans;Andy 
>>>> Georges;Kenneth Hoste', 'version': '2.4.12', 'install_requires': 
>>>> ['vsc-install >= 0.9.3'], 'scripts': ['bin/logdaemon.py', 
>>>> 'bin/startlogdaemon.sh', 'bin/bdist_rpm.sh', 'bin/optcomplete.bash'], 
>>>> 'setup_requires': ['vsc-install >= 0.9.3'], 'maintainer_email': '
>>>> [email protected];[email protected];[email protected];[email protected]',
>>>>  'zip_safe': 1, 'author_email': 
>>>> '[email protected];[email protected];[email protected];[email protected]
>>>> ', 'packages': ['vsc', 'vsc.utils'], 'package_dir': {'': 'lib'}, 'name': 
>>>> 'vsc-base', 'author': 'Stijn De Weirdt;Jens Timmermans;Andy Georges;Ke
>>>>  nneth Hos
>>>> te', 'url': '
>>>> https://github.com/hpcugent/vsc-base', 'download_url': 
>>>> 'https://github.com/hpcugent/vsc-base/tarball/master
>>>> ', 'cmdclass': {'test': <class shared_setup_dist_only.VscTestCommand at 
>>>> 0xf4e1d0>, 'bdist_rpm': <class shared_setup_dist_only.vsc_bdist_rpm at 
>>>> 0xf31950>, 'egg_info': <class shared_setup_dist_only.vsc_egg_info at 
>>>> 0xf317d0>, 'install_scripts': <class 
>>>> shared_setup_dist_only.vsc_install_scripts at 0xf31890>, 'sdist': <class 
>>>> shared_setup_dist_only.vsc_sdist at 0xf31770>}, 'test_suite': 'test'}
>>>> Checking .pth file support in .
>>>> /usr/bin/python -E -c pass
>>>> Searching for vsc-install>=0.9.3
>>>> Reading
>>>> http://pypi.python.org/simple/vsc-install/
>>>> 
>>>> Found link:
>>>> https://pypi.python.org/packages/source/v/vsc-install/vsc-install-0.9.3.tar.gz#md5=867900d4e14dcc324adcfa41176742c7
>>>> 
>>>> Found link:
>>>> https://pypi.python.org/packages/source/v/vsc-install/vsc-install-0.9.6.tar.gz#md5=8b8c84021d7741e1e2118b6d42e39747
>>>> 
>>>> Best match: vsc-install 0.9.6
>>>> Downloading
>>>> https://pypi.python.org/packages/source/v/vsc-install/vsc-install-0.9.6.tar.gz#md5=8b8c84021d7741e1e2118b6d42e39747
>>>> 
>>>> Validating md5 checksum for 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6.tar.gz
>>>> Processing vsc-install-0.9.6.tar.gz
>>>> Unpacking vsc-install-0.9.6 to 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6
>>>> Unpacking vsc-install-0.9.6/LICENSE to 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6/LICENSE
>>>> Unpacking vsc-install-0.9.6/PKG-INFO to 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6/PKG-INFO
>>>> Unpacking vsc-install-0.9.6/README.md to 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6/README.md
>>>> Unpacking vsc-install-0.9.6/lib to 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6/lib
>>>> Unpacking vsc-install-0.9.6/lib/vsc to 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6/lib/vsc
>>>> Unpacking vsc-install-0.9.6/lib/vsc/__init__.py to 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6/lib/vsc/__init__.py
>>>> Unpacking vsc-install-0.9.6/lib/vsc/fancylogger.py to 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6/lib/vsc/fancylogger.py
>>>> Unpacking vsc-install-0.9.6/lib/vsc/install to 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6/lib/vsc/install
>>>> Unpacking vsc-install-0.9.6/lib/vsc/install/__init__.py to 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6/lib/vsc/install/__init__.py
>>>> Unpacking vsc-install-0.9.6/lib/vsc/install/headers.py to 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6/lib/vsc/install/headers.py
>>>> Unpacking vsc-install-0.9.6/lib/vsc/install/shared_setup.py to 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6/lib/vsc/install/shared_setup.py
>>>> Unpacking vsc-install-0.9.6/lib/vsc/install/testing.py to 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6/lib/vsc/install/testing.py
>>>> Unpacking vsc-install-0.9.6/lib/vsc_install.egg-info to 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6/lib/vsc_install.egg-info
>>>> Unpacking vsc-install-0.9.6/lib/vsc_install.egg-info/PKG-INFO to 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6/lib/vsc_install.egg-info/PKG-INFO
>>>> Unpacking vsc-install-0.9.6/lib/vsc_install.egg-info/SOURCES.txt to 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6/lib/vsc_install.egg-info/SOURCES.txt
>>>> Unpacking vsc-install-0.9.6/lib/vsc_install.egg-info/dependency_links.txt 
>>>> to 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6/lib/vsc_install.egg-info/dependency_links.txt
>>>> Unpacking vsc-install-0.9.6/lib/vsc_install.egg-info/requires.txt to 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6/lib/vsc_install.egg-info/requires.txt
>>>> Unpacking vsc-install-0.9.6/lib/vsc_install.egg-info/top_level.txt to 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6/lib/vsc_install.egg-info/top_level.txt
>>>> Unpacking vsc-install-0.9.6/setup.cfg to 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6/setup.cfg
>>>> error: Couldn't find a setup script in 
>>>> /tmp/easy_install-WIXiEY/vsc-base-2.4.12/temp/easy_install-YTL8U4/vsc-install-0.9.6.tar.gz
>>>> <snip>
>>>> 
>>>> This is for easybuild-framework, but I see similar results for 
>>>> easybuild-easyblocks and easybuild-easyconfigs.
>>>> 
>>>> As for what I was doing (the commands), I’ve attached a copy of the shell 
>>>> function ‘eb-redeploy’ that I use. The lines giving the problem seem to be 
>>>> the python installations (43, 46 and 49).
>>>> 
>>>> Regards,
>>>> Ben
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>>> On 10/11/2015, at 3:59 PM, Kenneth Hoste <[email protected]>
>>>>>  wrote:
>>>>> 
>>>>> Hi Ben,
>>>>> 
>>>>> On 10/11/15 03:41, Ben Roberts wrote:
>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> I have a process that “redeploys” EasyBuild in my working copy by 
>>>>>> deleting existing installations (builds, egg files and so on) and then 
>>>>>> reinstalling new ones from the active git branches.
>>>>>> 
>>>>>> Today, I noticed that when I tried to do this, I got the following 
>>>>>> message during instalation:
>>>>>> 
>>>>>> error: Couldn't find a setup script in 
>>>>>> /tmp/easy_install-xExTSz/vsc-base-2.4.12/temp/easy_install-AfV1IR/vsc-install-0.9.6.tar.gz
>>>>>> 
>>>>>> Does anyone have any idea what I could do to fix this problem? It seems 
>>>>>> a rather odd one, and perhaps not caused by something in Easybuild 
>>>>>> itself.
>>>>>> 
>>>>> You'll have to provide some more details here...
>>>>> 
>>>>> When is this showing up exactly, which command is triggering this, what's 
>>>>> the full error message/traceback you're getting?
>>>>> 
>>>>> Since recently, vsc-install is a requirement for installing vsc-base, 
>>>>> because it provides some shared support for installing of our vsc 
>>>>> packages.
>>>>> 
>>>>> The setup.py in vsc-install is a symlink to another script, maybe your 
>>>>> procedure is tripping over that somehow?
>>>>> 
>>>>> 
>>>>> regards,
>>>>> 
>>>>> Kenneth
>>>>> 
> 

Reply via email to