Dot-slash not recognized in command prompt - Trying to install Python module
Solution 1
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.
Solution 2
Your slash should be the other way. ".\configure". I'm having the same problem and this worked for me.
Josh
Updated on July 25, 2022Comments
-
Josh almost 2 years
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.
-
Josh over 10 yearsconfigure doesn't have an extension. In properties, it says
Type of File: File
. I tried renaming it to a*.exe
but got the messageProgram too big to fit into memory.
I also tried just runningconfigure
as is, but it said configure was not recognized. -
Stephan over 10 yearsif it has no extension dont type an extension, dont try to convert it either
-
Stephan over 10 years@josh forgot to tag you in prev comment
-
Amit over 10 years@josh the poker-source project that you linked seems to be only usable on Unix/Linux systems. The installation instructions in there have no mention of windows at all. You could probably try and compile that program in a linux VM on your windows machine or use cygwin that may help in compiling and running the software. From there home page at gna.org/cookbook/?group=pokersource or pokersource.sourceforge.net I downloaded the poker-engine file and the tarball had a poker-engine directory which contains all the python code written that you could use.