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.

Install stuck on "solving environment", followed install instructions.

See original GitHub issue

I am attempting to install traffic with conda. I have followed the instructions on the installation page on the github. conda create -n traffic -c conda-forge python=3.9 traffic conda activate traffic However, the install gets stuck on solving environment. It will stay like this for some time, maybe over an hour.

I have tried to install traffic with pip (in a fresh env), and was able to install it, but I got lots of version errors when importing. I ended up downgrading maybe a dozen or so packages, but was unable to successfully import traffic.

I have not been able to find this same problem for traffic anywhere.

Should I: Just let the “solving environment” in the cmd line run for an extended period of time? Some process as described in the below link? https://github.com/conda/conda/issues/9367 Some other way?

Thanks for your help!

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
randomusername5commented, Feb 18, 2022

I am posting this in the hopes this will be helpful to someone else. I have successfully installed traffic! The first thing I tried is conda config --set channel_priority disabled This did not help. I next tried to install mamba. Installing with conda install mamba -n base -c conda-forge did not work, I got The environment is inconsistent, please check the package plan carefully and it ran in the cmd for hours before I canceled. I next tried conda update --all and let it run overnight. This finished. I then installed mamba with the windows installer on github. I installed traffic with mamba (following the directions on traffics github). Traffic installed in about 5 minutes, and imports sucessfully. On a side note, I am impressed with how fast mamba is. Looking forward to working with traffic!

0reactions
xoolivecommented, Feb 17, 2022

Please come to https://gitter.im/xoolive/traffic for this kind of assistance

About mamba: https://github.com/mamba-org/mamba#installation

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stuck at Solving Environment on Anaconda - Stack Overflow
Start fresh with a new Anaconda installation. Pay attention during installation to make sure that your install path is a subfolder of your...
Read more >
can't install anything using conda, it hangs in solving ... - GitHub
Hello,. I don't seem to be able to install anything using conda. It hangs in "solving environment". I tried: conda install -c anaconda...
Read more >
Anaconda - Leo's Notes
Conda being slow or stuck at solving an environment is a common problem. When running conda with the -vvv option, it eventually prints...
Read more >
conda install tensorflow stuck on solving environment - You.com
I try to install RapidsAI in Ubuntu18.04 in WSL2 using conda but the installation always stuck after repodata message Solving environment: failed with ......
Read more >
[Linux/Ubuntu] How to fix 'Solving environment: failed with ...
Retrying with flexible solve' while installing a certain package in your environment, then here's the fix without creating a new environment ...
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