Argparse和wxPython发生冲突

时间:2018-06-06 09:29:34

标签: python wxpython anaconda argparse

我在argparse和wxpython之间存在冲突问题。 首先,我为Windows 64bit安装最新的Anaconda版本,然后使用命令conda install -c anaconda argparse安装wxpython,使用pip安装Gooey 当我尝试安装argparse时,我得到了下一行

Solving environment: failed

UnsatisfiableError: The following specifications were found to be in conflict:
  - argparse
  - wxpython
Use "conda info <package>" to see the dependencies for each package.

我知道argparse默认带有anaconda,但是当我这样离开它时,我得到了由{Gooey字段解析的json文件的permission denied

args = parser.parse_args()
with open(args_file, 'w') as data_file:
    # Using vars(args) returns the data as a dictionary
    json.dump(vars(args), data_file)
    return args

不确定是否需要在conda列表中列出argparse,但我没有。

如果有一些信息我可以提供更具体的信息,我会的。

0 个答案:

没有答案