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
  How does venv update $PATH without activating on Windows? bottomfeeder 3 750 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 3,360 Nov-27-2024, 02:20 PM
Last Post: menator01
  How to enable Matplotlib within virtual environment? tetris_theMovie 1 1,098 Oct-11-2024, 09:56 AM
Last Post: christie2
  JenkinsFile to create a Python venv NikitaMathur 2 1,596 Sep-23-2024, 11:33 AM
Last Post: NikitaMathur
  Troubleshooting Jupyter Notebook installation with Python using pip and a venv Drone4four 1 2,191 Jun-04-2024, 10:55 PM
Last Post: Drone4four
  Need help setting up trusted root ca in virtual environment dstempfley 0 1,239 May-31-2024, 03:14 PM
Last Post: dstempfley
  Help with creating folder and "virtual environment" AudunNilsen 1 1,014 Mar-21-2024, 04:41 AM
Last Post: deanhystad
  my venv is not loading njoki 1 1,790 Mar-20-2024, 10:41 AM
Last Post: snippsat
  Installing python packages in a virtual environment Led_Zeppelin 1 1,617 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 4,808 May-10-2023, 02:13 PM
Last Post: Calab

Forum Jump:

User Panel Messages

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