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

windows installation dll file not recognized #45

Closed
aschwele opened this issue Feb 19, 2019 · 5 comments
Closed

windows installation dll file not recognized #45

aschwele opened this issue Feb 19, 2019 · 5 comments

Comments

@aschwele
Copy link

We are trying to install cyipopt as a wrapper for ipopt on windows. Following the instructions, we modified the setup.py file accordingly and used Ipopt 3.9.2 since it was the only version with lib files at the link provided.
However, when installing cyipopt through the setup.py file, we get the following error:
error: can't copy 'C:Users...\Ipopt-3.9.2-win32-win64-dll\lib\x64\release\Ipopt39.dll': doesn't exist or not a regular file
any tips or solutions? where can we get functioning lib and dll files if that is the problem?

@moorepants
Copy link
Collaborator

We need some help with the Windows installation. There are multiple issues. If you can get it working, we'd love a pull request that fixes it, generalizes it, and gets it running on appveyor so it won't break again.

@aschwele
Copy link
Author

Not sure how helpful we are going to be, since we are not expert developers. However, if you can provide us with functioning dll and lib files for ipopt we can try to dig a bit deeper, because we think this is our issue right now.

@moorepants
Copy link
Collaborator

I'd recommend contacting the ipopt developers for those. We don't develop ipopt.

@praveenhpc
Copy link

praveenhpc commented Nov 19, 2019

We are trying to install cyipopt as a wrapper for ipopt on windows. Following the instructions, we modified the setup.py file accordingly and used Ipopt 3.9.2 since it was the only version with lib files at the link provided.
However, when installing cyipopt through the setup.py file, we get the following error:
error: can't copy 'C:Users...\Ipopt-3.9.2-win32-win64-dll\lib\x64\release\Ipopt39.dll': doesn't exist or not a regular file
any tips or solutions? where can we get functioning lib and dll files if that is the problem?

I have the same issue and could fix it by using the escape character "" in the path
ex: IPOPT_LIB_DIRS = ['C:\/Users/xxxxx/xxxxx/xxxx']

@moorepants
Copy link
Collaborator

We have improved Windows support in #49 and #50 with confirmed builds. Please reopen this issue or a new one if you can't get things installed with the newer code.

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