You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I managed to install scikit-garden on my Linux but it fails on my Ubuntu:
2020-12-08T18:45:02.0025765Z Collecting scikit-garden==0.1.3 (from -r /root//sku_potential_forecast/requirements.txt (line 15))
2020-12-08T18:45:02.1003720Z Downloading https://files.pythonhosted.org/packages/63/0f/850592f6e8619d42086cdcc6a1731a4254f74db09878a155ab3d4cdc55ef/scikit-garden-0.1.3.tar.gz (317kB)
2020-12-08T18:45:05.5509924Z Complete output from command python setup.py egg_info:
2020-12-08T18:45:05.5514464Z /tmp/pip-install-6sv7xy9u/scikit-garden/.eggs/Cython-3.0a6-py3.6-linux-x86_64.egg/Cython/Compiler/Main.py:344: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-6sv7xy9u/scikit-garden/skgarden/mondrian/tree/_criterion.pxd
2020-12-08T18:45:05.5515246Z tree = Parsing.p_module(s, pxd, full_module_name)
2020-12-08T18:45:05.5518317Z
2020-12-08T18:45:05.5518784Z Error compiling Cython file:
2020-12-08T18:45:05.5519630Z ------------------------------------------------------------
2020-12-08T18:45:05.5520321Z ...
2020-12-08T18:45:05.5520560Z
2020-12-08T18:45:05.5520802Z # See _utils.pyx for details.
2020-12-08T18:45:05.5521042Z
2020-12-08T18:45:05.5521284Z import numpy as np
2020-12-08T18:45:05.5521532Z cimport numpy as np
2020-12-08T18:45:05.5522492Z from _tree cimport Node
2020-12-08T18:45:05.5522946Z ^
2020-12-08T18:45:05.5523652Z ------------------------------------------------------------
2020-12-08T18:45:05.5524080Z
2020-12-08T18:45:05.5524712Z skgarden/mondrian/tree/_utils.pxd:13:0: '_tree.pxd' not found
2020-12-08T18:45:05.5525131Z
2020-12-08T18:45:05.5525440Z Error compiling Cython file:
2020-12-08T18:45:05.5526342Z ------------------------------------------------------------
2020-12-08T18:45:05.5526681Z ...
2020-12-08T18:45:05.5526887Z
2020-12-08T18:45:05.5527126Z # See _utils.pyx for details.
2020-12-08T18:45:05.5527446Z
2020-12-08T18:45:05.5527833Z import numpy as np
2020-12-08T18:45:05.5528083Z cimport numpy as np
2020-12-08T18:45:05.5529211Z from _tree cimport Node
2020-12-08T18:45:05.5529396Z ^
2020-12-08T18:45:05.5530122Z ------------------------------------------------------------
2020-12-08T18:45:05.5530353Z
2020-12-08T18:45:05.5530764Z skgarden/mondrian/tree/_utils.pxd:13:0: '_tree/Node.pxd' not found
2020-12-08T18:45:05.5530981Z
2020-12-08T18:45:05.5531160Z Error compiling Cython file:
2020-12-08T18:45:05.5531583Z ------------------------------------------------------------
2020-12-08T18:45:05.5532182Z ...
2020-12-08T18:45:05.5532505Z (DTYPE_t*)
2020-12-08T18:45:05.5532658Z (SIZE_t*)
2020-12-08T18:45:05.5532819Z (unsigned char*)
2020-12-08T18:45:05.5532998Z (DOUBLE_t*)
2020-12-08T18:45:05.5533317Z (DOUBLE_t**)
2020-12-08T18:45:05.5533463Z (Node*)
2020-12-08T18:45:05.5533776Z ^
2020-12-08T18:45:05.5534606Z ------------------------------------------------------------
2020-12-08T18:45:05.5534832Z
2020-12-08T18:45:05.5535279Z skgarden/mondrian/tree/_utils.pxd:40:5: 'Node' is not a type identifier
2020-12-08T18:45:05.5535495Z
2020-12-08T18:45:05.5535667Z Error compiling Cython file:
2020-12-08T18:45:05.5536072Z ------------------------------------------------------------
2020-12-08T18:45:05.5536269Z ...
2020-12-08T18:45:05.5536412Z (SIZE_t*)
2020-12-08T18:45:05.5536563Z (unsigned char*)
2020-12-08T18:45:05.5536716Z (DOUBLE_t*)
2020-12-08T18:45:05.5536886Z (DOUBLE_t**)
2020-12-08T18:45:05.5537391Z (Node*)
2020-12-08T18:45:05.5537707Z (Node**)
2020-12-08T18:45:05.5538044Z ^
2020-12-08T18:45:05.5538465Z ------------------------------------------------------------
2020-12-08T18:45:05.5538685Z
2020-12-08T18:45:05.5539141Z skgarden/mondrian/tree/_utils.pxd:41:5: 'Node' is not a type identifier
2020-12-08T18:45:05.5539387Z
2020-12-08T18:45:05.5539568Z Error compiling Cython file:
2020-12-08T18:45:05.5540047Z ------------------------------------------------------------
2020-12-08T18:45:05.5540278Z ...
2020-12-08T18:45:05.5540425Z (SIZE_t*)
2020-12-08T18:45:05.5540614Z (unsigned char*)
2020-12-08T18:45:05.5540787Z (DOUBLE_t*)
2020-12-08T18:45:05.5540955Z (DOUBLE_t**)
2020-12-08T18:45:05.5541136Z (Node*)
2020-12-08T18:45:05.5541292Z (Node**)
2020-12-08T18:45:05.5542348Z ^
2020-12-08T18:45:05.5543040Z ------------------------------------------------------------
2020-12-08T18:45:05.5543296Z
2020-12-08T18:45:05.5543543Z skgarden/mondrian/tree/_utils.pxd:41:4: Type specified multiple times
2020-12-08T18:45:05.5543813Z
2020-12-08T18:45:05.5544002Z Error compiling Cython file:
2020-12-08T18:45:05.5545000Z ------------------------------------------------------------
2020-12-08T18:45:05.5545378Z ...
2020-12-08T18:45:05.5545593Z self.sum_total = NULL
2020-12-08T18:45:05.5545793Z self.sum_left = NULL
2020-12-08T18:45:05.5546153Z self.sum_right = NULL
2020-12-08T18:45:05.5546335Z self.n_classes = NULL
2020-12-08T18:45:05.5546497Z
2020-12-08T18:45:05.5546667Z safe_realloc(&self.n_classes, n_outputs)
2020-12-08T18:45:05.5546865Z ^
2020-12-08T18:45:05.5547315Z ------------------------------------------------------------
2020-12-08T18:45:05.5547510Z
2020-12-08T18:45:05.5547723Z skgarden/mondrian/tree/_criterion.pyx:554:20: ambiguous overloaded method
2020-12-08T18:45:05.5548409Z
2020-12-08T18:45:05.5548576Z Error compiling Cython file:
2020-12-08T18:45:05.5549057Z ------------------------------------------------------------
2020-12-08T18:45:05.5549276Z ...
2020-12-08T18:45:05.5549426Z self.sum_total = NULL
2020-12-08T18:45:05.5549624Z self.sum_left = NULL
2020-12-08T18:45:05.5549804Z self.sum_right = NULL
2020-12-08T18:45:05.5549986Z self.n_classes = NULL
2020-12-08T18:45:05.5550157Z
2020-12-08T18:45:05.5550326Z safe_realloc(&self.n_classes, n_outputs)
2020-12-08T18:45:05.5550669Z ^
2020-12-08T18:45:05.5551087Z ------------------------------------------------------------
2020-12-08T18:45:05.5554072Z
2020-12-08T18:45:05.5554327Z skgarden/mondrian/tree/_criterion.pyx:554:8: Invalid use of fused types, type cannot be specialized
2020-12-08T18:45:05.5554676Z Traceback (most recent call last):
2020-12-08T18:45:05.5555071Z File "<string>", line 1, in <module>
2020-12-08T18:45:05.5555672Z File "/tmp/pip-install-6sv7xy9u/scikit-garden/setup.py", line 61, in <module>
2020-12-08T18:45:05.5555965Z setup_requires=["cython"])
2020-12-08T18:45:05.5556446Z File "/opt/conda/lib/python3.6/site-packages/numpy/distutils/core.py", line 135, in setup
2020-12-08T18:45:05.5556743Z config = configuration()
2020-12-08T18:45:05.5557200Z File "/tmp/pip-install-6sv7xy9u/scikit-garden/setup.py", line 25, in configuration
2020-12-08T18:45:05.5557649Z config.add_subpackage('skgarden')
2020-12-08T18:45:05.5558187Z File "/opt/conda/lib/python3.6/site-packages/numpy/distutils/misc_util.py", line 1020, in add_subpackage
2020-12-08T18:45:05.5558478Z caller_level = 2)
2020-12-08T18:45:05.5558970Z File "/opt/conda/lib/python3.6/site-packages/numpy/distutils/misc_util.py", line 989, in get_subpackage
2020-12-08T18:45:05.5559298Z caller_level = caller_level + 1)
2020-12-08T18:45:05.5559855Z File "/opt/conda/lib/python3.6/site-packages/numpy/distutils/misc_util.py", line 926, in _get_configuration_from_setup_py
2020-12-08T18:45:05.5560384Z config = setup_module.configuration(*args)
2020-12-08T18:45:05.5560621Z File "skgarden/setup.py", line 9, in configuration
2020-12-08T18:45:05.5560845Z config.add_subpackage("mondrian")
2020-12-08T18:45:05.5561363Z File "/opt/conda/lib/python3.6/site-packages/numpy/distutils/misc_util.py", line 1020, in add_subpackage
2020-12-08T18:45:05.5561912Z caller_level = 2)
2020-12-08T18:45:05.5562440Z File "/opt/conda/lib/python3.6/site-packages/numpy/distutils/misc_util.py", line 989, in get_subpackage
2020-12-08T18:45:05.5562757Z caller_level = caller_level + 1)
2020-12-08T18:45:05.5563853Z File "/opt/conda/lib/python3.6/site-packages/numpy/distutils/misc_util.py", line 926, in _get_configuration_from_setup_py
2020-12-08T18:45:05.5564215Z config = setup_module.configuration(*args)
2020-12-08T18:45:05.5564480Z File "skgarden/mondrian/setup.py", line 25, in configuration
2020-12-08T18:45:05.5565080Z config.ext_modules = cythonize(config.ext_modules)
2020-12-08T18:45:05.5565735Z File "/tmp/pip-install-6sv7xy9u/scikit-garden/.eggs/Cython-3.0a6-py3.6-linux-x86_64.egg/Cython/Build/Dependencies.py", line 1110, in cythonize
2020-12-08T18:45:05.5566245Z cythonize_one(*args)
2020-12-08T18:45:05.5566843Z File "/tmp/pip-install-6sv7xy9u/scikit-garden/.eggs/Cython-3.0a6-py3.6-linux-x86_64.egg/Cython/Build/Dependencies.py", line 1277, in cythonize_one
2020-12-08T18:45:05.5567320Z raise CompileError(None, pyx_file)
2020-12-08T18:45:05.5567718Z Cython.Compiler.Errors.CompileError: skgarden/mondrian/tree/_criterion.pyx
2020-12-08T18:45:05.5568031Z Appending skgarden.mondrian.tree configuration to skgarden.mondrian
2020-12-08T18:45:05.5568591Z Ignoring attempt to set 'name' (from 'skgarden.mondrian' to 'skgarden.mondrian.tree')
2020-12-08T18:45:05.5568923Z Appending skgarden.mondrian.ensemble configuration to skgarden.mondrian
2020-12-08T18:45:05.5569692Z Ignoring attempt to set 'name' (from 'skgarden.mondrian' to 'skgarden.mondrian.ensemble')
2020-12-08T18:45:05.5570465Z Compiling skgarden/mondrian/tree/_tree.pyx because it depends on /tmp/pip-install-6sv7xy9u/scikit-garden/.eggs/Cython-3.0a6-py3.6-linux-x86_64.egg/Cython/Includes/cpython/weakref.pxd.
2020-12-08T18:45:05.5571357Z Compiling skgarden/mondrian/tree/_splitter.pyx because it depends on /tmp/pip-install-6sv7xy9u/scikit-garden/.eggs/Cython-3.0a6-py3.6-linux-x86_64.egg/Cython/Includes/cpython/type.pxd.
2020-12-08T18:45:05.5572944Z Compiling skgarden/mondrian/tree/_criterion.pyx because it depends on /tmp/pip-install-6sv7xy9u/scikit-garden/.eggs/Cython-3.0a6-py3.6-linux-x86_64.egg/Cython/Includes/cpython/type.pxd.
2020-12-08T18:45:05.5573841Z Compiling skgarden/mondrian/tree/_utils.pyx because it depends on /tmp/pip-install-6sv7xy9u/scikit-garden/.eggs/Cython-3.0a6-py3.6-linux-x86_64.egg/Cython/Includes/cpython/type.pxd.
2020-12-08T18:45:05.5614691Z [1/4] Cythonizing skgarden/mondrian/tree/_criterion.pyx
I just ran "pip install scikit-garden". I'm on python 3.6.5. From what I understand, pxd files seem to be missing from the installation package. This issue looks like this one on scikit-learn: scikit-learn/scikit-learn#2057
Mark
The text was updated successfully, but these errors were encountered:
Hello,
I managed to install scikit-garden on my Linux but it fails on my Ubuntu:
I just ran "pip install scikit-garden". I'm on python 3.6.5. From what I understand, pxd files seem to be missing from the installation package. This issue looks like this one on scikit-learn:
scikit-learn/scikit-learn#2057
Mark
The text was updated successfully, but these errors were encountered: