Search code examples
python-3.xpipdurable-rules

Can't download durable using pip in cmd, the built in PyCharm terminal and by using PyCharm package manager


Error message in cmd:

ERROR: Could not find a version that satisfies the requirement durable (from versions: none)
ERROR: No matching distribution found for durable

Error message in PyCharm terminal:

  File "<stdin>", line 1
    py -m pip install durable
            ^
SyntaxError: invalid syntax

(No idea why it says invalid syntax its the same command as in cmd.)

I tried to download it using cmd with the command py -m pip install durable. Then I tried to use the built-in PyCharm terminal and package manager and both of them didn't work either. No matter what I tried it always ended up with the error message shown above. I kinda don't know what I'm doing because I don't use python but I have to because of my classes. Our professor told us to use python 3.7 and so I did. Pip version is 21.3.1.


Solution

  • The name of the package for durable rules is durable_rules, therefore your command should be

    pip install durable_rules
    

    or

    py -m pip install durable_rules