1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
unning virtualenv with interpreter /usr/local/Cellar/python/3.7.4/bin/python3
Already using interpreter /usr/local/opt/python/bin/python3.7
Using base prefix '/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7'
New python executable in /Users/durban/python/.env3/bin/python3.7
Not overwriting existing python script /Users/durban/python/.env3/bin/python (you must use /Users/durban/python/.env3/bin/python3.7)
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/virtualenv.py", line 420, in copyfile
os.symlink(os.path.realpath(src), dest)
FileExistsError: [Errno 17] File exists: '/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/Python' -> '/Users/durban/python/.env3/.Python'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/virtualenv.py", line 2632, in <module>
main()
File "/usr/local/lib/python3.7/site-packages/virtualenv.py", line 870, in main
symlink=options.symlink,
File "/usr/local/lib/python3.7/site-packages/virtualenv.py", line 1156, in create_environment
install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages=site_packages, clear=clear, symlink=symlink)
File "/usr/local/lib/python3.7/site-packages/virtualenv.py", line 1629, in install_python
copyfile(os.path.join(prefix, "Python"), virtual_lib, symlink)
File "/usr/local/lib/python3.7/site-packages/virtualenv.py", line 423, in copyfile
copy_file_or_folder(src, dest, symlink)
File "/usr/local/lib/python3.7/site-packages/virtualenv.py", line 403, in copy_file_or_folder
shutil.copy2(src, dest)
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/shutil.py", line 266, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/shutil.py", line 121, in copyfile
with open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/durban/python/.env3/.Python'
|