Description
I am unable to compile spectralDNS using conda build.
After using:
conda build -c conda-forge conf/conda
I run into the following error:
Build:
source activate /project/dwive016/opt/Anaconda_3/conda-bld/_build_env
Traceback (most recent call last):
File "/project/dwive016/opt/Anaconda_3/lib/python3.7/site-packages/conda_build/environ.py", line 756, in get_install_actions
actions = install_actions(prefix, index, specs, force=True)
File "/project/dwive016/opt/Anaconda_3/lib/python3.7/site-packages/conda/common/io.py", line 88, in decorated
return f(*args, **kwds)
File "/project/dwive016/opt/Anaconda_3/lib/python3.7/site-packages/conda/plan.py", line 473, in install_actions
txn = solver.solve_for_transaction(prune=prune, ignore_pinned=not pinned)
File "/project/dwive016/opt/Anaconda_3/lib/python3.7/site-packages/conda/core/solve.py", line 107, in solve_for_transaction
force_remove, force_reinstall)
File "/project/dwive016/opt/Anaconda_3/lib/python3.7/site-packages/conda/core/solve.py", line 145, in solve_for_diff
force_remove)
File "/project/dwive016/opt/Anaconda_3/lib/python3.7/site-packages/conda/core/solve.py", line 242, in solve_final_state
ssc = self._run_sat(ssc)
File "/project/dwive016/opt/Anaconda_3/lib/python3.7/site-packages/conda/common/io.py", line 88, in decorated
return f(*args, **kwds)
File "/project/dwive016/opt/Anaconda_3/lib/python3.7/site-packages/conda/core/solve.py", line 510, in _run_sat
ssc.solution_precs = ssc.r.solve(tuple(final_environment_specs))
File "/project/dwive016/opt/Anaconda_3/lib/python3.7/site-packages/conda/common/io.py", line 88, in decorated
return f(*args, **kwds)
File "/project/dwive016/opt/Anaconda_3/lib/python3.7/site-packages/conda/resolve.py", line 1054, in solve
self.find_conflicts(specs)
File "/project/dwive016/opt/Anaconda_3/lib/python3.7/site-packages/conda/resolve.py", line 316, in find_conflicts
raise UnsatisfiableError(bad_deps)
conda.exceptions.UnsatisfiableError: The following specifications were found to be in conflict:
- mpich[version='>=3.3.2,<3.4.0a0']
- python[version='>=3.7,<3.8.0a0']
- shenfun[version='>=2.0.8']
Use "conda search --info" to see the dependencies for each package.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/project/dwive016/opt/Anaconda_3/bin/conda-build", line 11, in
sys.exit(main())
File "/project/dwive016/opt/Anaconda_3/lib/python3.7/site-packages/conda_build/cli/main_build.py", line 445, in main
execute(sys.argv[1:])
File "/project/dwive016/opt/Anaconda_3/lib/python3.7/site-packages/conda_build/cli/main_build.py", line 436, in execute
verify=args.verify, variants=args.variants)
File "/project/dwive016/opt/Anaconda_3/lib/python3.7/site-packages/conda_build/api.py", line 209, in build
notest=notest, need_source_download=need_source_download, variants=variants)
File "/project/dwive016/opt/Anaconda_3/lib/python3.7/site-packages/conda_build/build.py", line 2343, in build_tree
notest=notest,
File "/project/dwive016/opt/Anaconda_3/lib/python3.7/site-packages/conda_build/build.py", line 1407, in build
create_build_envs(top_level_pkg, notest)
File "/project/dwive016/opt/Anaconda_3/lib/python3.7/site-packages/conda_build/build.py", line 1291, in create_build_envs
raise e
File "/project/dwive016/opt/Anaconda_3/lib/python3.7/site-packages/conda_build/build.py", line 1281, in create_build_envs
channel_urls=tuple(m.config.channel_urls))
File "/project/dwive016/opt/Anaconda_3/lib/python3.7/site-packages/conda_build/environ.py", line 758, in get_install_actions
raise DependencyNeedsBuildingError(exc, subdir=subdir)
conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform linux-64: {"shenfun[version='>=2.0.8']", "python[version='>=3.7,<3.8.0a0']", "mpich[version='>=3.3.2,<3.4.0a0']"}
When I try,
conda search shenfun --info
Loading channels: done
No match found for: shenfun. Search: shenfun
PackagesNotFoundError: The following packages are not available from current channels:
- shenfun
Current channels:
- https://repo.anaconda.com/pkgs/main/linux-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/linux-64
- https://repo.anaconda.com/pkgs/r/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
I am new to using python, but any help in figuring this problem would be extremely helpful.