UCSD-E4E / fishsense-lite

CLI for processing data from the FishSense Lite platform
https://e4e.ucsd.edu/fishsense
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

`poetry install` fail on Win10 py3.11 #10

Open ntlhui opened 1 month ago

ntlhui commented 1 month ago
 - Installing ray (2.11.0): Failed

  RuntimeError

  Unable to find installation candidates for ray (2.11.0)

  at .venv\Lib\site-packages\poetry\installation\chooser.py:74 in choose_for
       70│
       71│             links.append(link)
       72│
       73│         if not links:
    →  74│             raise RuntimeError(f"Unable to find installation candidates for {package}")
       75│
       76│         # Get the best link
       77│         chosen = max(links, key=lambda link: self._sort_key(package, link))
       78│

Cannot install ray.
> python --version
Python 3.11.9

Resulting env:

> python -m pip freeze
aiosignal==1.3.1
asttokens==2.4.1
attrs==23.2.0
backoff==2.2.1
black==24.4.1
bom-common @ git+https://github.com/UCSD-E4E/bom-common@3e3987142474d0e1a06b799e51a1cf76694a5ad0
bom-pipeline @ git+https://github.com/UCSD-E4E/bom-pipeline@db34bd3cc461b19e3e2ec8b8d86b2c5532b3b778
build==1.2.1
CacheControl==0.14.0
certifi==2024.2.2
charset-normalizer==3.3.2
cleo==2.1.0
click==8.1.7
colorama==0.4.6
comm==0.2.2
contourpy==1.2.1
crashtest==0.4.1
cycler==0.12.1
debugpy==1.8.1
decorator==5.1.1
distlib==0.3.8
dulwich==0.21.7
executing==2.0.1
fastjsonschema==2.19.1
filelock==3.13.4
fonttools==4.51.0
frozenlist==1.4.1
fsspec==2024.3.1
gitdb==4.0.11
GitPython==3.1.43
idna==3.7
imageio==2.34.1
importlib_metadata==7.1.0
installer==0.7.0
ipykernel==6.29.4
ipython==8.23.0
jaraco.classes==3.4.0
jedi==0.19.1
Jinja2==3.1.4
jsonschema==4.21.1
jsonschema-specifications==2023.12.1
jupyter_client==8.6.1
jupyter_core==5.7.2
keyring==24.3.1
kiwisolver==1.4.5
lazy_loader==0.4
llvmlite==0.42.0
MarkupSafe==2.1.5
matplotlib==3.8.4
matplotlib-inline==0.1.7
more-itertools==10.2.0
mpmath==1.3.0
msgpack==1.0.8
mypy-extensions==1.0.0
nest-asyncio==1.6.0
networkx==3.3
numba==0.59.1
numpy==1.26.4
opencv-python==4.7.0.72
packaging==24.0
pandas==2.2.2
parso==0.8.4
pathspec==0.12.1
pexpect==4.9.0
pillow==10.3.0
pkginfo==1.10.0
platformdirs==4.2.1
poetry==1.8.3
poetry-core==1.9.0
poetry-plugin-export==1.7.1
prompt-toolkit==3.0.43
protobuf==5.26.1
psutil==5.9.8
ptyprocess==0.7.0
pure-eval==0.2.2
pyfishsense @ git+https://github.com/UCSD-E4E/pyFishSense@390feb9534499fcb7cdcba76cda188d16dd42ef5
pyfishsensedev @ git+https://github.com/UCSD-E4E/pyFishSenseDev@dd6fe107bcda74181b103f43d037f99b4f1d08ae
Pygments==2.17.2
pyparsing==3.1.2
pyproject_hooks==1.1.0
python-dateutil==2.9.0.post0
pytz==2024.1
PyWavelets==1.6.0
pywin32==306
pywin32-ctypes==0.2.2
PyYAML==6.0.1
pyzmq==26.0.2
rapidfuzz==3.9.0
rawpy==0.18.1
referencing==0.35.0
requests==2.31.0
requests-toolbelt==1.0.0
rpds-py==0.18.0
scikit-image==0.21.0
scipy==1.13.0
seaborn==0.13.2
shellingham==1.5.4
six==1.16.0
smmap==5.0.1
stack-data==0.6.3
sympy==1.12
tifffile==2024.4.24
tomlkit==0.12.5
torch==2.1.2
torchvision==0.16.2
tornado==6.4
tqdm==4.66.3
traitlets==5.14.3
trove-classifiers==2024.4.10
typing_extensions==4.11.0
tzdata==2024.1
urllib3==2.2.1
virtualenv==20.26.1
wakepy @ git+https://github.com/ccrutchf/wakepy@15e6f004ec388026a284797635aa0a3c2bc9980d
wcwidth==0.2.13
xlrd==2.0.1
zipp==3.18.1

Encountered at 37574aa9c53905856356ddca10cfadfe48f436e9

ntlhui commented 1 month ago

Install commands were:

python3.11 -m venv .venv
.venv\Scripts\activate
python -m pip install --upgrade pip poetry
poetry install
ccrutchf commented 1 week ago

This appears to be caused by an out of date version of ray. Windows support for ray is limited. For the time being, I think we can limit this to only officially support Ubuntu 24.04.