<div dir="ltr"><div><div><div>Dear sir,<br></div> thank you very much for all your help, I will go ahead with the examples then.<br><br></div>best regards,<br></div>Rajdeep<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 16, 2018 at 5:13 PM, Dominik Gresch <span dir="ltr"><<a href="mailto:greschd@phys.ethz.ch" target="_blank">greschd@phys.ethz.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Hi Rajdeep,</p>
<p>You can ignore that, it should be installed correctly now.</p>
<p>Best regards,</p>
<p>Dominik<br>
</p><div><div class="h5">
<br>
<div class="m_2997459097508715077moz-cite-prefix">On 16.04.2018 13:42, Rajdeep Banerjee
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>Dear sir,<br>
</div>
as you suggested I installed python3 setuptools
and the z2pack got installed with the pip command. The last
few lines are as follows:<br>
<br>
... <br>
<br>
Could not find .egg-info directory in install record for
z2pack==2.1.1 from
<a class="m_2997459097508715077moz-txt-link-freetext">file:///home/rajdeep/soft/<wbr>Z2Pack-master-2.1.x</a><br>
<br>
Successfully installed numpy scipy decorator blessings
sortedcontainers msgpack-python fsc.locker fsc.export
fsc.formatting fsc.iohelper z2pack<br>
Cleaning up...<br>
<br>
<br>
<br>
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. <br>
<br>
</div>
<div>best regards,<br>
</div>
<div>Rajdeep<br>
</div>
<div><br>
<br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Apr 16, 2018 at 3:13 PM,
Dominik Gresch <span dir="ltr"><<a href="mailto:greschd@phys.ethz.ch" target="_blank">greschd@phys.ethz.ch</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Dear Rajdeep,</p>
<p>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.</p>
<p>So in this case, you can try:</p>
<tt>sudo python3 -m pip install -U setuptools</tt><br>
<tt>python3 -m pip install --user PATH_TO_Z2PACK</tt>
<p>Best regards,</p>
<p>Dominik<br>
</p>
<div>
<div class="m_2997459097508715077h5"> <br>
<div class="m_2997459097508715077m_413260895682212971moz-cite-prefix">On
16.04.2018 06:42, Rajdeep Banerjee wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>Dear sir,<br>
</div>
I tried following your suggestion
and found the following:<br>
>> sudo pip install -U setuptools <br>
Requirement already up-to-date: setuptools in
/usr/local/lib/python2.7/dist-<wbr>packages<br>
Cleaning up...<br>
<br>
</div>
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.<br>
>> sudo python -m pip install --user
/home/rajdeep/soft/Z2Pack-mast<wbr>er-2.1.x<br>
<br>
...<br>
<br>
<div>Downloading/unpacking fsc.export (from
z2pack==2.1.1)<br>
Downloading fsc.export-1.1.0.tar.gz<br>
Running setup.py (path:/tmp/pip_build_rajdeep/f<wbr>sc.export/setup.py)
egg_info for package fsc.export<br>
error in fsc.export setup command: Invalid
environment marker: python_version < "3"<br>
Complete output from command python setup.py
egg_info:<br>
error in fsc.export setup command: Invalid
environment marker: python_version < "3"<br>
<br>
<br>
</div>
<div>Please help. Thanks in advance.<br>
<br>
</div>
<div>best regards,<br>
</div>
<div>Rajdeep<br>
</div>
<div><br>
<br>
<br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Apr 14, 2018 at
10:34 PM, Rajdeep Banerjee <span dir="ltr"><<a href="mailto:rajdeep.jzs@gmail.com" target="_blank">rajdeep.jzs@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">Dear sir,
<div dir="auto"> thank you very
much for your suggestion, I will let you
know if it works.</div>
<div dir="auto"><br>
</div>
<div dir="auto">best regards,</div>
<div dir="auto">Rajdeep</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
</div>
<div class="m_2997459097508715077m_413260895682212971HOEnZb">
<div class="m_2997459097508715077m_413260895682212971h5"><br>
<div class="gmail_quote">
<div dir="ltr">On Sat, Apr 14, 2018,
8:57 PM Dominik Gresch <<a href="mailto:greschd@phys.ethz.ch" target="_blank">greschd@phys.ethz.ch</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">Hi Rajdeep,
<div dir="auto"><br>
</div>
<div dir="auto">I think this issue
might be due to an outdated
version of the 'setuptools'
package which does not recognize
these environment markers.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Can you try running </div>
<div dir="auto"><br>
</div>
<div dir="auto">'pip install -U
setuptools'</div>
<div dir="auto"><br>
</div>
<div dir="auto">before installing
Z2Pack?</div>
<div dir="auto"><br>
</div>
<div dir="auto">Best regards,</div>
<div dir="auto">Dominik</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">Am
14.04.2018 08:23 schrieb Rajdeep
Banerjee <<a href="mailto:rajdeep.jzs@gmail.com" rel="noreferrer" target="_blank">rajdeep.jzs@gmail.com</a>>:<br type="attribution">
<blockquote class="m_2997459097508715077m_413260895682212971m_-7351190661425051621m_-1923250587986364406quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>
<div>Hi,<br>
</div>
I am trying to install
Z2Pack 2.1.1 (from source
file). I am getting the
following error:<br>
<br>
Downloading/unpacking
fsc.export (from
z2pack==2.1.1)<br>
Downloading
fsc.export-1.1.0.tar.gz<br>
Running setup.py
(path:/tmp/pip_build_rajdeep/f<wbr>sc.export/setup.py)
egg_info for package
fsc.export<br>
error in fsc.export
setup command: Invalid
environment marker:
python_version < "3"<br>
Complete output from
command python setup.py
egg_info:<br>
error in fsc.export
setup command: Invalid
environment marker:
python_version < "3"<br>
<br>
------------------------------<wbr>----------<br>
Cleaning up...<br>
Command python setup.py
egg_info failed with error
code 1 in
/tmp/pip_build_rajdeep/fsc.exp<wbr>ort<br>
Storing debug log for
failure in /tmp/tmp3bth1l3g<br>
<br>
<br>
</div>
I thought it is due to python
version but I have python 3.5
as shown below:<br>
<div><br>
<br>
[rajdeep@anna:
Z2Pack-master-2.1.x]:python<br>
Python 3.5.3 (default, Apr
22 2017, 00:00:00) <br>
[GCC 4.8.4] on linux<br>
Type "help", "copyright",
"credits" or "license" for
more information.<br>
>>> <br>
<br>
</div>
<div>Please help. Thanks in
advance!<br>
</div>
<div><br>
<br clear="all">
<div>
<div>best regards,<br>
</div>
<div>-- <br>
<div>
<div dir="ltr">Rajdeep
Banerjee<br>
PhD student
<div>JNCASR,
Bangalore</div>
<div>India</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="m_2997459097508715077m_413260895682212971gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">Rajdeep Banerjee<br>
PhD student
<div>JNCASR, Bangalore</div>
<div>India</div>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="m_2997459097508715077gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">Rajdeep Banerjee<br>
PhD student
<div>JNCASR, Bangalore</div>
<div>India</div>
</div>
</div>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Rajdeep Banerjee<br>PhD student<div>JNCASR, Bangalore</div><div>India</div></div></div>
</div>