Error installing Z2Pack 2.1.1
Dominik Gresch
greschd at phys.ethz.ch
Mon Apr 16 13:43:53 CEST 2018
Hi Rajdeep,
You can ignore that, it should be installed correctly now.
Best regards,
Dominik
On 16.04.2018 13:42, Rajdeep Banerjee wrote:
> Dear sir,
> as you suggested I installed python3 setuptools and the
> z2pack got installed with the pip command. The last few lines are as
> follows:
>
> ...
>
> Could not find .egg-info directory in install record for z2pack==2.1.1
> from file:///home/rajdeep/soft/Z2Pack-master-2.1.x
>
> Successfully installed numpy scipy decorator blessings
> sortedcontainers msgpack-python fsc.locker fsc.export fsc.formatting
> fsc.iohelper z2pack
> Cleaning up...
>
>
>
> Is the warning about "egg-info directory" anything serious to care
> about or I can just ignore it? Thank you very much for your help.
>
> best regards,
> Rajdeep
>
>
>
> On Mon, Apr 16, 2018 at 3:13 PM, Dominik Gresch <greschd at phys.ethz.ch
> <mailto:greschd at phys.ethz.ch>> wrote:
>
> Dear Rajdeep,
>
> It seems that the update of setuptools happened with python 2
> instead of 3. You can force pip to use a specific Python
> interpreter by calling it as 'python -m pip' instead of simply
> calling 'pip', where 'python' should be the specific interpreter
> that you want to install something on.
>
> So in this case, you can try:
>
> sudo python3 -m pip install -U setuptools
> python3 -m pip install --user PATH_TO_Z2PACK
>
> Best regards,
>
> Dominik
>
>
> On 16.04.2018 06:42, Rajdeep Banerjee wrote:
>> Dear sir,
>> I tried following your suggestion and found the
>> following:
>> >> sudo pip install -U setuptools
>> Requirement already up-to-date: setuptools in
>> /usr/local/lib/python2.7/dist-packages
>> Cleaning up...
>>
>> It seems although I have installed python-3.5, but my default is
>> python-2.7. I changed the alias in bash so that calling python
>> will call python-3.5. But the problem persists.
>> >> sudo python -m pip install --user
>> /home/rajdeep/soft/Z2Pack-master-2.1.x
>>
>> ...
>>
>> Downloading/unpacking fsc.export (from z2pack==2.1.1)
>> Downloading fsc.export-1.1.0.tar.gz
>> Running setup.py
>> (path:/tmp/pip_build_rajdeep/fsc.export/setup.py) egg_info for
>> package fsc.export
>> error in fsc.export setup command: Invalid environment
>> marker: python_version < "3"
>> Complete output from command python setup.py egg_info:
>> error in fsc.export setup command: Invalid environment
>> marker: python_version < "3"
>>
>>
>> Please help. Thanks in advance.
>>
>> best regards,
>> Rajdeep
>>
>>
>>
>>
>> On Sat, Apr 14, 2018 at 10:34 PM, Rajdeep Banerjee
>> <rajdeep.jzs at gmail.com <mailto:rajdeep.jzs at gmail.com>> wrote:
>>
>> Dear sir,
>> thank you very much for your suggestion, I will
>> let you know if it works.
>>
>> best regards,
>> Rajdeep
>>
>>
>>
>> On Sat, Apr 14, 2018, 8:57 PM Dominik Gresch
>> <greschd at phys.ethz.ch <mailto:greschd at phys.ethz.ch>> wrote:
>>
>> Hi Rajdeep,
>>
>> I think this issue might be due to an outdated version of
>> the 'setuptools' package which does not recognize these
>> environment markers.
>>
>> Can you try running
>>
>> 'pip install -U setuptools'
>>
>> before installing Z2Pack?
>>
>> Best regards,
>> Dominik
>>
>> Am 14.04.2018 08:23 schrieb Rajdeep Banerjee
>> <rajdeep.jzs at gmail.com <mailto:rajdeep.jzs at gmail.com>>:
>>
>> Hi,
>> I am trying to install Z2Pack 2.1.1 (from source
>> file). I am getting the following error:
>>
>> Downloading/unpacking fsc.export (from z2pack==2.1.1)
>> Downloading fsc.export-1.1.0.tar.gz
>> Running setup.py
>> (path:/tmp/pip_build_rajdeep/fsc.export/setup.py)
>> egg_info for package fsc.export
>> error in fsc.export setup command: Invalid
>> environment marker: python_version < "3"
>> Complete output from command python setup.py
>> egg_info:
>> error in fsc.export setup command: Invalid
>> environment marker: python_version < "3"
>>
>> ----------------------------------------
>> Cleaning up...
>> Command python setup.py egg_info failed with error
>> code 1 in /tmp/pip_build_rajdeep/fsc.export
>> Storing debug log for failure in /tmp/tmp3bth1l3g
>>
>>
>> I thought it is due to python version but I have
>> python 3.5 as shown below:
>>
>>
>> [rajdeep at anna: Z2Pack-master-2.1.x]:python
>> Python 3.5.3 (default, Apr 22 2017, 00:00:00)
>> [GCC 4.8.4] on linux
>> Type "help", "copyright", "credits" or "license" for
>> more information.
>> >>>
>>
>> Please help. Thanks in advance!
>>
>>
>> best regards,
>> --
>> Rajdeep Banerjee
>> PhD student
>> JNCASR, Bangalore
>> India
>>
>>
>>
>>
>>
>> --
>> Rajdeep Banerjee
>> PhD student
>> JNCASR, Bangalore
>> India
>
>
>
>
> --
> Rajdeep Banerjee
> PhD student
> JNCASR, Bangalore
> India
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.phys.ethz.ch/pipermail/z2pack/attachments/20180416/63843d0d/attachment.html>
More information about the Z2Pack
mailing list