xoolive/traffic

Problems with the installation

Closed this issue · 9 comments

I have a problem with the installation of the traffic environment.
I receive the error: "Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source."

I work on a new MacBook Pro (M1) with MacOS Ventura (previous Monterey, same issues).
I already updated condo, de-installed and re-installed Anaconda. No success.

Does anybody has an idea?

Thanks
joe

@JoScheiderer I asked around to people with a M1 and they couldn't reproduce your issue...
Did you try with a fresh anaconda environment?

@xoolive I had it running on the same machine in the past, but then wanted to reset it. I have also already completely deleted and uninstalled he environment and reinstalled Anaconda. Unfortunately, the installation always gets stuck at the same place (right at the beginning).

image

The image shows the terminal window. The "solving environment" is something like an endless loop. It keeps going until the terminal window is terminated (I tried it several hours).
I am quite new to this, so sorry for asking perhaps stupid questions... what is a "new anaconda environment" or how can I make one apart from delete everything?

Thanks for your help.

I confirmed this error. I try to install traffic on "new and fresh" anaconda version (running as container from official anaconda image) and I have the same problem.

I think, I solved it (or my Computer did). After 2,5 h of "solving environment" it finally worked out and the condo finished the installation. It was my fourth attempt, where the computer run for more than 2 hours on this issue. Finally it worked...

That is really not sustainable… mamba is a good alternative for that resolution process. Otherwise I’ll try to relax version numbers even more in next release.

I have no idea what makes the resolution process difficult now 😞

After all night waiting still now instaled. Somebody could check it?
I try to install traffic in conda container https://hub.docker.com/r/continuumio/anaconda3

There is already a docker ready:
https://traffic-viz.github.io/user_guide/docker.html

Otherwise, I will soon do a new release (and try to relax some dependency constraints…)

Possibly related to this, I'm seeing errors with mamba after installing traffic on a (relatively) clean environment:

  File "C:\Users\Simon\miniconda3\lib\site-packages\OpenSSL\crypto.py", line 1577, in X509StoreFlags
    CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'

Looks like traffic is requiring pyopenssl version 20.x, which is causing compatibility issues with other libraries that require more recent versions (I have pyopenssl 23). Can this requirement be relaxed?

Hi all, I just did a traffic release on conda-forge (it was done on pip earlier this week), and the install was really fast on a clean miniconda.
They seem to have improved things in conda as well, so be sure to update your conda!

@simonrp84 that dependency constraint is now relaxed