Yes, that’s exactly what it says.
Here’s a copy of the whole message.
OSError Traceback (most recent call last)
in ()
6 legend_title=‘Population by County’,
7 county_outline={‘color’: ‘rgb(255,255,255)’, ‘width’: 0.5},
----> 8 exponent_format=True,
9 )
10 py.iplot(fig, filename=‘choropleth_CA’)
~\AppData\Local\Continuum\anaconda3\lib\site-packages\plotly\figure_factory_county_choropleth.py in create_choropleth(fips, values, scope, binning_endpoints, colorscale, order, simplify_county, simplify_state, asp, offline_mode, show_hover, show_state_data, state_outline, county_outline, centroid_marker, round_legend_values, exponent_format, legend_title, **layout_options)
572
573 df, df_state = _create_us_counties_df(st_to_state_name_dict,
–> 574 state_to_st_dict)
575
576 fips_polygon_map = dict(
~\AppData\Local\Continuum\anaconda3\lib\site-packages\plotly\figure_factory_county_choropleth.py in _create_us_counties_df(st_to_state_name_dict, state_to_st_dict)
29 shape_pre2010 = 'gz_2010_us_050_00_500k.shp’
30 shape_pre2010 = abs_package_data_dir_path + shape_pre2010
—> 31 df_shape_pre2010 = gp.read_file(shape_pre2010)
32 df_shape_pre2010[‘FIPS’] = (df_shape_pre2010[‘STATE’] +
33 df_shape_pre2010[‘COUNTY’])
~\AppData\Local\Continuum\anaconda3\lib\site-packages\geopandas\io\file.py in read_file(filename, **kwargs)
17 “”"
18 bbox = kwargs.pop(‘bbox’, None)
—> 19 with fiona.open(filename, **kwargs) as f:
20 crs = f.crs
21 if bbox is not None:
~\AppData\Local\Continuum\anaconda3\lib\site-packages\fiona_init_.py in open(path, mode, driver, schema, crs, encoding, layer, vfs, enabled_drivers, crs_wkt)
160 raise IOError(“no such archive file: %r” % archive)
161 elif path != ‘-’ and not os.path.exists(path):
–> 162 raise IOError(“no such file or directory: %r” % path)
163 c = Collection(path, mode, driver=driver, encoding=encoding,
164 layer=layer, vsi=vsi, archive=archive,
OSError: no such file or directory: ‘C:\Users\sanchez\AppData\Local\Continuum\anaconda3\lib\site-packages\plotly\figure_factor/package_data/gz_2010_us_050_00_500k.shp’
if that’s the case, do I just need to change the name? that should solve it, right?
EDIT:
I followed the path and it seems like I do have the folder named “figure_factory”