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.

setup-miniconda step failing with error 'error in simpleeval setup command: use_2to3 is invalid.'

See original GitHub issue

One of the workflows where I use the setup-miniconda@v2 step started failing on 2021-09-13 with the error

error in simpleeval setup command: use_2to3 is invalid.

Link to the full log here.

I am able to create the environment locally with the same environment.yml file without issue with the command

> conda env create -f environment.yml

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
dcariboucommented, Sep 13, 2021

Adding simpleeval as a conda dep did it. Thanks @jaimergp! You are right, this is not an issue with the GH Action. I’m closing this.

0reactions
jezdezcommented, Sep 13, 2021

FWIW when looking at the log you can find that frictionless has a dependency for simpleeval. The bug in question is triggered by setuptools 58 dropping support for use_2to3: https://setuptools.readthedocs.io/en/latest/history.html#v58-0-0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error in X setup command: use_2to3 is invalid [Solved]
The error in X setup command: use_2to3 is invalid error occurs because `setuptools` has removed support for 2to3 during builds. To solve the...
Read more >
Error in anyjson setup command: use_2to3 is invalid
Downgrading setuptools worked for me pip install "setuptools<58.0.0". And then pip install django-celery.
Read more >
setup command: use_2to3 is invalid - liftoff/pyminifier - GitHub
https://stackoverflow.com/questions/69100275/error-while-downloading-the-requirements-using-pip-install-setup-command-use-2.
Read more >
Dependency scanning for Python v3.9 failing on dictalchemy
1 when getting this error in <x> setup command: use_2to3 is invalid error. We should also explain why this is needed, and link...
Read more >
Command python setup py egg info failed with error code 1 in ...
Hi Guys, I am trying to install jupyter in my Windows system, but It shows me the below error ... \AppData\Local\Temp\ How can...
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