Get 2024 Templates Mega Bundle!19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets
Get for 99$

venv file not working in flask


starting from the beginning,

from the starterkit folder

>> . venv/Scripts/activate
venv/Scripts/activate:3: command not found: ^M
venv/Scripts/activate:70: parse error near `\n'

any ideas why this could happen?


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (9)


Please use to bypass this issue:

python3.10 -m venv venv # assuming you have python 3.10 installe
source venv/bin/activate



Hi Roberto,

When you use it on Windows which step do you have the issue with? Do you still get the "command not found" error?

We will update the docs after we could reproduce the issue and update instructions to run the application.

Thanks



following up on this issue, any new progress? happy



the issue is not resolved until the documentation is updated properly, i tried running on windows and also found problems when setting up the project. if this is not solved i would request a refund



Hi Roberto,

Sorry for the inconvenience. We mainly use Windows while working with Flask. We will check the macOS and update the appropriate documentation for macOS.

Does the issue has been resolved?

Thanks



I have installed python, the documentation is not correct if followed step by step. recommend taking a look at the process for macOS



Hi Roberto,

Have you installed Python?


python --version


We will revise the docs.

Thanks



hello, i cant install flask if the environment cant be first activated, unless you need to make a new venv from scratch in which case the documentation step by step is not right



Hi Roberto,

Have you installed the Flask?


pip install Flask


Please try to run this command to check if the Flask is properly installed.


flask --version


The result should display something like this.


Python 3.11.1
Flask 2.2.2
Werkzeug 2.2.2


Thanks


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(