conda install -c conda-forge paraview: failed to install paraview

huangapple go评论106阅读模式
英文:

conda install -c conda-forge paraview: failed to install paraview

问题

在基础环境中通过conda安装Paraview失败,尽管在新创建的环境中可以成功安装。问题是,我的Spyder在基础环境中,无法安装在其他任何环境中。
它一直尝试找到一种安装方式,但每次都失败

我需要它们都在同一个环境中才能使其正常工作。我已经将它们的路径添加到PYTHONPATH和PATH,但没有用。

英文:

Failed to install paraview through conda in the base environment even though it installs fine in any newly created environments. The issue is, my spyder is present in base and can't be installed in any other env.
it keeps trying to find a way to install but fails everytime

I need both of these in the same env to make it work. I have already added their paths to PYTHONPATH and PATH but no use.

答案1

得分: 1

问题在于Paraview是一个庞大的软件包,具有许多依赖项。由于基本的Anaconda安装已经包含了许多软件包,无法满足所有这些依赖项,因此无法保持基本Anaconda安装的完整性。

解决方案是将Spyder和Paraview都安装到一个新的环境中。

conda create -n myenv python=3.10.* spyder paraview --channel conda-forge

要使用Spyder,需要在运行spyder命令之前激活新环境。

conda activate myenv
spyder
英文:

The issue is that paraview is a large package with a lot of dependencies. Not all of those dependencies can be satisfied while keeping the base Anaconda installation intact because the base environment already contains so many packages.

The solution is to install both spyder and paraview into a new environment.

conda create -n myenv python=3.10.* spyder paraview --channel conda-forge

To use spyder, you need to activate the new environment before running the spyder command.

conda activate myenv
spyder

huangapple
  • 本文由 发表于 2023年7月6日 20:05:48
  • 转载请务必保留本文链接:https://go.coder-hub.com/76628654.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定