-
Notifications
You must be signed in to change notification settings - Fork 13
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 #2
Comments
Hi @AnastasiaRein, apologies that your issue went unnoticed! Did you manage to resolve the installation problem in the meantime? |
Hi everyone, I also tried to install the package with pip in both python3.6 and python 2.7.18 environment. The install process is quite successful. However, when I try to import imnet , exception came out: "No module named process_strings_cy" . after some searching, I get that this is a cython problem. So the right way to install the package is first to download it and open the folder, then in the terminal run : |
Hi @dormeight thanks for the comment - I tried to fix this by adding cython explicitly as a build dependency. It installs and imports fine for me now on python 3.7. Can you try it with
|
Hi @rokroskar, it works perfectly now |
great, thanks for checking @dormeight! I will merge this PR then and make another release. |
Hi! I'm interested in running imnet on our local high security (highly restricted install privileges) computing cluster through a singularity container. This is the recipe script i used, building with singularity 2.4: Bootstrap: docker %post However I get these error messages when building reaches the "pip install imnet": and "Building wheel for python-Levenshtein (setup.py) ... error Of note, this only happens when building in the singularity container, not when installing on my mac locally, where pip install imnet runs fine. (Also, I found that there are some scripts that uses the python2 print without parentheses, and crashes when running with python3. Though some other scripts appear to use python3, though I managed to get it to run by adding parentheses manually :-) ) Kind regards, |
Hi @eirikhoye thanks for reporting this - turns out I made a mistake in the last release and didn't properly include the setup requirements. Could you try again? I just made a new release
This works without any errors on my machine. |
Thanks, the command you used also ran without errors on my machine, so I suspect the difficulties are on my end. Thank you for your assistance! :-) |
I don't have singularity set up here - could you give it a try in your singularity image build and let me know how it goes? |
Hi! You say that imnet now works with python3, but I can't install imnet using pip3, for example, because for some reason python2 and python3 conflict on our server and python2, in particular pip2, doesn't work. So, won't I have a possibility to install it via pip3?
The text was updated successfully, but these errors were encountered: