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

Difficulties during install #4

Open
sqbl opened this issue Sep 17, 2020 · 3 comments
Open

Difficulties during install #4

sqbl opened this issue Sep 17, 2020 · 3 comments

Comments

@sqbl
Copy link

sqbl commented Sep 17, 2020

Operating System: Windows10
Python version: 3.7.9 (from anaconda)

Description
Trying to install gryffin in a fresh anaconda env failed. Specifically, gryffin is coursing issues due to a "/" in it's "setup.py". Furthermore, gryffin has quiet many failing dependencies that will need to be installed "manually" by the user (e.g. the entire C++ environment, and specific version numbers of torch).
This issue arose during installation of "summit" which has gryffin as a dependency. (See sustainable-processes/summit#71)

Solution(s)
After manually removing the last "/" in setup.py line 50 it resolved the error.
The C++ environment was installed as described here: https://stackoverflow.com/a/50210015
And the specific version of torch was installed by "pip install -f https://download.pytorch.org/whl/torch_stable.html torch===1.4.0" (notice the three "=")

I'll be happy to push a fix for the "/" in setup.py, but I don't know if that will break the install on other platforms (linux/mac)?

@FlorianHase FlorianHase mentioned this issue Sep 17, 2020
@FlorianHase
Copy link
Contributor

Hi sqbl,
thank you for reporting this issue. We updated the installation procedure and hope that you will find it easier to install the package now. Gryffin is mostly developed for linux platforms, so the windows version might be a bit bumpy at this point. We would appreciate if you keep reporting any issues that you run into (although we hope that there won't be too many, of course!)

@marcosfelt
Copy link
Contributor

Can someone with a windows computer test installing with this change I made: https://github.com/sustainable-processes/gryffin/blob/4a45f57fe552b3b3a786a57105fccd41957cad3a/setup.py#L37

@sqbl
Copy link
Author

sqbl commented Nov 4, 2020

Can someone with a windows computer test installing with this change I made: https://github.com/sustainable-processes/gryffin/blob/4a45f57fe552b3b3a786a57105fccd41957cad3a/setup.py#L37

Hi,
I got the option to try the installation again on a windows machine. The installation of Gryffin itself went well. So the changes worked on my machine.
Still, the installation of the c++ environment and the specific needs wrt torch might still be putting some users off, though.

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