Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/tensorflow/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 3.x 另一个Setup.py错误:选项-f无法识别_Python 3.x_Tensorflow_Jupyter Notebook - Fatal编程技术网

Python 3.x 另一个Setup.py错误:选项-f无法识别

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

我正在尝试以以下jupyernotebook结构运行安装文件:

重建/ init.py 模型/ 定制装载机 init.py 乌提尔斯 init.py 数据准备 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)
我是这样说的:

“没有sys.path hacks的解决方案”是该链接的一部分