Closed AlexJew closed 4 years ago
@AlexJew thanks for the report (can you copy over the additional information from https://github.com/geopandas/geopandas/issues/1394 here?).
That's a strange issue (conda-forge channel seems to be added correctly and strict channel priority in set in your configuration). Can you try if creating a new environment and installing geopandas in one go works? (conda create -n test_env geopandas
)
@jorisvandenbossche I have transfered the additional info from the other issue.
Here's what I obtain when trying to create a new environment and install geopandas
(base) C:\Users\jewell>conda create -n test_env geopandas
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError:
Note that strict channel priority may have removed packages required for satisfiability.
And, not sure if it helps, but here are the results for the same command, but with verbosity: 3
. It is a lot of info ^^
(base) C:\Users\jewell>conda create -n test_env geopandas
DEBUG conda.gateways.logging:set_verbosity(231): verbosity set to 3
DEBUG conda.core.solve:solve_final_state(223): solving prefix C:\Users\jewell\Anaconda3\envs\test_env
specs_to_remove: frozenset()
specs_to_add: frozenset({MatchSpec("geopandas")})
prune: <auxlib._Null object at 0x0000019CE940DC48>
Collecting package metadata (current_repodata.json): ...working... TRACE conda.gateways.disk.test:file_path_is_writable(25): checking path is writable C:\Users\jewell\Anaconda3\pkgs\urls.txt
DEBUG conda.core.package_cache_data:_check_writable(259): package cache directory 'C:\Users\jewell\Anaconda3\pkgs' writable: True
DEBUG conda.core.subdir_data:_load(235): Using cached repodata for https://conda.anaconda.org/conda-forge/win-64/current_repodata.json at C:\Users\jewell\Anaconda3\pkgs\cache\f7597cf7.json. Timeout in 6 sec
DEBUG conda.core.subdir_data:_load(235): Using cached repodata for https://conda.anaconda.org/conda-forge/noarch/current_repodata.json at C:\Users\jewell\Anaconda3\pkgs\cache\62c98390.json. Timeout in 5 sec
DEBUG conda.core.subdir_data:_read_pickled(324): found pickle file C:\Users\jewell\Anaconda3\pkgs\cache\f7597cf7.q
DEBUG conda.core.subdir_data:_read_pickled(324): found pickle file C:\Users\jewell\Anaconda3\pkgs\cache\62c98390.q
done
Solving environment: ...working... DEBUG conda.resolve:get_reduced_index(572): Retrieving packages for:
- geopandas
DEBUG conda.resolve:filter_group(633): attrs: pruned from 6 -> 3
DEBUG conda.resolve:filter_group(633): python: pruned from 27 -> 12
DEBUG conda.resolve:filter_group(633): pip: pruned from 9 -> 7
DEBUG conda.resolve:filter_group(633): python: pruned from 12 -> 9
DEBUG conda.resolve:filter_group(633): python_abi: pruned from 8 -> 6
DEBUG conda.resolve:filter_group(633): wincertstore: pruned from 19 -> 9
DEBUG conda.resolve:filter_group(633): wheel: pruned from 5 -> 4
DEBUG conda.resolve:filter_group(633): click-plugins: pruned from 5 -> 2
DEBUG conda.resolve:filter_group(633): click: pruned from 7 -> 5
DEBUG conda.resolve:filter_group(633): cligj: pruned from 5 -> 1
DEBUG conda.resolve:filter_group(633): gdal: pruned from 66 -> 30
DEBUG conda.resolve:filter_group(633): libgdal: pruned from 10 -> 0
DEBUG conda.resolve:filter_group(633): geopandas: pruned from 4 -> 2
DEBUG conda.resolve:filter_group(633): fiona: pruned from 3 -> 0
DEBUG conda.core.solve:_add_specs(617): specs_map with targets: OrderedDict()
DEBUG conda.resolve:bad_installed(1114): Checking if the current environment is consistent
DEBUG conda.core.solve:_find_inconsistent_packages(484): inconsistent precs: None
DEBUG conda.common._logic:_run_sat(601): Invoking SAT with clause count: 2
DEBUG conda.resolve:_get_sat_solver_cls(60): Using SAT solver interface 'pycosat'.
DEBUG conda.resolve:gen_clauses(914): gen_clauses returning with clause count: 2849
DEBUG conda.resolve:generate_spec_constraints(922): generate_spec_constraints returning with clause count: 2849
DEBUG conda.common._logic:_run_sat(601): Invoking SAT with clause count: 2850
DEBUG conda.resolve:gen_clauses(914): gen_clauses returning with clause count: 19208
DEBUG conda.resolve:generate_spec_constraints(922): generate_spec_constraints returning with clause count: 19208
DEBUG conda.common._logic:_run_sat(601): Invoking SAT with clause count: 19209
DEBUG conda.resolve:generate_spec_constraints(922): generate_spec_constraints returning with clause count: 19208
DEBUG conda.common._logic:_run_sat(601): Invoking SAT with clause count: 19209
DEBUG conda.core.solve:_run_sat(757): conflicting specs:
- geopandas
DEBUG conda.core.solve:_run_sat(801): final specs to add:
- geopandas
DEBUG conda.resolve:solve(1246): Solving for:
- 0: geopandas target=None optional=False
DEBUG conda.resolve:solve(1256): Solve: Getting reduced index of compliant packages
DEBUG conda.resolve:solve(1285): Solve: determining satisfiability
DEBUG conda.resolve:gen_clauses(914): gen_clauses returning with clause count: 2849
DEBUG conda.resolve:generate_spec_constraints(922): generate_spec_constraints returning with clause count: 2849
DEBUG conda.common._logic:_run_sat(601): Invoking SAT with clause count: 2850
failed with repodata from current_repodata.json, will retry with next repodata source.
DEBUG conda.core.solve:solve_final_state(223): solving prefix C:\Users\jewell\Anaconda3\envs\test_env
specs_to_remove: frozenset()
specs_to_add: frozenset({MatchSpec("geopandas")})
prune: <auxlib._Null object at 0x0000019CE940DC48>
Collecting package metadata (repodata.json): ...working... DEBUG conda.core.subdir_data:_load(235): Using cached repodata for https://conda.anaconda.org/conda-forge/win-64/repodata.json at C:\Users\jewell\Anaconda3\pkgs\cache\5afe41e9.json. Timeout in 32 sec
DEBUG conda.core.subdir_data:_load(235): Using cached repodata for https://conda.anaconda.org/conda-forge/noarch/repodata.json at C:\Users\jewell\Anaconda3\pkgs\cache\09cdf8bf.json. Timeout in 29 sec
DEBUG conda.core.subdir_data:_read_pickled(324): found pickle file C:\Users\jewell\Anaconda3\pkgs\cache\5afe41e9.q
DEBUG conda.core.subdir_data:_read_pickled(324): found pickle file C:\Users\jewell\Anaconda3\pkgs\cache\09cdf8bf.q
done
Solving environment: ...working... DEBUG conda.resolve:get_reduced_index(572): Retrieving packages for:
- geopandas
DEBUG conda.resolve:filter_group(633): geopandas: pruned from 43 -> 21
DEBUG conda.resolve:filter_group(633): fiona: pruned from 178 -> 33
DEBUG conda.resolve:filter_group(633): python: pruned from 104 -> 79
DEBUG conda.resolve:filter_group(633): pip: pruned from 79 -> 53
DEBUG conda.resolve:filter_group(633): setuptools: pruned from 285 -> 169
DEBUG conda.resolve:filter_group(633): wheel: pruned from 65 -> 45
DEBUG conda.resolve:filter_group(633): cligj: pruned from 6 -> 4
DEBUG conda.resolve:filter_group(633): click: pruned from 15 -> 10
DEBUG conda.resolve:filter_group(633): libgdal: pruned from 35 -> 0
DEBUG conda.resolve:filter_group(633): geopandas: pruned from 21 -> 19
DEBUG conda.resolve:filter_group(633): fiona: pruned from 33 -> 15
DEBUG conda.resolve:filter_group(633): click-plugins: pruned from 7 -> 5
DEBUG conda.resolve:filter_group(633): gdal: pruned from 91 -> 0
DEBUG conda.core.solve:_add_specs(617): specs_map with targets: OrderedDict()
DEBUG conda.resolve:bad_installed(1114): Checking if the current environment is consistent
DEBUG conda.core.solve:_find_inconsistent_packages(484): inconsistent precs: None
DEBUG conda.resolve:gen_clauses(914): gen_clauses returning with clause count: 14061
DEBUG conda.resolve:generate_spec_constraints(922): generate_spec_constraints returning with clause count: 14061
DEBUG conda.common._logic:_run_sat(601): Invoking SAT with clause count: 14062
DEBUG conda.resolve:gen_clauses(914): gen_clauses returning with clause count: 159690
DEBUG conda.resolve:generate_spec_constraints(922): generate_spec_constraints returning with clause count: 159690
DEBUG conda.common._logic:_run_sat(601): Invoking SAT with clause count: 159691
DEBUG conda.resolve:generate_spec_constraints(922): generate_spec_constraints returning with clause count: 159690
DEBUG conda.common._logic:_run_sat(601): Invoking SAT with clause count: 159691
DEBUG conda.core.solve:_run_sat(757): conflicting specs:
- geopandas
DEBUG conda.core.solve:_run_sat(801): final specs to add:
- geopandas
DEBUG conda.resolve:solve(1246): Solving for:
- 0: geopandas target=None optional=False
DEBUG conda.resolve:solve(1256): Solve: Getting reduced index of compliant packages
DEBUG conda.resolve:solve(1285): Solve: determining satisfiability
DEBUG conda.resolve:gen_clauses(914): gen_clauses returning with clause count: 14061
DEBUG conda.resolve:generate_spec_constraints(922): generate_spec_constraints returning with clause count: 14061
DEBUG conda.common._logic:_run_sat(601): Invoking SAT with clause count: 14062
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
Traceback (most recent call last):
File "C:\Users\jewell\Anaconda3\lib\site-packages\conda\exceptions.py", line 1079, in __call__
return func(*args, **kwargs)
File "C:\Users\jewell\Anaconda3\lib\site-packages\conda\cli\main.py", line 84, in _main
exit_code = do_call(args, p)
File "C:\Users\jewell\Anaconda3\lib\site-packages\conda\cli\conda_argparse.py", line 82, in do_call
return getattr(module, func_name)(args, parser)
File "C:\Users\jewell\Anaconda3\lib\site-packages\conda\cli\main_create.py", line 37, in execute
install(args, parser, 'create')
File "C:\Users\jewell\Anaconda3\lib\site-packages\conda\cli\install.py", line 292, in install
raise e
File "C:\Users\jewell\Anaconda3\lib\site-packages\conda\cli\install.py", line 265, in install
should_retry_solve=(_should_retry_unfrozen or repodata_fn != repodata_fns[-1]),
File "C:\Users\jewell\Anaconda3\lib\site-packages\conda\core\solve.py", line 117, in solve_for_transaction
should_retry_solve)
File "C:\Users\jewell\Anaconda3\lib\site-packages\conda\core\solve.py", line 158, in solve_for_diff
force_remove, should_retry_solve)
File "C:\Users\jewell\Anaconda3\lib\site-packages\conda\core\solve.py", line 281, in solve_final_state
ssc = self._run_sat(ssc)
File "C:\Users\jewell\Anaconda3\lib\site-packages\conda\common\io.py", line 88, in decorated
return f(*args, **kwds)
File "C:\Users\jewell\Anaconda3\lib\site-packages\conda\core\solve.py", line 808, in _run_sat
should_retry_solve=ssc.should_retry_solve
File "C:\Users\jewell\Anaconda3\lib\site-packages\conda\common\io.py", line 88, in decorated
return f(*args, **kwds)
File "C:\Users\jewell\Anaconda3\lib\site-packages\conda\resolve.py", line 1318, in solve
self.find_conflicts(specs, specs_to_add, history_specs)
File "C:\Users\jewell\Anaconda3\lib\site-packages\conda\resolve.py", line 351, in find_conflicts
raise UnsatisfiableError(bad_deps, strict=strict_channel_priority)
conda.exceptions.UnsatisfiableError:
Note that strict channel priority may have removed packages required for satisfiability.
@AlexJew Thanks for the additional info! I don't have a windows, so I can't try to reproduce. And I also don't directly notice something in the verbose logs .. (cc @ocefpaf)
@AlexJew sorry for the delay to answer but I've been a bit swamped lately. I tested with both strict
enabled and disabled and both worked. I guess that whatever the conflict was it got fixed while you waited for an answer here :-)
Please reopen if you are still experiencing this.
I am unable to install
geopandas
fromconda-forge
on Windows 10 64-bit. However, when installing fromanaconda
, the installation is successful.Environment (
conda list
):Details about
conda
and system (conda info
):Environment (
conda config --show
):