Skip to content

No matter how I try to install ConfigSpace by whatever means either through installing autogluon or directly installing configspace  #165

@AnthonyTheKoala

Description

@AnthonyTheKoala

I am having having problems installing ConfigSpace by whatever means, whether it is. Whether it is installing directly by pipping configspace or by pipping autogluon, no matter how ConfigSpace is installed whether directly installing ConfigSpace or indirectly where another package requires the installation requires the installation of ConfigSpace.
End result I cannot get a successful installation of ConfigSpace.

Here is an example of an attempted install via msys64's mingw64 OR git bash window. The result is the same:

C:\Python38>pip install ConfigSpace --upgrade --force --no-color
Collecting ConfigSpace
  Using cached ConfigSpace-0.4.15.tar.gz (964 kB)
  Installing build dependencies ... error
  ERROR: Command errored out with exit status 1:
   command: 'c:\python38\python.exe' 'c:\python38\lib\site-packages\pip' install
 --ignore-installed --no-user --prefix 'C:\Users\A\AppData\Local\Temp\pip-build-
env-c1vor2mj\overlay' --no-warn-script-location --no-binary :none: --only-binary
 :none: -i https://pypi.org/simple -- setuptools wheel numpy Cython
       cwd: None
  Complete output (42 lines):
  Traceback (most recent call last):
    File "c:\python38\lib\runpy.py", line 194, in _run_module_as_main
      return _run_code(code, main_globals, None,
    File "c:\python38\lib\runpy.py", line 87, in _run_code
      exec(code, run_globals)
    File "c:\python38\lib\site-packages\pip\__main__.py", line 26, in 
      sys.exit(_main())
    File "c:\python38\lib\site-packages\pip\_internal\cli\main.py", line 73, in
main
      command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
    File "c:\python38\lib\site-packages\pip\_internal\commands\__init__.py", lin
e 104, in create_command
      module = importlib.import_module(module_path)
    File "c:\python38\lib\importlib\__init__.py", line 127, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
    File "", line 1014, in _gcd_import
    File "", line 991, in _find_and_load
    File "", line 975, in _find_and_load_unlocked
    File "", line 671, in _load_unlocked
    File "", line 783, in exec_module
    File "", line 219, in _call_with_frames_removed

    File "c:\python38\lib\site-packages\pip\_internal\commands\install.py", line
 17, in 
      from pip._internal.cli.req_command import RequirementCommand, with_cleanup

    File "c:\python38\lib\site-packages\pip\_internal\cli\req_command.py", line
16, in 
      from pip._internal.index.collector import LinkCollector
    File "c:\python38\lib\site-packages\pip\_internal\index\collector.py", line
14, in 
      from pip._vendor import html5lib, requests
    File "c:\python38\lib\site-packages\pip\_vendor\requests\__init__.py", line
125, in 
      from . import utils
    File "c:\python38\lib\site-packages\pip\_vendor\requests\utils.py", line 25,
 in 
      from . import certs
    File "c:\python38\lib\site-packages\pip\_vendor\requests\certs.py", line 15,
 in 
      from pip._vendor.certifi import where
    File "c:\python38\lib\site-packages\pip\_vendor\certifi\__init__.py", line 1
, in 
      from .core import contents, where
    File "c:\python38\lib\site-packages\pip\_vendor\certifi\core.py", line 12, i
n 
      from importlib.resources import path as get_path, read_text
    File "c:\python38\lib\importlib\resources.py", line 11, in 
      from typing import Iterable, Iterator, Optional, Set, Union   # noqa: F401

    File "c:\python38\lib\site-packages\typing.py", line 1359, in 
      class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
    File "c:\python38\lib\site-packages\typing.py", line 1007, in __new__
      self._abc_registry = extra._abc_registry
  AttributeError: type object 'Callable' has no attribute '_abc_registry'
  ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\python38\python.exe' 'c:\pyth
on38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Us
ers\A\AppData\Local\Temp\pip-build-env-c1vor2mj\overlay' --no-warn-script-locati
on --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setupto
ols wheel numpy Cython Check the logs for full command output.
"Check the logs for full command output" - where are they and what is their name please? I tried searching for .log, log.* to no avail.

Are there any other things I must do?

Info:
OS: Win 7 - 64-bit
mysys64: mingw64, version 10.2.2
MSVC: CL version Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24234.1 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
Python: v3.8.5 64-bit
numpy.version: '1.19.2'
cython.version: '0.29.21'
pyparsing.version:'2.4.7'

So if I am installing autogluon which uses configspace or trying to install configspace on its own, are there any actions to do?
I tried the path environment - no foreseeable problems.

Where are the supposed 'logs' mentioned on the error message?

Should I 'def' the python libraries because I noticed one time that the redeffed python dll files to lib files were larger than the lib files supplied by python.

Many thanks,
Anthony of Sydney

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions