-2

I want to install an older version of flask and can't figure out how to do that and I am using an Linux machine. I checked other questions about how to determine the version of flask but they only return the version of flask and even after trying different methods I cannot figure out how to do it.

Icy
  • 13
  • 7

2 Answers2

1
pip install flask==<VERSION>
batman
  • 100
  • 1
  • 11
  • While this code may resolve the OP's issue, it is best to include an explanation as to how your code addresses the OP's issue. In this way, future visitors can learn from your post, and apply it to their own code. SO is not a coding service, but a resource for knowledge. Also, high quality, complete answers are more likely to be upvoted. These features, along with the requirement that all posts are self-contained, are some of the strengths of SO as a platform, that differentiates it from forums. You can edit to add additional info &/or to supplement your explanations with source documentation. – SherylHohman May 16 '20 at 21:06
1

Looking at the pip documentation it looks like you can do that by typing:

pip install packagename == 1.4

in this case you would type pip install flask==(the version you want)