I was getting the error

ImportError: No module named vsc.utils

Putting __init__.py in vsc/utils fixed this error for me.

Thanks,
Cormac.

On Mon, Mar 21, 2016 at 4:16 PM, Garvey, Cormac T <[email protected]>
wrote:

> My easybuild 2.7.0 also seemed to be missing __init__.py in dir
> site-packages/vsc ?
>
> Thanks,
> Cormac.
>
> On Mon, Mar 21, 2016 at 2:53 PM, Garvey, Cormac T <[email protected]>
> wrote:
>
>> Hi Kenneth,
>> Silly mistake on my part, my PYTHONPATH was set incorrectly in my 2.7.0
>> easybuild module file.
>>
>> It was referencing my previous version easybuild 2.3 instead of the new
>> easybuild 2.7.0
>>
>> changed from
>>
>> set VERSION 2.7.0
>> prepend-path PYTHONPATH $SWDIR/$VERSION/lib/python2.7/site-packages
>>
>> to
>>
>> set VERSION 2.7.0
>> prepend-path PYTHONPATH $SWDIR/$VERSION/lib64/python2.6/site-packages
>>
>> Then everything worked as expected.
>>
>> Thanks,
>> Cormac.
>>
>>
>> On Mon, Mar 21, 2016 at 2:37 PM, Kenneth Hoste <[email protected]>
>> wrote:
>>
>>> Hi Cormac,
>>>
>>> Can you mention what the problem was (for future reference, in case
>>> someone else run into the same problem?
>>>
>>>
>>> regards,
>>>
>>> Kenneth
>>>
>>>
>>> On 21/03/16 19:40, Garvey, Cormac T wrote:
>>>
>>> Hi,
>>> Please ignore, problem is resolved (error in my module file).
>>>
>>> Sorry,
>>> Cormac.
>>>
>>> On Mon, Mar 21, 2016 at 12:29 PM, Garvey, Cormac T <
>>> <[email protected]>[email protected]> wrote:
>>>
>>>>
>>>> Hi,
>>>> I attempted to upgrade to easybuild 2.7.0
>>>>
>>>> python -V
>>>> Python 2.6.9
>>>>
>>>> pip install
>>>> --install-option="--prefix=/hpc-common/software/easybuild/2.7.0" easybuild
>>>>
>>>> which eb
>>>> /hpc-common/software/easybuild/2.7.0/bin/eb
>>>>
>>>> eb -h
>>>> /usr/bin/python2: No module named easybuild.main
>>>>
>>>> How do I correct this? Where should easybuild.main be installed?
>>>>
>>>> Thanks,
>>>> Cormac.
>>>>
>>>> --
>>>>
>>>>
>>>
>>>
>>> --
>>> Cormac Garvey
>>> HPC Software Consultant
>>> Scientific Computing
>>> Idaho National Laboratory
>>> Ph: 208-526-6294
>>>
>>>
>>>
>>
>>
>> --
>> Cormac Garvey
>> HPC Software Consultant
>> Scientific Computing
>> Idaho National Laboratory
>> Ph: 208-526-6294
>>
>>
>
>
> --
> Cormac Garvey
> HPC Software Consultant
> Scientific Computing
> Idaho National Laboratory
> Ph: 208-526-6294
>
>


-- 
Cormac Garvey
HPC Software Consultant
Scientific Computing
Idaho National Laboratory
Ph: 208-526-6294

Reply via email to