Skip to content
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

ERROR: Package 'spopt' requires a different Python: 3.6.9 not in '>=3.7' #232

Closed
bm1961 opened this issue May 2, 2022 · 3 comments
Closed

Comments

@bm1961
Copy link

bm1961 commented May 2, 2022

Hey,

When I try to install spopt from the pypi file I am getting the error:

ERROR: Package 'spopt' requires a different Python: 3.6.9 not in '>=3.7'

Unfortunately because I am limited to my work terminal I think I will not be able to change the Python version I am using.

Is there anyway to reconcile this?

Thanks!

@gegen07
Copy link
Member

gegen07 commented May 3, 2022

Hey @bm1961. Unfortunately, spopt requires >= 3.7.
Could you install spopt using conda? I think you would have more control over your python versions.

@bm1961
Copy link
Author

bm1961 commented May 3, 2022

Yep. This sorted me out immediately thankyou!

Although now I have a separate problem which is that PuLP: cannot execute glpsol.exe when I run on my own dataset.

Can probably puzzle out but if you have any immediate thoughts I would be greatful.

@jGaboardi
Copy link
Member

@bm1961 See @gegen07's answer here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants