Python 3.x 另一个Setup.py错误:选项-f无法识别
我正在尝试以以下jupyernotebook结构运行安装文件: 重建/ init.py 模型/ 定制装载机 init.py 乌提尔斯 init.py 数据准备 setup.py 但我一直收到这个错误信息。有人知道有什么补救办法吗Python 3.x 另一个Setup.py错误:选项-f无法识别,python-3.x,tensorflow,jupyter-notebook,Python 3.x,Tensorflow,Jupyter Notebook,我正在尝试以以下jupyernotebook结构运行安装文件: 重建/ init.py 模型/ 定制装载机 init.py 乌提尔斯 init.py 数据准备 setup.py 但我一直收到这个错误信息。有人知道有什么补救办法吗 from distutils.core import setup setup( name='Reconstruction1', version='1.0', py_modules=['Reconstruction'], ) An e
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)
我是这样说的:
“没有sys.path hacks的解决方案”是该链接的一部分