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 Windows and Python VENV Pedroski55 2 60 May-11-2026, 10:27 PM
Last Post: Pedroski55
  Venv - Python Virtual Environment on Raspberry Pi DanneA 4 1,869 Jul-02-2025, 05:41 PM
Last Post: Larz60+
  Start Idle in a virtual environment Pedroski55 8 4,352 Jun-02-2025, 05:53 AM
Last Post: Pedroski55
  How does venv update $PATH without activating on Windows? bottomfeeder 3 2,316 Mar-13-2025, 01:46 PM
Last Post: DeaD_EyE
  I cannot create a virtual environment on visual studio code using python Willem_Aucamp316 2 13,074 Nov-27-2024, 02:20 PM
Last Post: menator01
  How to enable Matplotlib within virtual environment? tetris_theMovie 1 2,063 Oct-11-2024, 09:56 AM
Last Post: christie2
  JenkinsFile to create a Python venv NikitaMathur 2 3,326 Sep-23-2024, 11:33 AM
Last Post: NikitaMathur
  Need help setting up trusted root ca in virtual environment dstempfley 0 1,935 May-31-2024, 03:14 PM
Last Post: dstempfley
  Help with creating folder and "virtual environment" AudunNilsen 1 1,632 Mar-21-2024, 04:41 AM
Last Post: deanhystad
  my venv is not loading njoki 1 3,852 Mar-20-2024, 10:41 AM
Last Post: snippsat

Forum Jump:

User Panel Messages

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