我试图弄清楚如何在Pipfile中为不同的操作系统指定不同的文件。特别是pytorch具有不同的下载链接,并且天真地将其指定如下
"display_name": "pySpark (Spark 2.3.1) Python 3", "language": "python", "argv": [ "D:\Anaconda3\", "-m", "ipykernel", "-f", "{connection_file}" ], "env": { "SPARK_HOME": "D:\Pixiedust\bin\spark-2.3.1-bin-hadoop2.7\", "PYTHONPATH": "D:\Pixiedust\bin\spark-2.3.1-bin-hadoop2.7\python\:D:\Pixiedust\bin\spark-2.3.1-bin-hadoop2.7\python\lib\py4j-0.10.7-src.zip", "PYTHONSTARTUP": "D:\Pixiedust\bin\spark-2.3.1-bin-hadoop2.7\python\pyspark\shell.py", "PYSPARK_SUBMIT_ARGS": "--driver-class-path D:\Pixiedust\bin\spark-2.3.1-bin-hadoop2.7\data\mllib\* --master local[10] pyspark-shell", "SPARK_DRIVER_MEMORY":"10G", "SPARK_LOCAL_IP":"127.0.0.1" } }
这不起作用,因为toml允许重复的键。有这样做的语法吗?