Python Forum
The command python3 -m venv venv does not correctly set sys.path
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The command python3 -m venv venv does not correctly set sys.path
#2
The reason the python -m venv command was not working was that in my .bash_aliases I had aliased python to be python="/usr/bin/python3" This was the problem. The explanation is found at the link below.
The link is a page on Jetbrains: FIx for path problem
Reply


Messages In This Thread
RE: The command python3 -m venv venv does not correctly set sys.path - by echeadle - Feb-17-2023, 04:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Emacs 28 and venv pisterpesto 1 1,986 Nov-30-2022, 05:55 AM
Last Post: Larz60+
  paths for venv Skaperen 5 1,932 Jun-14-2022, 10:04 AM
Last Post: snippsat
  venv conflict at shell prompt Skaperen 3 2,918 Feb-21-2019, 02:18 AM
Last Post: Larz60+
  PyCharm virtual environment (venv) issues? j.crater 1 2,334 Aug-14-2018, 10:22 PM
Last Post: Larz60+
  os.path.join, bytearray, python2 vs python3 Skaperen 0 2,071 Jul-06-2018, 01:19 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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