-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkg_resources.extern.packaging.markers.UndefinedEnvironmentName Exception #501
Comments
I'm having this issue now. Latest Ubuntu LTS and its latest Python3 and pip. |
Could it be the same problem as in this issue ? |
I'm afraid it's not the same issue. Just tried downgrading and it didnt work. If you dont reference jinja2 it does run, but for me creates an empty messages.pot
|
@Mark-Wellings Could you create a repo with a minimal test case that exhibits this problem? |
I think my issue was related to how my app is organized. Reading all *.py files on the server gave me an error. Now I've got it set up so that it only reads init.py, that's the babel.cfg
|
After upgrading setuptools (pip install --upgrade setuptools) from 20.7.0 to 35.0.1 it works now. |
Closing this as it seems upgrading |
It happens again with setuptools 39.2.0, works until 39.1.0. |
Works with setuptools 40.5.0. |
Not for me.. I had to |
When I try the command:
$pybabel extract -F babel.cfg -o messages.pot .
I receive this output:
Why? I read it can depend from pip but I have the last upgraded version. This is my babel.cfg file:
I use python 3.
The text was updated successfully, but these errors were encountered: