sssom-py icon indicating copy to clipboard operation
sssom-py copied to clipboard

`poetry run sssom` fails: `sssom is not a package.`

Open joeflack4 opened this issue 1 month ago • 6 comments

Overview

Not sure how my setup is different; I think I'm the only one w/ this issue. But when I do a poetry install, I get a message at the end of the installation which says sssom is not a package. Additionally, when I do poetry run sssom ..., it shows an error, and also at the end says sssom is not a package..

Additional info

Log: poetry install && poetry run

poetry run sssom --help
Warning: 'sssom' is an entry point defined in pyproject.toml, but it's not installed as a script. You may get improper `sys.argv[0]`.

The support to run uninstalled scripts will be removed in a future release.

Run `poetry install` to resolve and get rid of this message.


sssom is not a package.
which python3
/Users/joeflack4/virtualenvs/sssom-py/bin/python3

which sssom
/Users/joeflack4/Library/Python/3.10/bin/sssom
poetry install
Installing dependencies from lock file

Package operations: 0 installs, 15 updates, 0 removals

  • Updating typing-extensions (4.9.0 -> 4.11.0)
  • Updating certifi (2023.11.17 -> 2024.2.2)
  • Updating exceptiongroup (1.2.0 -> 1.2.1)
  • Updating idna (3.6 -> 3.7)
  • Updating packaging (23.2 -> 24.0)
  • Updating pluggy (1.3.0 -> 1.5.0)
  • Updating pydantic-core (2.14.6 -> 2.18.2)
  • Updating rpds-py (0.16.2 -> 0.18.0)
  • Updating urllib3 (2.1.0 -> 2.2.1)
  • Updating pydantic (2.5.3 -> 2.7.1)
  • Updating pytest (7.4.4 -> 8.2.0)
  • Updating referencing (0.32.1 -> 0.35.0)
  • Updating pyparsing (3.1.1 -> 3.1.2)
  • Updating filelock (3.13.4 -> 3.14.0)
  • Updating virtualenv (20.26.0 -> 20.26.1)

Installing the current project: sssom (0.0.0)
sssom is not a package.
poetry run sssom --help
Warning: 'sssom' is an entry point defined in pyproject.toml, but it's not installed as a script. You may get improper `sys.argv[0]`.

The support to run uninstalled scripts will be removed in a future release.

Run `poetry install` to resolve and get rid of this message.


sssom is not a package.

My setup

MacOS Sonoma 14.1.2 Python 3.10.4 pip 24.0 poetry 1.8.2

Hardware overview

Model Name: MacBook Pro Model Identifier: Mac15,11 Model Number: Z1AH000VGLL/A Chip: Apple M3 Max Total Number of Cores: 14 (10 performance and 4 efficiency) Memory: 96 GB System Firmware Version: 10151.41.12 OS Loader Version: 10151.41.12 Serial Number (system): FKVQT4224L Hardware UUID: 32C8F701-D704-51C2-9578-C157AD7A3B8A Provisioning UDID: 00006034-000860A13E84001C Activation Lock Status: Enabled

joeflack4 avatar May 08 '24 00:05 joeflack4