I am trying to install a Python module in command prompt. The directions state to run "./configure" to install the module and then run a make
command. However, whenever I do that, I receive the error
'.' is not recognized as an internal or external command,
operable program or batch file.
I am still relatively new to using Command Prompt and Python, so this could be a very novice issue. From what I've read from other questions, it seems that command prompt should automatically recognize the ./
command, so my only guess is something in my%PATH%
variable could be tricking it. Any thoughts or suggestions will be greatly appreciated. Thanks in advance.
EDIT: Using Windows 7 I have tried using pip as well but it said 'Could not find any downloads that satisfy the requirement configure` The module is poker-engine I got the most recent version.
Specify the full location to python.exe One way to fix the error would be to launch Python from the Command Prompt by passing in the full path to the executable file each time you wanted to run Python. In other words, instead of typing Python you would type something like C:\Users\me\path\to\python.exe .
Open Command Prompt and type “python” and hit enter. You will see a python version and now you can run your program there.
To start a Python interactive session, just open a command-line or terminal and then type in python , or python3 depending on your Python installation, and then hit Enter .
Very well answered here - How to fix '.' is not an internal or external command error
Trick is to use the command in double quotes after ./
I resolved some of my issues as below,
Example -
Change
./node_modules/.bin/coffee -o js -c lib/
To
./"node_modules/.bin/coffee" -o js -c lib/
Another example
Change
./node_modules/.bin/browserify demo/browser.js > demo/bundle.js
To
./"node_modules/.bin/browserify" demo/browser.js > demo/bundle.js
Hope it helps.
Your slash should be the other way. ".\configure". I'm having the same problem and this worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With