-
Notifications
You must be signed in to change notification settings - Fork 4
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
Problems with installation guides #68
Comments
Hi Armando, sorry for the troubles. You have the dubious honour of being one of the first to test out these guides. A few issues here, mostly mine.
This part I don't think is an issue with the repository, I think it may be that your RSA keys are not properly configured on the different machines that you tried. There are some instructions here from github if you're passionate about getting this to work, otherwise the second method (https) is entirely equivalent and I wouldn't worry about it.
This one is my fault, I left a file in the master branch by accident which falsely registers an old submodule. If you switch the devel branch and try it again, it should work (at least for me with a fresh clone). So: git clone https://github.com/luntergroup/smcsmc git-smcsmc
cd git-smcsmc
git checkout devel
git submodule init Then the rest of the guide. I'll fix that up when I merge in the new features on devel. Let me know if that works for you.
Again, a typo from me. If you try conda config --add channels conda-forge Rather than the version in the documentation, that should work fine. Sorry about that. I'll update it right away, thank you for finding these errors. Please let me know if that works and if you encounter more errors, I'd love to get this working for you. Best wishes, and thanks again. |
As an update, the documentation has been changed to reflect the above, as has the README on the devel branch. The submodule issue will need to wait until I merge the devel branch, but I think most people will be installing from I've also gone through and tested all the code in the documentation and removed some that was previously functional but broke with updates -- the 'getting started guide' example should now be functional if |
Hello Chris. Thanks for your support, it has been very helpful. I can confirm now that following the instructions at readthedocs in Linux produces a working installations of the package (albeit with some Python warnings thrown when importing the library). Regarding the installation from source (which is no longer necessary as far as I can tell, but still) I specifically mentioned Linux earlier because I am on Windows, and haven't been able to make it work for me. The conda for Windows installation stops with:
Alternatively, using the Windows Subsystem for Linux (WSL) correctly installs the package, but trying to use it fails as it seems like the library tries to load the graphical back-end right away, which WSL has no support for (command-line mode only). But this probably deserves it own separate issue. Thanks again! |
Just for the sake of completeness, I tried the conda installation on Mac OS, and it fails with the same error as in Windows:
|
Hey Armando, thanks for the update. I'm glad that we got something working in Linux at the very least. The RSA issue is interesting, and I'm not quite sure what to make of it. A quick workaround would be to edit the paths in the You have really run the gamut of operating systems! I should make this a lot more obvious (I thought I had put it in multiple places in the documentation, but it turns out it's only there once in passing), but currently I've only uploaded binaries for I really appreciate the feedback re: the graphics device, as I suspect that the WSL error and the linux warning are stemming from the same line of code. I'm going to spend some time today trying to find a way to get rid of both, as I feel like I solved a complex problem in a too-simple way in the current code. I'll keep you updated if I manage to make any progress there. Thanks again! |
Hello. I'm having trouble following the 'Installation from Source' instructions. The line:
fails with Permission denied (publickey). I tried this on different computers.
If, alternatively, I clone the repository with:
then the next instruction
fails with No url found for submodule path 'tests/utility' in .gitmodules.
On the other hand, when trying to follow the instructions here, then after installing
conda
, the linefails with: CommandNotFoundError: No command 'conda channel'.
I am currently lost as to how we should proceed in order to obtain a working version of the library.
Thank you.
The text was updated successfully, but these errors were encountered: