-
Notifications
You must be signed in to change notification settings - Fork 16
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
Python location #30
Comments
Hi @alicehua11 can you please post the full command that you specified for |
Hi Mike, I have resolved this issue on my own. Apparently the package reticulate needs to be installed.
Then I had to delete ANACON~2, a hidden directory that R keeps referring to when it looks for numpy. This is how I know.
There is a tensorflow version problem as well, I had to downgrade tensorflow v2 to v1.4 because it did not have the attribute slice_input_producer.
Now my classify command looks like this and it has been working thus far. |
Hi,
I tried running the classify function for the example provided and still couldn't run it after reading through the Stackoverflow and reinstalling numpy. I have:
setup(python_loc = "C:/Users/alice/Anaconda3/", conda_loc = "auto" )
That ran fine with exception of "Error: Error 1 occurred installing packages into conda environment r-reticulate" which is fine under the README
Then in my classify(), I have:
python_loc = "C:/Users/alice/Anaconda3/bin/"
It says the result is stored in the path listed but there is no model_predictions.txt.
Then I tried:
python_loc = "C:/Users/alice/Anaconda3/"
This gives me a error :
"Traceback (most recent call last):
File "C:\Users\alice\ANACON~2\lib\site-packages\numpy\core_init.py", line 16, in
from . import multiarray
ImportError: DLL load failed: The specified module could not be found."_
I then traced to the init.py and found line 16, not sure why the module is not found because multiarray is in there along with this init file. I reinstalled numpy, still no luck.
Any thought?
The text was updated successfully, but these errors were encountered: