MLWIC
MLWIC copied to clipboard
Problem with Setup and Classify
Hello,
I am trying to run the setup function:
setup(python_loc = "/anaconda3/bin/python", conda_loc = "auto", r_reticulate = FALSE) and get the Error: Error 1 occurred installing packages into conda environment r-reticulate
I then try to run the classify function using the test images:
classify(path_prefix ="/Users/armandotoralbecker/Desktop/MLWIC_examples-9579f70cc1515f65e584c81282bdc15c2d75faf8/images", data_info = "/Users/armandotoralbecker/Desktop/MLWIC_examples-9579f70cc1515f65e584c81282bdc15c2d75faf8/image_labels.csv", model_dir = "/Users/armandotoralbecker/Desktop", python_loc = "/anaconda3/bin/", save_predictions = "model_predictions.txt" )
But I get the following error:
Traceback (most recent call last):
File "eval.py", line 13, in
I used the tensorflow function to install it and the other packages as well as installing directly in the terminal
info: python: /anaconda3/envs/r-reticulate/bin/python libpython: /anaconda3/envs/r-reticulate/lib/libpython3.6m.dylib[NOT FOUND] pythonhome: /anaconda3/envs/r-reticulate:/anaconda3/envs/r-reticulate version: 3.6.9 |Anaconda, Inc.| (default, Jul 30 2019, 13:42:17) [GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] numpy: /anaconda3/envs/r-reticulate/lib/python3.6/site-packages/numpy numpy_version: 1.17.4 tensorflow: /anaconda3/envs/r-reticulate/lib/python3.6/site-packages/tensorflow
python versions found: /anaconda3/envs/r-reticulate/bin/python /usr/bin/python /Users/armandotoralbecker/venv/bin/python
Thank you for your help
Tensorflow is not properly installed on your machine. Try running this in the terminal
cd /anaconda3/bin/
pip install tensorflow==1.4