Error installing netcdf4 in python 2.7

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have try to install library netCDF 4 on my python, i use linux but when install i get error like this
Collecting netcdf4
Using cached https://files.pythonhosted.org/packages/17/89/c99c68f6c5a49eee90bc9070ea9ecf94396bd11f46ae1f51e047e6c96763/netCDF4-1.4.1-cp27-cp27mu-manylinux1_x86_64.whl
Collecting cftime (from netcdf4)
Using cached https://files.pythonhosted.org/packages/bf/f6/3045262ece2e730183b1f82d2ac7190ed12422c1ef43c8059bae210220ca/cftime-1.0.1.tar.gz
Complete output from command python setup.py egg_info:
Unable to find pgen, not compiling formal grammar.
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Plex/Scanners.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Plex/Actions.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Pythran.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Lexicon.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Scanning.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Parsing.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Visitor.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/FlowControl.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Code.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Runtime/refnanny.pyx because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/FusedNode.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Tempita/_tempita.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/StringIOTree.py because it changed.
[ 1/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Code.py
[ 2/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/FlowControl.py
[ 3/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/FusedNode.py
[ 4/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Lexicon.py
[ 5/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Parsing.py
[ 6/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Pythran.py
[ 7/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Scanning.py
[ 8/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Visitor.py
[ 9/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Plex/Actions.py
[10/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Plex/Scanners.py
[11/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Runtime/refnanny.pyx
[12/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/StringIOTree.py
[13/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Tempita/_tempita.py
warning: no files found matching '2to3-fixers.txt'
warning: no files found matching 'Doc/*'
warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Utility'
warning: no files found matching 'pyximport/README'
Installed /tmp/pip-install-JBLnHE/cftime/Cython-0.28.5-py2.7-linux-x86_64.egg
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-JBLnHE/cftime/setup.py", line 38, in <module>
tests_require=tests_require)
File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 265, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 289, in fetch_build_eggs
parse_requirements(requires), installer=self.fetch_build_egg
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 630, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (setuptools 0.9.8 (/usr/lib/python2.7/site-packages), Requirement.parse('setuptools>=18.0'))
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-JBLnHE/cftime/
python
add a comment |Â
up vote
0
down vote
favorite
I have try to install library netCDF 4 on my python, i use linux but when install i get error like this
Collecting netcdf4
Using cached https://files.pythonhosted.org/packages/17/89/c99c68f6c5a49eee90bc9070ea9ecf94396bd11f46ae1f51e047e6c96763/netCDF4-1.4.1-cp27-cp27mu-manylinux1_x86_64.whl
Collecting cftime (from netcdf4)
Using cached https://files.pythonhosted.org/packages/bf/f6/3045262ece2e730183b1f82d2ac7190ed12422c1ef43c8059bae210220ca/cftime-1.0.1.tar.gz
Complete output from command python setup.py egg_info:
Unable to find pgen, not compiling formal grammar.
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Plex/Scanners.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Plex/Actions.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Pythran.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Lexicon.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Scanning.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Parsing.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Visitor.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/FlowControl.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Code.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Runtime/refnanny.pyx because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/FusedNode.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Tempita/_tempita.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/StringIOTree.py because it changed.
[ 1/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Code.py
[ 2/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/FlowControl.py
[ 3/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/FusedNode.py
[ 4/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Lexicon.py
[ 5/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Parsing.py
[ 6/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Pythran.py
[ 7/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Scanning.py
[ 8/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Visitor.py
[ 9/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Plex/Actions.py
[10/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Plex/Scanners.py
[11/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Runtime/refnanny.pyx
[12/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/StringIOTree.py
[13/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Tempita/_tempita.py
warning: no files found matching '2to3-fixers.txt'
warning: no files found matching 'Doc/*'
warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Utility'
warning: no files found matching 'pyximport/README'
Installed /tmp/pip-install-JBLnHE/cftime/Cython-0.28.5-py2.7-linux-x86_64.egg
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-JBLnHE/cftime/setup.py", line 38, in <module>
tests_require=tests_require)
File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 265, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 289, in fetch_build_eggs
parse_requirements(requires), installer=self.fetch_build_egg
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 630, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (setuptools 0.9.8 (/usr/lib/python2.7/site-packages), Requirement.parse('setuptools>=18.0'))
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-JBLnHE/cftime/
python
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have try to install library netCDF 4 on my python, i use linux but when install i get error like this
Collecting netcdf4
Using cached https://files.pythonhosted.org/packages/17/89/c99c68f6c5a49eee90bc9070ea9ecf94396bd11f46ae1f51e047e6c96763/netCDF4-1.4.1-cp27-cp27mu-manylinux1_x86_64.whl
Collecting cftime (from netcdf4)
Using cached https://files.pythonhosted.org/packages/bf/f6/3045262ece2e730183b1f82d2ac7190ed12422c1ef43c8059bae210220ca/cftime-1.0.1.tar.gz
Complete output from command python setup.py egg_info:
Unable to find pgen, not compiling formal grammar.
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Plex/Scanners.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Plex/Actions.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Pythran.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Lexicon.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Scanning.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Parsing.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Visitor.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/FlowControl.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Code.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Runtime/refnanny.pyx because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/FusedNode.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Tempita/_tempita.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/StringIOTree.py because it changed.
[ 1/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Code.py
[ 2/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/FlowControl.py
[ 3/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/FusedNode.py
[ 4/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Lexicon.py
[ 5/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Parsing.py
[ 6/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Pythran.py
[ 7/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Scanning.py
[ 8/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Visitor.py
[ 9/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Plex/Actions.py
[10/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Plex/Scanners.py
[11/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Runtime/refnanny.pyx
[12/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/StringIOTree.py
[13/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Tempita/_tempita.py
warning: no files found matching '2to3-fixers.txt'
warning: no files found matching 'Doc/*'
warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Utility'
warning: no files found matching 'pyximport/README'
Installed /tmp/pip-install-JBLnHE/cftime/Cython-0.28.5-py2.7-linux-x86_64.egg
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-JBLnHE/cftime/setup.py", line 38, in <module>
tests_require=tests_require)
File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 265, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 289, in fetch_build_eggs
parse_requirements(requires), installer=self.fetch_build_egg
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 630, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (setuptools 0.9.8 (/usr/lib/python2.7/site-packages), Requirement.parse('setuptools>=18.0'))
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-JBLnHE/cftime/
python
I have try to install library netCDF 4 on my python, i use linux but when install i get error like this
Collecting netcdf4
Using cached https://files.pythonhosted.org/packages/17/89/c99c68f6c5a49eee90bc9070ea9ecf94396bd11f46ae1f51e047e6c96763/netCDF4-1.4.1-cp27-cp27mu-manylinux1_x86_64.whl
Collecting cftime (from netcdf4)
Using cached https://files.pythonhosted.org/packages/bf/f6/3045262ece2e730183b1f82d2ac7190ed12422c1ef43c8059bae210220ca/cftime-1.0.1.tar.gz
Complete output from command python setup.py egg_info:
Unable to find pgen, not compiling formal grammar.
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Plex/Scanners.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Plex/Actions.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Pythran.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Lexicon.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Scanning.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Parsing.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Visitor.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/FlowControl.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Code.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Runtime/refnanny.pyx because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/FusedNode.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Tempita/_tempita.py because it changed.
Compiling /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/StringIOTree.py because it changed.
[ 1/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Code.py
[ 2/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/FlowControl.py
[ 3/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/FusedNode.py
[ 4/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Lexicon.py
[ 5/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Parsing.py
[ 6/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Pythran.py
[ 7/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Scanning.py
[ 8/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Compiler/Visitor.py
[ 9/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Plex/Actions.py
[10/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Plex/Scanners.py
[11/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Runtime/refnanny.pyx
[12/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/StringIOTree.py
[13/13] Cythonizing /tmp/easy_install-lJdb5e/Cython-0.28.5/Cython/Tempita/_tempita.py
warning: no files found matching '2to3-fixers.txt'
warning: no files found matching 'Doc/*'
warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Utility'
warning: no files found matching 'pyximport/README'
Installed /tmp/pip-install-JBLnHE/cftime/Cython-0.28.5-py2.7-linux-x86_64.egg
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-JBLnHE/cftime/setup.py", line 38, in <module>
tests_require=tests_require)
File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 265, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 289, in fetch_build_eggs
parse_requirements(requires), installer=self.fetch_build_egg
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 630, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (setuptools 0.9.8 (/usr/lib/python2.7/site-packages), Requirement.parse('setuptools>=18.0'))
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-JBLnHE/cftime/
python
python
edited Aug 21 at 7:24
Rui F Ribeiro
36.7k1271116
36.7k1271116
asked Aug 21 at 4:51
Misdan Wijaya
11
11
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Â
draft saved
draft discarded
Â
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f463778%2ferror-installing-netcdf4-in-python-2-7%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password