-
Notifications
You must be signed in to change notification settings - Fork 241
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
run_bh_tsne fails with FileNotFoundError in Python 3.5 #55
Comments
+1 Getting the same error here, on Mac OS Python 2.7.12. @rjurney you mentioned it works on 2.7, did you get it to just work out of the box? |
I have noticed this can occur when the job failed, and the resulting file is empty.. go to that location and double check what's there if you can. For me this occurs in what looks like a crash at https://github.com/lvdmaaten/bhtsne/blob/master/bhtsne.py#L110 I debug line by line and it is on that line things abruptly crash in OSX update : a crash in numpy is the culprit for me seeing this error you have. |
just to add-on to my previous post.. that same problem occurs for me in Python 3.x, and the solution is to AGAIN.. recompile numpy with openBLAS on Mac platforms.. hope that helps |
I cannot get this to run at all inside |
Line 210 in the Python wrapper seems to suggest that running the code via a Jupyter notebook is not recommended: As @EMCP already mentioned, the issue with numpy may be the reason for the crash. This thread also suggests there is an issue with calling the |
You may want to try #69 which removes the need for writing data to files and forking a new process in the first place. I'm planning to add an FFI-based solution for Python soon that will do the same without the Cython dependencies. |
I added a python wrapper based on boost, which process smoothly and visualize results at last. There is not need to recompile blas/numpy/etc. Hope this helps! |
Note that this works in Python 2.7, but not in Anaconda Python 3.5 on OS X and Linux. Something is wrong with the file handling. I can't figure out what, but this file does not exist.
It looks like it opens it in read mode 'rb' and then writes to it? I'm not familiar with doing this.
The text was updated successfully, but these errors were encountered: