mikeyEcology / MLWIC

Machine Learning for Wildlife Image Classification
70 stars 16 forks source link

setup failure installing packages #12

Closed tundraboyce closed 5 years ago

tundraboyce commented 5 years ago

Hi, apologies this is probably very basic - Error: Error 1 occurred installing packages into conda environment r-reticulate

I'm stuck at the setup stage and have reinstalled and rechecked the directories a bunch of times so I'm not sure what's wrong.

Here is my setup code:

setup(python_loc = "C:/Users/Paul/Anaconda3/", conda_loc = "auto", r_reticulate = FALSE)**

And my error output:

**Solving environment: ...working... done

Package Plan

environment location: C:\Users\Paul\ANACON~1\envs\r-reticulate

added / updated specs:

The following NEW packages will be INSTALLED:

ca-certificates: 2018.03.07-0          
certifi:         2018.11.29-py37_0     
openssl:         1.1.1a-he774522_0     
pip:             18.1-py37_0           
python:          3.7.1-h8c8aaf0_6      
setuptools:      40.6.3-py37_0         
sqlite:          3.26.0-he774522_0     
vc:              14.1-h0510ff6_4       
vs2015_runtime:  14.15.26706-h3a45250_0
wheel:           0.32.3-py37_0         
wincertstore:    0.2-py37_0            

Preparing transaction: ...working... done Verifying transaction: ...working... done Executing transaction: ...working... done #

To activate this environment, use:

> activate r-reticulate

#

To deactivate an active environment, use:

> deactivate

#

* for power-users using bash, you must source

#

Solving environment: ...working... failed

>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

... TypeError: 'NoneType' object is not iterable

$ C:\Users\Paul\ANACON~1\Scripts\conda install -c conda-forge --yes --name r-reticulate numpy cycler matplotlib tornado argparse six scipy tensorflow**

I haven't pasted the whole error output as this seems to be the issue. Have updated Anaconda etc.

Any help would be awesome!

tundraboyce commented 5 years ago

The last call that the error came from was

" File "C:\Users\Paul\ANACON~1\lib\site-packages\conda\models\records.py", line 102, in box val = tuple(f for f in (ff.strip() for ff in val) if f)"