jwass / mplleaflet

Easily convert matplotlib plots from Python into interactive Leaflet web maps.
BSD 3-Clause "New" or "Revised" License
522 stars 77 forks source link

conflict with python 3.6 #41

Open epmmko opened 7 years ago

epmmko commented 7 years ago

Hi,

I tried to install mplleaflet with conda

conda install -c ioos mplleaflet=0.0.5

I received the following message

Fetching package metadata .............
Solving package specifications: .

UnsatisfiableError: The following specifications were found to be in conflict:
  - mplleaflet 0.0.5* -> python 3.4*
  - python 3.6*
Use "conda info <package>" to see the dependencies for each package.

It seems that I have python 3.6, but mplleaflet does not work with python 3.6. Could you please help me by fixing this issue? If this is not because the conflict with python 3.6, could you please also suggest how to fix this? Thank you.

ocefpaf commented 7 years ago

The IOOS channel is deprecated, you need to use conda-forge instead. Also, that message does not mean mplleaflet is incompatible with Python 3.6 it means that the package is not available for Python 3.6 in the ioos channel.

epmmko commented 7 years ago

Thank you. I fix it by downloading the file directly from https://testpypi.python.org/pypi/mplleaflet/0.0.5 then unpack it with 7zip, and use setup.py install Then, it just works, somehow.

ocefpaf commented 7 years ago

That is installing from source. It is an advanced way to do it but works too ;-)

On May 28, 2017 1:51 PM, "epmmko" notifications@github.com wrote:

Thank you. I fix it by downloading the file directly from https://testpypi.python.org/pypi/mplleaflet/0.0.5 then unpack it with 7zip, and use setup.py install Then, it just works, somehow.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jwass/mplleaflet/issues/41#issuecomment-304529639, or mute the thread https://github.com/notifications/unsubscribe-auth/AA6BL0pUW7Dt9dXgl_W581Fu0ytkoadhks5r-bQdgaJpZM4NotI_ .

ratnanil commented 4 years ago

While I got the same error as @epmmko (https://github.com/jwass/mplleaflet/issues/41#issue-231882318), the following worked for me:

conda install -c conda-forge mplleaflet