Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- imran@fc07decbd50c:/tpcc/tpcc-course-2020$ bash install_client.sh
- /usr/bin/dirname
- /usr/bin/realpath
- Python version: 3.6.9
- usage: venv [-h] [--system-site-packages] [--symlinks | --copies] [--clear]
- [--upgrade] [--without-pip] [--prompt PROMPT]
- ENV_DIR [ENV_DIR ...]
- Creates virtual Python environments in one or more target directories.
- positional arguments:
- ENV_DIR A directory to create the environment in.
- optional arguments:
- -h, --help show this help message and exit
- --system-site-packages
- Give the virtual environment access to the system
- site-packages dir.
- --symlinks Try to use symlinks rather than copies, when symlinks
- are not the default for the platform.
- --copies Try to use copies rather than symlinks, even when
- symlinks are the default for the platform.
- --clear Delete the contents of the environment directory if it
- already exists, before environment creation.
- --upgrade Upgrade the environment directory to use this version
- of Python, assuming Python has been upgraded in-place.
- --without-pip Skips installing or upgrading pip in the virtual
- environment (pip is bootstrapped by default)
- --prompt PROMPT Provides an alternative prompt prefix for this
- environment.
- Once an environment has been created, you may wish to activate it, e.g. by
- sourcing an activate script in its bin directory.
- Creating virtual environment...
- Running command ['python3', '-m', 'venv', 'venv']
- Upgrading pip...
- Running command ['/tpcc/tpcc-course-2020/client/venv/bin/pip', 'install', '--upgrade', 'pip']
- Traceback (most recent call last):
- File "client/install.py", line 228, in <module>
- main()
- File "client/install.py", line 221, in main
- install(installer, args)
- File "client/install.py", line 205, in install
- installer.install(args.alias)
- File "client/install.py", line 170, in install
- self._create_venv()
- File "client/install.py", line 142, in _create_venv
- self._run([venv_pip, 'install', '--upgrade', 'pip'])
- File "client/install.py", line 60, in _run
- subprocess.check_call(command, **kwargs)
- File "/usr/lib/python3.6/subprocess.py", line 306, in check_call
- retcode = call(*popenargs, **kwargs)
- File "/usr/lib/python3.6/subprocess.py", line 287, in call
- with Popen(*popenargs, **kwargs) as p:
- File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
- restore_signals, start_new_session)
- File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
- raise child_exception_type(errno_num, err_msg, err_filename)
- FileNotFoundError: [Errno 2] No such file or directory: '/tpcc/tpcc-course-2020/client/venv/bin/pip': '/tpcc/tpcc-course-2020/client/venv/bin/pip'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement