我正在尝试使用Python设置开发环境,包括Python库Spacy和Pandas。我要运行的命令是nix-shell -p 'python36.withPackages(ps: with ps; [ spacy pandas ])'
但这是发生了什么
these derivations will be built:
/nix/store/7pgb52aa5hkgzv0mkc3jmxdhavxdr013-python3-3.6.6-env.drv
building '/nix/store/7pgb52aa5hkgzv0mkc3jmxdhavxdr013-python3-3.6.6-env.drv'...
collision between `/nix/store/k1njxvw8rdv29yz7iccr4nbfwcbghwhc-python3.6-msgpack-0.5.6/lib/python3.6/site-packages/msgpack/__pycache__/__init__.cpython-36.pyc' and `/nix/store/nig71x1wc7b3c04hs6vz8kk6bmdz5ldv-python3.6-msgpack-python-0.5.6/lib/python3.6/site-packages/msgpack/__pycache__/__init__.cpython-36.pyc'
这里发生了什么,我该如何解决?
答案 0 :(得分:1)
static void Main(string[] args){
Console.WriteLine("This program will convert numbers that you enter into their spoken English counterpart.\nExample: 100 = One Hundred.\n\nPlease enter your desired number to convert: ");
//Need to create an instance/object of ToText. Then call the ConvertToText via ToText Instance/Object
ToText ToText=new ToText();
string ConvertedValue=ToText.ConvertToText(Console.ReadLine());
Console.WriteLine(ConvertedValue);
}
重命名为msgpack-python
,但两个软件包都存在于Nixpkgs的msgpack
中。这似乎是release-18.09
上的fixed,并且这些修复程序应反向移植到18.09。确实存在针对此类问题的解决方法:
master
这实际上不是NixOS问题,而是Nixpkgs问题。
请注意,您只能安装单个环境,这是导致冲突错误的另一个常见原因。这不是这里的问题。