-
Notifications
You must be signed in to change notification settings - Fork 49
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
Broken installation with solvers option #127
Comments
Works here:
|
Hey all,
@dylan: Are you working on a Windows machine? There, things are
sometimes not so well tested.
Fabian
On 16.06.23 08:28, Ben Elliston wrote:
Works here:
|$ pip install linopy[solvers] Collecting linopy[solvers] Downloading
linopy-0.1.5-py3-none-any.whl (68 kB) |
—
Reply to this email directly, view it on GitHub
<#127 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AESV6P347VV7V763WGQJBV3XLP4KBANCNFSM6AAAAAAZIY66EQ>.
You are receiving this because you are subscribed to this
thread.Message ID: ***@***.***>
--
Fabian Hofmann
http://fabianhofmann.org/
|
Thanks @FabianHofmann - am using linux (Ubuntu) - in case it's useful - I also tried with a few different python versions (3.11.0 and 3.11.4) and different versions of pip too (22.3.1 and 23.1.2) |
Thanks I can reproduce it with python 3.11, with python 3.10 it works. |
Hi there - installation with solvers option seems broken. Specifically, running this (as suggested in the docs):
pip install linopy[solvers]
results in an old version of linopy being install (v0.0.13), which cannot be imported (..e.g
from linopy import Model
raises an error, related to dataclasses)Installing linopy normally (
pip install linopy
), results in v0.1.5 being installed. And installing solvers individually / manually results in it working fine, (so I think it's just specifically installing with solver option that is playing up).The text was updated successfully, but these errors were encountered: