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@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,
Hi,
It would be very simplified if you install it from the pip repo.
or use this:
python3 -m pip install --user "PATH TO Z2pack"
It kind of works for me, I hope same for you.
Regards,
On 04/14/2018 11:53 AM, Rajdeep Banerjee wrote:
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:
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
Hi, thanks for the suggestion. I will try it out and let you know.
best, Rajdeep
On Sat, Apr 14, 2018, 12:05 PM Mohammed Kader Ghadiyali < ghadiyali.mohd@gmail.com> wrote:
Hi,
It would be very simplified if you install it from the pip repo.
or use this:
python3 -m pip install --user "PATH TO Z2pack"
It kind of works for me, I hope same for you.
Regards,
On 04/14/2018 11:53 AM, Rajdeep Banerjee wrote:
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:
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
-- Ghadiyali Mohammed Kader Research Scholar Department of Physics University of Mumbai +91 8898519951
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@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@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:
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
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@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@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@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:
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
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@gmail.com mailto:rajdeep.jzs@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@phys.ethz.ch <mailto:greschd@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@gmail.com <mailto:rajdeep.jzs@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@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
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@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@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@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@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:
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
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@phys.ethz.ch mailto:greschd@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@gmail.com <mailto:rajdeep.jzs@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@phys.ethz.ch <mailto:greschd@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@gmail.com <mailto:rajdeep.jzs@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@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
Dear sir, thank you very much for all your help, I will go ahead with the examples then.
best regards, Rajdeep
On Mon, Apr 16, 2018 at 5:13 PM, Dominik Gresch greschd@phys.ethz.ch wrote:
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@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-mast
er-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@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@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@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:
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