paper-qa
paper-qa copied to clipboard
the project cannot be started
I've spent 4hrs, cannot get the quick start started. this is due to the doc is too little.
this is THE most frustrating project with PROMISING paper coming out.
pip install paper-qa
cd my_papers
pqa ask 'How can carbon nanotubes be manufactured at a large scale?'
OUTPUT: /bin/bash: pqa: command not found
Hey there, @RudRho! I'm here to help you with any bugs, questions, or contributions you have. Let's work together to solve this issue.
The error "/bin/bash: pqa: command not found" indicates that the pqa command is not recognized by your system. This typically happens if the pqa executable is not in your system's PATH.
Here is a step-by-step solution:
-
Verify Installation: Ensure that
paper-qais installed correctly.pip show paper-qa -
Locate the
pqaExecutable: Find wherepiphas installed thepqacommand.which pqa -
Update PATH: If the
pqacommand is not found, you need to add the directory wherepipinstalls executables to your PATH. This is typically~/.local/binfor user installations or/usr/local/binfor system-wide installations.For example, if
pqais located in~/.local/bin, you can add this to your PATH by adding the following line to your~/.bashrcor~/.bash_profile:export PATH=$PATH:~/.local/bin -
Reload Shell Configuration: Apply the changes to your current shell session.
source ~/.bashrc
After performing these steps, try running the pqa command again:
pqa ask 'How can carbon nanotubes be manufactured at a large scale?'
This should resolve the "/bin/bash: pqa: command not found" error [1][2].
To continue talking to Dosu, mention @dosu.