Python Forum
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setting up virtual environment
#1
I am trying to setup a virtual environment. I don't see anything when I run this code. No folders are created. I just don't know if there should be something.

def create(self, env_dir):
    """
    Create a virtualized Python environment in a directory.
    env_dir is the target directory to create an environment in.
    """
    env_dir = os.path.abspath(env_dir)
    context = self.ensure_directories(env_dir)
    self.create_configuration(context)
    self.setup_python(context)
    self.setup_scripts(context)
    self.post_setup(context)
As always, I appreciate your help!
Reply


Messages In This Thread
Setting up virtual environment - by tjnichols - Sep-12-2018, 04:30 PM
RE: Setting up virtual environment - by snippsat - Sep-12-2018, 05:59 PM
RE: Setting up virtual environment - by tjnichols - Sep-12-2018, 07:08 PM
RE: Setting up virtual environment - by tjnichols - Sep-12-2018, 10:05 PM
RE: Setting up virtual environment - by tjnichols - Sep-13-2018, 03:04 PM
RE: Setting up virtual environment - by snippsat - Sep-13-2018, 05:00 PM
RE: Setting up virtual environment - by tjnichols - Sep-18-2018, 05:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  virtual environment is not activating in centOS Anu 5 3,611 Dec-16-2019, 10:48 AM
Last Post: Anu

Forum Jump:

User Panel Messages

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