question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Conda install broken?

See original GitHub issue

I have ipyleaflet installed from conda in this MyBinder repo: https://github.com/banesullivan/localtileserver-demo

Where I specify ipyleaflet as a depend here: https://github.com/banesullivan/localtileserver-demo/blob/9684215e233c01b70f6a9398f4e8ae6f9bfa9f29/environment.yml#L16

and I’m getting this error trying to import Map:

ImportError                               Traceback (most recent call last)
/tmp/ipykernel_65/1135981640.py in <module>
----> 1 from ipyleaflet import Map

ImportError: cannot import name 'Map' from 'ipyleaflet' (/srv/conda/envs/notebook/lib/python3.10/site-packages/ipyleaflet/__init__.py)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
davidbrochartcommented, Dec 6, 2021

Thanks for reporting @banesullivan, sorry for that! xyzservices was added as a dependency in the PyPI package but not in the conda package. This is fixed in https://github.com/conda-forge/ipyleaflet-feedstock/pull/99. I also marked the current conda package for v0.15.0 as broken in https://github.com/conda-forge/admin-requests/pull/356. You should now (or soon) be able to mamba install ipyleaflet=0.15.0 again and it should work fine (maybe clean the cache with mamba clean -i).

1reaction
martinRenoucommented, Dec 7, 2021

Awesome thanks David!

Read more comments on GitHub >

github_iconTop Results From Across the Web

conda environment broken after updating conda
After installing conda I used pip to install the various packages. Yesterday I started working on some code from a tutorial on git, ......
Read more >
Fix Broken Anaconda Environment Due To Recent Package ...
So i installed tensorflow into my base anaconda environment and it practically broke everything. Run this command: conda list --revisions to ...
Read more >
Conda --install installs broken packages, default ... - GitHub
Uninstalling / reinstalling the packages through conda does not work. Conda does seem to look in the right library for the packages, checked ......
Read more >
Troubleshooting — Anaconda documentation
Open your /var/log/install.log file and check whether the most recent lines show errors following a call to conda init --all .
Read more >
Conda install broken? - Matminer
Hello, I have just been met with the following error across all of my anaconda distributions across various platforms when upgrading conda ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found