Error when trying to run apy command
See original GitHub issueI installed apy
with
pip install -e .
The command apy --help
works fine, but when I try to do e.g. apy add
, I get:
Traceback (most recent call last):
File "/home/skervim/anaconda3/envs/rl/bin/apy", line 11, in <module>
load_entry_point('apy', 'console_scripts', 'apy')()
File "/home/skervim/anaconda3/envs/rl/lib/python3.7/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/home/skervim/anaconda3/envs/rl/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/skervim/anaconda3/envs/rl/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/skervim/anaconda3/envs/rl/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/skervim/anaconda3/envs/rl/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/skervim/apy/apy/cli.py", line 57, in add
with Anki(BASE) as a:
File "/home/skervim/apy/apy/anki.py", line 14, in __init__
import anki
ModuleNotFoundError: No module named 'anki'
Issue Analytics
- State:
- Created 4 years ago
- Comments:18 (9 by maintainers)
Top Results From Across the Web
Command line option syntax error. - Microsoft Support
Error message when you try to install an application on a Windows Vista SP1-based or Windows 7 computer: "Command line option syntax error."....
Read more >11 Ways to Fix "The System Cannot Find The Path Specified ...
Right-click on the Command Prompt app and click Run as administrator. Running Command Prompt as an Administrator on Windows. If the error ...
Read more >Error Puppet not found when trying to run puppet config ...
I am trying to configure dns-alt-names, so on running the following command on my ubuntu puppet master where I already installed puppet ...
Read more >Command: apply | Terraform - HashiCorp Developer
The terraform apply command executes the actions proposed in a Terraform plan to ... You may want to use this two-step workflow when...
Read more >Troubleshooting AWS CLI errors - AWS Command Line Interface
If you receive an error that indicates that a command doesn't exist, or that it doesn't recognize a parameter ( Parameter validation failed...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’d be glad to help you. Could I kindly ask you to open a new issue and describe it independent of the present thread? As you may notice, the current thread was resolved almost three years ago, so there have been updates and changes since then that may make some of the comments here outdated.
I believe the issue is about how you install Anki. Still, it would be easier to help if you open a new issue and include as many details as you can. More or less the same as in your last comment, but also please mention your OS (and distribution, if applicable). Feel free to link to this issue, since you believe they are related.
Yes, I think this might explain the issue. When you download from the Anki web page, you only get a bundled/compiled version. The source is not available. Could you uninstall Anki with
cd Downloads/anki-2.1.15-linux-amd64
thensudo make uninstall
, then dosudo apt install anki
? I think this might fix your issue.I see I will need to update the README/instructions again, but I’ll wait until we’ve settled this so that I know things work as expected.