我试图在新安装的 ERPnext 上启动一个工作台,我是该框架的新手,我的问题 prolly 是一个错误安装,但我无法真正面对它,这是我的控制台输出的一个截图:
虚拟环境:16.6.0
$ => bench init 在线书
Traceback (most recent call last):
File "/Library/Python/3.7/site-packages/virtualenv.py", line 2580, in <module>
main()
File "/Library/Python/3.7/site-packages/virtualenv.py", line 831, in main
symlink=options.symlink,
File "/Library/Python/3.7/site-packages/virtualenv.py", line 1106, in create_environment
install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages=site_packages, clear=clear, symlink=symlink)
File "/Library/Python/3.7/site-packages/virtualenv.py", line 1568, in install_python
shutil.copy(original_python, py_executable)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/shutil.py", line 245, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/shutil.py", line 103, in copyfile
if _samefile(src, dst):
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/shutil.py", line 88, in _samefile
return os.path.samefile(src, dst)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/genericpath.py", line 96, in samefile
s1 = os.stat(f1)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
有没有人遇到过这样的事情?它可能与 ERPnext 相关,也可能不相关,但我真的被困在这里