after do
mkdir -p /tmp/test/lib/python2.7/site-packages
export PYTHONPATH=/tmp/test/lib/python2.7/site-packages:$PYTHONPATH
i run again
easy_install --verbose --prefix /tmp/test easybuild
same output
TEST FAILED: /tmp/test/lib/python2.7/site-packages does NOT support .pth
files
error: bad install directory or PYTHONPATH
You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from. The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/tmp/test/lib/python2.7/site-packages
and your PYTHONPATH environment variable currently contains:
''
Here are some of your options for correcting the problem:
* You can choose a different installation directory, i.e., one that is
on PYTHONPATH or supports .pth files
* You can add the installation directory to the PYTHONPATH environment
variable. (It must then also be on PYTHONPATH whenever you run
Python and want to use the package(s) you are installing.)
* You can set up the installation directory to support ".pth" files by
using one of the approaches described here:
https://pythonhosted.org/setuptools/easy_install.html#custom-installation-locations
Please make the appropriate changes for your system and try again.
2017-06-27 15:36 GMT-03:00 Kenneth Hoste <[email protected]>:
> Dear Ernesto,
>
> OK, I overlooked some, try this please:
>
> mkdir -p /tmp/test/lib/python2.7/site-packages
> export PYTHONPATH=/tmp/test/lib/python2.7/site-packages:$PYTHONPATH
> easy_install --verbose --prefix /tmp/test easybuild
>
>
> regards,
>
> Kenneth
>
> On 27/06/2017 19:05, Ernesto Eduardo Diaz Conde wrote:
>
> this is the output for
>
> easy_install --verbose --prefix /tmp/test easybuild
>
> admremote@monitoring-system:~$ easy_install --verbose --prefix /tmp/test
> easybuild
> TEST FAILED: /tmp/test/lib/python2.7/site-packages does NOT support .pth
> files
> error: bad install directory or PYTHONPATH
>
> You are attempting to install a package to a directory that is not
> on PYTHONPATH and which Python does not read ".pth" files from. The
> installation directory you specified (via --install-dir, --prefix, or
> the distutils default setting) was:
>
> /tmp/test/lib/python2.7/site-packages
>
> and your PYTHONPATH environment variable currently contains:
>
> ''
>
> Here are some of your options for correcting the problem:
>
> * You can choose a different installation directory, i.e., one that is
> on PYTHONPATH or supports .pth files
>
> * You can add the installation directory to the PYTHONPATH environment
> variable. (It must then also be on PYTHONPATH whenever you run
> Python and want to use the package(s) you are installing.)
>
> * You can set up the installation directory to support ".pth" files by
> using one of the approaches described here:
>
> https://pythonhosted.org/setuptools/easy_install.html#
> custom-installation-locations
>
> Please make the appropriate changes for your system and try again.
>
>
> 2017-06-27 13:46 GMT-03:00 Kenneth Hoste <[email protected]>:
>
>> Hi Ernesto,
>>
>> (let's keep the mailing list in CC, since this may help others in the
>> future)
>>
>> I meant try this:
>>
>> easy_install --verbose --prefix /tmp/test easybuild
>>
>>
>> regards,
>>
>> Kenneth
>>
>>
>> On 27/06/2017 17:15, Ernesto Eduardo Diaz Conde wrote:
>>
>> Hello Kenneth
>>
>> I arrived las week to the office, i see the notification of the new
>> version of easybuild, but i continue having the same error. i do what you
>> tell me
>>
>> Can you try with "easy_install --verbose ..." to see if that gives more
>> information and what goes wrong?
>>
>> this was the outputadmremote@monitoring-system:~$ easy_install --verbose
>> error: No urls, filenames, or requirements specified (see --help)
>>
>>
>> 2017-06-15 11:52 GMT-03:00 Ernesto Eduardo Diaz Conde <
>> [email protected]>:
>>
>>> i download the page from the system using wget
>>>
>>> 2017-06-15 11:48 GMT-03:00 Kenneth Hoste <[email protected]>:
>>>
>>>>
>>>>
>>>> On 15/06/2017 16:33, Ernesto Eduardo Diaz Conde wrote:
>>>>
>>>>
>>>>
>>>> 2017-06-15 6:02 GMT-03:00 Kenneth Hoste <[email protected]>:
>>>>
>>>>> Dear Ernesto,
>>>>>
>>>>> It seems that setuptools isn't able to download EasyBuild from PyPI ()
>>>>> for some reason.
>>>>>
>>>>> Are you seeing the same problem with this command?
>>>>>
>>>>> easy_install --prefix /tmp/test easybuild
>>>>>
>>>>> Yes with command the error is the same
>>>>
>>>> Can you try with "easy_install --verbose ..." to see if that gives more
>>>> information and what goes wrong?
>>>>
>>>>
>>>>
>>>>> Is https://pypi.python.org/pypi/easybuild reachable from that system
>>>>>
>>>>
>>>> Yes the page is reachable fron the system
>>>>
>>>>
>>>> How did you test this exactly, which command did you run?
>>>>
>>>>
>>>> regards,
>>>>
>>>> Kenneth
>>>>
>>>>
>>>>
>>>>> If not, you can try the offline mode supported by the bootstrap
>>>>> script, see http://easybuild.readthedocs.i
>>>>> o/en/latest/Installation.html#offline-bootstrapping-using-su
>>>>> pplied-source-tarballs .
>>>>>
>>>>
>>>> I will try this. Tanks for help me
>>>>
>>>>>
>>>>>
>>>>> regards,
>>>>>
>>>>> Ernesto
>>>>>
>>>>>
>>>>> On 14/06/2017 15:31, Ernesto Eduardo Diaz Conde wrote:
>>>>>
>>>>> here is the output
>>>>>
>>>>> 2017-06-14 10:11 GMT-03:00 Ernesto Eduardo Diaz Conde <
>>>>> [email protected]>:
>>>>>
>>>>>> Thanks Kenneth,
>>>>>>
>>>>>> The error was the same in diferents OS, in debian 8, and CentOS 7.3,
>>>>>> i will run the comands that you send me and send the output
>>>>>>
>>>>>> Regards
>>>>>> Ernesto
>>>>>>
>>>>>> 2017-06-13 17:38 GMT-03:00 Kenneth Hoste <[email protected]>:
>>>>>>
>>>>>>> Hi Ernesto,
>>>>>>>
>>>>>>> Hmm, it's not clear to me what's going wrong here.
>>>>>>>
>>>>>>> Which OS are you on?
>>>>>>>
>>>>>>> Can you try bootstrapping EasyBuild with debugging enabled, as
>>>>>>> follows:
>>>>>>>
>>>>>>> export EASYBUILD_BOOTSTRAP_DEBUG=1
>>>>>>> python bootstrap_eb.py $PREFIX 2>&1 | tee eb_bootstrap_debug.out
>>>>>>>
>>>>>>> And then send back eb_bootstrap_debug.out?
>>>>>>>
>>>>>>> regards,
>>>>>>>
>>>>>>> Kenneth
>>>>>>>
>>>>>>>
>>>>>>> On 13/06/2017 21:00, Ernesto Eduardo Diaz Conde wrote:
>>>>>>>
>>>>>>> Hello
>>>>>>> I have tried installing the new version of EasyBuil and am getting
>>>>>>> an error like this:
>>>>>>>
>>>>>>>
>>>>>>> [[INFO]] installing EasyBuild with 'easy_install --quiet --upgrade
>>>>>>> --prefix=/tmp
>>>>>>>
>>>>>>> /tmpGNtTsT/eb_stage1 easybuild'
>>>>>>> [[ERROR]] Running 'easy_install --quiet --upgrade
>>>>>>> --prefix=/tmp/tmpGNtTsT/eb_stage1 easybuild' failed: error: Could
>>>>>>> not find suitable distribution for Requirement.parse('easybuild')
>>>>>>> Traceback (most recent call last):
>>>>>>> File "bootstrap_eb.py", line 337, in run_easy_install
>>>>>>> easy_install.main(args)
>>>>>>> File
>>>>>>> "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py",
>>>>>>> line 2265, in main
>>>>>>> **kw
>>>>>>> File "/usr/lib/python2.7/distutils/core.py", line 169, in setup
>>>>>>> raise SystemExit, "error: " + str(msg)
>>>>>>> SystemExit: error: Could not find suitable distribution for
>>>>>>> Requirement.parse('easybuild')
>>>>>>>
>>>>>>>
>>>>>>> I would appreciate the help if someone has already solved it
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>
>