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: Unsatisfiable requirements detected for package SDPT3 #9

Closed
maihoanganh opened this issue Jun 6, 2021 · 3 comments
Closed

Comments

@maihoanganh
Copy link

I get the following issue when I try to install SDPT3.jl:

(v1.3) pkg> add SDPT3
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package SDPT3 [e33b2407]:
SDPT3 [e33b2407] log:
├─possible versions are: 0.0.1-0.0.2 or uninstalled
├─restricted to versions * by an explicit requirement, leaving only versions 0.0.1-0.0.2
└─restricted by compatibility requirements with MATLAB [10e44e05] to versions: uninstalled — no versions left
└─MATLAB [10e44e05] log:
├─possible versions are: [0.7.0-0.7.3, 0.8.0-0.8.2] or uninstalled
└─restricted to versions 0.8.2 by an explicit requirement, leaving only versions 0.8.2

I am using Ubuntu 18.04.4 LTS. Could you kindly help me fix it?

@odow
Copy link
Member

odow commented Jun 6, 2021

Try ] add [email protected] then ] add SDPT3. We need to update the compatibility of SDPT3.jl.

@odow
Copy link
Member

odow commented Jun 6, 2021

Actually. Try

] up
] add SDPT3#odow-patch-1`
] up

x-ref: #10

@maihoanganh
Copy link
Author

I tried ] add [email protected] and ] add [email protected].
Then type ] update MATLAB and ] update SDPT3. The package is therefore successfully installed.

However, running using SDPT3, I got the previous issue #7.
I have fixed it by the following command lines in terminal before opening Julia:

export MATLAB_HOME="/usr/local/MATLAB/R2018a"
export PATH="${PATH}:${MATLAB_HOME}"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${MATLAB_HOME}/glnxa64:/usr/local/MATLAB/R2018a/sys/os/glnxa64"

according to #158.

It works well now. Many thanks for your package.

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

No branches or pull requests

2 participants