Closed saswat closed 5 years ago
@saswat please take a look at https://conda-forge.org/docs/user/introduction.html#how-can-i-install-packages-from-conda-forge and https://conda-forge.org/docs/user/tipsandtricks.html#how-to-fix-it
The vast majority of your packages are coming from defaults
and not conda-forge
.
Do you know if there is an issue with these packages?
I did what was advised and installed everything from conda-forge, in a new environment. And I was still getting that error... Does launching jupyter notebook from a new environment make it so it only looks at packages within that environment? Or do I also have to maybe delete the packages in the base environment? or somehow replace those with the ones from conda-forge?
@saswat most of the answer to questions are in the docs I pointed to you above. If they are not clear I welcome feedback but looks like you did not checked them yet.
Also, if you created a new environment please post the debug information (conda list
and conda info
) again so we can debug the problem.
Hi @ocefpaf
Thanks a lot for your reply. I'm quite new to using conda....I tried to do what the link suggested by installing everything I could from conda-forge but ended up still getting the same error. Here is my new list of packages. It looks like everything is from conda-forge where possible (I did the thing to set channel_priority to strict but it kept saying 'flexible').
But one problem I'm not sure about is what does the build column mean? Should everything say py36_0? Is there a way I can make it default to that?
Environment (conda list
):
Details about conda
and system ( conda info
):
Does launching jupyter notebook from a new environment make it so it only looks at packages within that environment?
Yes. That is why we always recommend environment. You package list seems OK. Looks like this may be a problem with plotly
. In theory shapely
, which you have in the environment, should be equivalent to pyshp
, which you do not. You can try to install pyshp
too and see if that forces plotly to work as expected.
Thanks so much!!! that actually fixed it.
I really appreciate your time, I'm quite new to anaconda and am not familiar with navigating these sorts of issues.
Hello I hope I am asking in the right place.
Issue: Whenever I try to run some code like this, for making a county chloropeth map:
`import geopandas import plotly import plotly.figure_factory as ff
values = df2017['SIR'].tolist() fips = df2017['FIPS'].tolist() colorscale = [ 'rgb(193, 193, 193)', 'rgb(239,239,239)', 'rgb(195, 196, 222)', 'rgb(144,148,194)', 'rgb(101,104,168)', 'rgb(65, 53, 132)' ] fig = ff.create_choropleth( fips=fips, values=values, scope=['CA'], binning_endpoints=[14348, 63983, 134827, 426762, 2081313], colorscale=colorscale, county_outline={'color': 'rgb(255,255,255)', 'width': 0.5}, round_legend_values=True, legend_title='SIR by County', title='California test' ) fig.layout.template = None fig.show()`
I get some error like this:
Environment (
conda list
):Details about
conda
and system (conda info
):