Skip to content
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

ERROR: Python 3.11.0 Installation Error #2286

Closed
dogukankaratas opened this issue Oct 26, 2022 · 7 comments
Closed

ERROR: Python 3.11.0 Installation Error #2286

dogukankaratas opened this issue Oct 26, 2022 · 7 comments

Comments

@dogukankaratas
Copy link

After I updated my Python to 3.11.0, I'm no more capable of installing Dash with pip.

First I got the following error:

image

Then I installed a newer version of C++ BuildTools and now I got another one;

image

Any suggestions?

Thanks in advance.

@T4rk1n
Copy link
Contributor

T4rk1n commented Oct 26, 2022

brotli has not published wheels for python 3.11, in the meantime new wheels are published, the dependency needs to be compiled manually, for that you need to install the python-dev packages for python 3.11.

@T4rk1n
Copy link
Contributor

T4rk1n commented Oct 26, 2022

For windows it needs the vs c++ build tools.

@dogukankaratas
Copy link
Author

Thanks for quick reply. I already installed vs c++ build tools but still got an error.
image

@alexcjohnson
Copy link
Collaborator

Here's the root issue: google/brotli#984
@dogukankaratas it's a bit beyond our scope to help with compiling dependent packages but maybe someone over there can help, in the event that they don't fix the issue quickly themselves by releasing Py3.11-compatible wheels.

@T4rk1n I wonder though, compress defaults to False since v2.0 (#1707) - what if we removed flask-compress from our required dependencies and just added a note to the compress docs like "to use this functionality you must also install the flask-compress package (and a clear error if you invoke compress without it)? I suppose ideally we would only do that in a major release, would it be too much in a minor?

@T4rk1n
Copy link
Contributor

T4rk1n commented Oct 27, 2022

compress defaults to False since v2.0

If it's false by default I think we can put it in extra require (dash[compress]) and message in case missing without a major version.

@alexcjohnson
Copy link
Collaborator

Let's do that then. It'll make our installation lighter in addition to solving this problem for what might turn out to be a lot of folks if the brotli maintainers don't act quickly.

@alexcjohnson
Copy link
Collaborator

#2291 is about all we can do for this from our side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants