-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install without the ML functionality #130
Comments
The problem is I think that the options feature in We'd also be interested in this for Zulip (github.com/zulip/zulip/); right now we're installing off of a fork because we don't want a dependency on numpy and friends. |
I wonder whether a better solution would be to split out an independent package for the non-ML parts of talon. E.g. call it |
@timabbott , there is claw - a fork of @tictail without ML. |
Hey everyone! Would like to kindly ask for an update from package maintainers. Ended up with the same issue today. Only wanted to use non-ml features of talon, but couldn't do it without extracting essential parts of it into a separate library. The Tried to use the
With all this in mind, I would see three options to solve the issue.
Thanks! |
I'd love to see that happen. Certainly the |
The nonstandard `setup.py install --no-ml` option didn’t work correctly with pip. We could move the ML dependencies into an extra, but that approach was previously rejected (mailgun#121): extras can’t be enabled by default, so it could have been disruptive to existing users. Instead, we split off a new talon-core package with no ML dependencies, and have talon re-export everything from it. Fixes mailgun#130; fixes mailgun#131. Signed-off-by: Anders Kaseorg <[email protected]>
The nonstandard `setup.py install --no-ml` option didn’t work correctly with pip. We could move the ML dependencies into an extra, but that approach was previously rejected (mailgun#121): extras can’t be enabled by default, so it could have been disruptive to existing users. Instead, we split off a new talon-core package with no ML dependencies, and have talon re-export everything from it. Fixes mailgun#130; fixes mailgun#131. Signed-off-by: Anders Kaseorg <[email protected]>
The nonstandard `setup.py install --no-ml` option didn’t work correctly with pip. We could move the ML dependencies into an extra, but that approach was previously rejected (mailgun#121): extras can’t be enabled by default, so it could have been disruptive to existing users. Instead, we split off a new talon-core package with no ML dependencies, and have talon re-export everything from it. Fixes mailgun#130; fixes mailgun#131. Signed-off-by: Anders Kaseorg <[email protected]>
How does one install talon without ML? I tried both
pip install talon --global-option="--no-ml"
andpip install talon --install-option="--no-ml"
and neither seems to work (admitedly this is the first time I'm using the package options flag). Somehow it ends up trying to install all packages and fails at Scipy (either from the Fortran dependency when installing without the flag, or becauseoption --no-ml not recognized
)Using Python 2.7.12, pip 9.0.1 on macOS
The text was updated successfully, but these errors were encountered: