我正在尝试使用以下jupyernotebook结构运行安装文件:
重建/ 初始化 .py 楷模/ custom_loader 初始化 .py 实用程序 初始化 .py data_prep setup.py
但是我一直收到此错误消息。有人知道任何修复程序吗?
from distutils.core import setup
setup(
name='Reconstruction1',
version='1.0',
py_modules=['Reconstruction'],
)
An exception has occurred, use %tb to see the full traceback.
SystemExit: usage: ipykernel_launcher.py [global_opts] cmd1 [cmd1_opts]
[cmd2 [cmd2_opts] ...]
or: ipykernel_launcher.py --help [cmd1 cmd2 ...]
or: ipykernel_launcher.py --help-commands
or: ipykernel_launcher.py cmd --help
error: option -f not recognized
/Users/bhaveshgopal/anaconda3/lib/python3.6/site-
packages/IPython/core/interactiveshell.py:3275: UserWarning: To exit: use
'exit', 'quit', or Ctrl-D.
warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)
我正在关注: Importing modules from parent folder
该^链接的“没有sys.path hack的解决方案”部分