humpday
humpday copied to clipboard
Can't install because of ultraopt
I know this is ultraopts fault and not yours, but they seem to be abandoned over there. Hope you can find a work around! Seems cool. This is from google colab:
!pip install --verbose humpday[full]
Using pip 23.1.2 from /usr/local/lib/python3.10/dist-packages/pip (python 3.10)
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Collecting humpday[full]
Using cached humpday-0.7.1-py3-none-any.whl (64 kB)
Requirement already satisfied: wheel in /usr/local/lib/python3.10/dist-packages (from humpday[full]) (0.40.0)
Requirement already satisfied: numpy>=1.21.5 in /usr/local/lib/python3.10/dist-packages (from humpday[full]) (1.22.4)
Collecting importlib-metadata>=1.7.0 (from humpday[full])
Using cached importlib_metadata-6.6.0-py3-none-any.whl (22 kB)
Collecting getjson (from humpday[full])
Using cached getjson-2.0.0-py3-none-any.whl (2.6 kB)
Requirement already satisfied: scipy in /usr/local/lib/python3.10/dist-packages (from humpday[full]) (1.10.1)
Collecting funcy (from humpday[full])
Using cached funcy-2.0-py2.py3-none-any.whl (30 kB)
Collecting winning>=0.4.6 (from humpday[full])
Using cached winning-1.0.3-py3-none-any.whl (23 kB)
Collecting microconventions>=0.5.0 (from humpday[full])
Using cached microconventions-1.0.0-py3-none-any.whl (16 kB)
Collecting landscapes (from humpday[full])
Using cached landscapes-0.0.12-py3-none-any.whl (15 kB)
Collecting pymorton (from humpday[full])
Using cached pymorton-1.0.5-py2.py3-none-any.whl (4.4 kB)
Requirement already satisfied: scikit-learn in /usr/local/lib/python3.10/dist-packages (from humpday[full]) (1.2.2)
Collecting bayesian-optimization>=1.2.0 (from humpday[full])
Using cached bayesian_optimization-1.4.3-py3-none-any.whl (18 kB)
Collecting optuna (from humpday[full])
Using cached optuna-3.2.0-py3-none-any.whl (390 kB)
Collecting platypus-opt (from humpday[full])
Using cached Platypus_Opt-1.1.0-py3-none-any.whl (76 kB)
Collecting poap (from humpday[full])
Using cached POAP-0.1.26-py2.py3-none-any.whl (36 kB)
Collecting pysot (from humpday[full])
Using cached pySOT-0.3.3-py2.py3-none-any.whl (72 kB)
Collecting ultraopt (from humpday[full])
Using cached ultraopt-0.1.1.tar.gz (67 kB)
Running command python setup.py egg_info
error in ultraopt setup command: 'python_requires' must be a string containing valid version specifiers; Invalid specifier: '>=3.6.*'
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /usr/bin/python3 -c '
exec(compile('"'"''"'"''"'"'
# This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
#
# - It imports setuptools before invoking setup.py, to enable projects that directly
# import from `distutils.core` to work with newer packaging standards.
# - It provides a clear error message when setuptools is not installed.
# - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
# setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
# manifest_maker: standard file '"'"'-c'"'"' not found".
# - It generates a shim setup.py, for handling setup.cfg-only projects.
import os, sys, tokenize
try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute `setup.py` since setuptools is not available in "
"the build environment.",
file=sys.stderr,
)
sys.exit(1)
__file__ = %r
sys.argv[0] = __file__
if os.path.exists(__file__):
filename = __file__
with tokenize.open(__file__) as f:
setup_py_code = f.read()
else:
filename = "<auto-generated setuptools caller>"
setup_py_code = "from setuptools import setup; setup()"
exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'/tmp/pip-install-k96thyuw/ultraopt_7f8d5aef22944107814b189095618d0d/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-4j3gsifo
cwd: /tmp/pip-install-k96thyuw/ultraopt_7f8d5aef22944107814b189095618d0d/
Preparing metadata (setup.py) ... error
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Any workarounds?