Cannot run the python enumerate-markdown module - python

I want to run the python package described here: https://github.com/A4Vision/enumerate-markdown/blob/master/README.md
First, I installed python 3.10.4, then I installed pip 22.1, then I used pip to install "enumerate markdown". My terminal shows "Successfully installed enumerate-markdown-1.0.0 mistune-2.0.4
Now I try to run the package. In the terminal I enter the exact text shown in the example:
markdown-enum inputFile.md outputFile.md
However, it shows me an error message:
'markdown-enum' is not recognized as an internal or external command, operable program or batch file.
Even if I try pointing to an actual file (e.g markdown-enum "C:\Users\test.md" outputFile.md) it gives the same error.
I thought it might be something to do with the PATH system variable but I have entered all the paths I can think of:
C:\Users\EISAM\AppData\Local\Programs\Python\Python310
C:\Users\EISAM\AppData\Local\Programs\Python\Python310\Lib
C:\Users\EISAM\AppData\Local\Programs\Python\Python310\Lib\site-packages
C:\Users\EISAM\AppData\Local\Programs\Python\Python310\Lib\site-packages\pip
C:\Users\EISAM\AppData\Local\Programs\Python\Python310\Scripts\
(After adding these paths I restarted the cmd window and tried again but still no joy)
What am I doing wrong?
Thanks

Related

Python.exe works with -v or -h but will not execute a file. What is wrong?

The python programs on Windows have stopped executing scripts.
It will run python. For example, I can check the version and get the help text.
I've tried running it from "c:/User/.../python.exe", `py -3, etc.
I've also installed all Windows updates and re-installed python. (from version 3.8 to 3.10.7; same issue for both.)
Also, I've tried it from both power-shell and cmd.
I have tried a variety of scripts, but I have a test.py which just prints something.
Also, I've tried py -3 -c 'print("Hi")'. It does not work either.
All of these do not print any diagnostics. I simply get the shell prompt on the next line. I can also tell that the script is not even loaded. For example, if I give a filename that does not exist it does the same thing; no error message. The same occurs if I add a syntax error to the file.
I am seriously stumped. What could cause this?

Trouble installing path for Python 3.7 on Windows 10

When I try to enter 'python' into my cmd window, I get back this error: "'python' is not recognized as an internal or external command,
operable program or batch file."
Any ideas how to get my cmd window working?
I tried going into environmental variables and adding my python path to the path system variables, however this is not working.
python
'python' is not recognized as an internal or external command,
operable program or batch file.
This might be what you are looking for
Running path can display the system path, and ensure things are configured correctly :)
Answered over here
Assuming you googled and found that (or something similar) yourself, then my guess is you're running into a different issue. For example, the semicolons in the path, especially the proper positioning of them, are very important, could your issue be that simple?
Try entering:
py
Some systems use this to function like mine. I had the same error but then I tried py and it worked. Maybe this will work for you

“Python has stopped working” - openalpr on Windows 10

I'm working with OpenALPR with Python scripts. The input image from argparse arguments, whenever I run from command prompt, it is giving output and displaying a dailogue box with error
"python has stopped working"
Why it is happening could anyone help?
If try to debug using mcsv2017 it shows
Unhandled exception at 0x00007FF8BC68AA2C (ntdll.dll) in python3.exe:
0xC0000374: A heap has been corrupted (parameters:
0x00007FF8BC6E3180).
I solved the issue: Do not download the current github repository. Use the source code of the released version from here: https://github.com/openalpr/openalpr/releases/
and run python setup.py install in src\bindings\python folder. here you go

Python in Powershell, help(<module>) does not work

when in powershell I will import a module. (let's use sys as an example)
However when I type help(sys) it returns "'more' is not recognized as an internal or external command, operable program or batch file."
I did not even use the term 'more'. What is my issue?
i think less is missing from your system
try:
sudo apt-get install less
then restart your python and try again

Not being able to run pylint using windows (7) command prompt

I've just installed all the dependencies (asteroid and logilab-commons) and pylint, ran the tests for pylint and they all passed, but i just cant get pylint to work... i keep getting
'pylint' is not recognized as an internal or external command, operable program or batch file.
while running in the command prompt.
im not sure what im doing wrong and i cant seem to find any explanation anywhere
set PATH=%PATH%;C:\python27\scripts
is apparently what i needed to make it work... thanks for the path direction.

Categories