Python Forum
Creating virtual environment with venv
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating virtual environment with venv
#1
I'm pulling my hair out trying to install Flask on my Mac. I have Python 3.8.0. I'm trying to create a virtual environment using the python3 -m venv venv string and I get invalid syntax. Any suggestions?
Reply
#2
Quote:I'm trying to create a virtual environment using the python3 -m venv venv string and I get invalid syntax.
how are you trying to do so?
It cannot be done from python interpreter, must be done from command line
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with creating folder and "virtual environment" AudunNilsen 1 224 Mar-21-2024, 04:41 AM
Last Post: deanhystad
  my venv is not loading njoki 1 236 Mar-20-2024, 10:41 AM
Last Post: snippsat
  Installing python packages in a virtual environment Led_Zeppelin 1 759 Aug-15-2023, 08:18 PM
Last Post: deanhystad
  Understanding venv; How do I ensure my python script uses the environment every time? Calab 1 2,260 May-10-2023, 02:13 PM
Last Post: Calab
  Problem with virtual environment standenman 2 1,006 Feb-23-2023, 07:09 PM
Last Post: standenman
  Python venv and PIP version issue JanOlvegg 2 1,253 Feb-22-2023, 02:22 AM
Last Post: JanOlvegg
Question Virtual Environment (using VS Code) Ashcora 4 13,683 Feb-15-2023, 07:17 PM
Last Post: snippsat
  Visual Studio Code venv ibm_db error mesi1000 7 2,786 Nov-13-2022, 12:36 AM
Last Post: snippsat
  How do I link the virtual environment of that project to the 3.9.2 version of python? Bryant11 1 1,369 Feb-26-2022, 11:15 AM
Last Post: Larz60+
  Project structure with a virtual environment gdbengo 1 1,431 Jan-26-2022, 03:22 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020