Cannot install Frictionless with poetry or pip with setuptools>=58.0
See original GitHub issueOverview
Cannot install Frictionless with https://github.com/python-poetry/poetry -
docker run --rm python:3.9 bash -c "pip install poetry; poetry init -n; poetry add frictionless; poetry install"
this produces an error:
(...)
• Installing simpleeval (0.9.10)
• Installing stringcase (1.2.0)
• Installing typer (0.4.0)
• Installing validators (0.18.2)
EnvCommandError
(...)
error in simpleeval setup command: use_2to3 is invalid.
I get a similar error when installing with pip:
docker run --rm python:3.9 bash -c "pip install \"setuptools>=58.0\"; pip install frictionless"
It seems to be a result of a bug in simpleeval https://github.com/danthedeckie/simpleeval/issues/90
Please preserve this line to notify @roll (lead of this repository)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Be able to specify which version of setuptools has to be used
My solution was to run the following before a build in out CI: poetry run pip install --upgrade setuptools==57.5.0
Read more >Getting Started - Frictionless Framework
This documentation covers Frictionless Framework v5 which currently in a pre-release and can be installed using the pip --pre modifier.
Read more >Python package built with Poetry does not install supporting ...
I install into a test conda environent using pip install mypkg-0.2.0-py3-none-any.whl . Then looking at the C:\Users\me\anaconda3\envs\test\Lib\ ...
Read more >Why you should use Poetry instead of Pip or Conda for Python ...
There are various tools out there that manage dependencies for Python projects, such as Pip, Conda and even Poetry.
Read more >poetry-core - PyPI
Once this is present, a PEP 517 frontend like pip can build and install your project from source without the need for Poetry...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
With frictionless 4.20.2, also using poetry I was getting a similar error:
This worked, in a pinch:
poetry add reportbro-simpleeval
But rebuilding the virtualenv is a better solution:
poetry env remove python && poetry install
Just a heads up that some upgrades might not succeed cleanly.
This fix worked for me: https://github.com/python-poetry/poetry/issues/4511