Skip to content

Instantly share code, notes, and snippets.

@gerasimos
Last active May 25, 2022 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gerasimos/c29a24986570c495f2fb50e2057bd62f to your computer and use it in GitHub Desktop.
Save gerasimos/c29a24986570c495f2fb50e2057bd62f to your computer and use it in GitHub Desktop.
RASA 3.1.0 on Apple M1
better check this: https://github.com/gerasimos/doc-rasa-on-m1
@rohanrajpal
Copy link

rohanrajpal commented May 20, 2022

Hey, I'm getting the following error with this

Documents/spurchat/code via 🅒 rasabot 
❯ conda env create -v --name rasatest -f Rasa-m1.yml                                                                                                                                                                                                                            (rasabot)
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed
Traceback (most recent call last):
  File "/Users/rohanrajpal/opt/anaconda3/lib/python3.9/site-packages/conda/exceptions.py", line 1082, in __call__
    return func(*args, **kwargs)
  File "/Users/rohanrajpal/opt/anaconda3/lib/python3.9/site-packages/conda_env/cli/main.py", line 80, in do_call
    exit_code = getattr(module, func_name)(args, parser)
  File "/Users/rohanrajpal/opt/anaconda3/lib/python3.9/site-packages/conda_env/cli/main_create.py", line 142, in execute
    result[installer_type] = installer.install(prefix, pkg_specs, args, env)
  File "/Users/rohanrajpal/opt/anaconda3/lib/python3.9/site-packages/conda_env/installers/conda.py", line 50, in install
    unlink_link_transaction = solver.solve_for_transaction(
  File "/Users/rohanrajpal/opt/anaconda3/lib/python3.9/site-packages/conda/core/solve.py", line 152, in solve_for_transaction
    unlink_precs, link_precs = self.solve_for_diff(update_modifier, deps_modifier,
  File "/Users/rohanrajpal/opt/anaconda3/lib/python3.9/site-packages/conda/core/solve.py", line 195, in solve_for_diff
    final_precs = self.solve_final_state(update_modifier, deps_modifier, prune, ignore_pinned,
  File "/Users/rohanrajpal/opt/anaconda3/lib/python3.9/site-packages/conda/core/solve.py", line 313, in solve_final_state
    ssc = self._add_specs(ssc)
  File "/Users/rohanrajpal/opt/anaconda3/lib/python3.9/site-packages/conda/core/solve.py", line 603, in _add_specs
    explicit_pool = ssc.r._get_package_pool(self.specs_to_add)
  File "/Users/rohanrajpal/opt/anaconda3/lib/python3.9/site-packages/conda/resolve.py", line 555, in _get_package_pool
    pool = self.get_reduced_index(specs)
  File "/Users/rohanrajpal/opt/anaconda3/lib/python3.9/site-packages/conda/common/io.py", line 88, in decorated
    return f(*args, **kwds)
  File "/Users/rohanrajpal/opt/anaconda3/lib/python3.9/site-packages/conda/resolve.py", line 576, in get_reduced_index
    explicit_specs, features = self.verify_specs(explicit_specs)
  File "/Users/rohanrajpal/opt/anaconda3/lib/python3.9/site-packages/conda/resolve.py", line 288, in verify_specs
    raise ResolvePackageNotFound(bad_deps)
conda.exceptions.ResolvePackageNotFound: 
  - tensorflow-deps==2.7.0

could you please help me out?

Silly me, I had installed conda the normal way and not miniforge. I should start reading guides properly :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment