Dot-slash is not recognized on the command line. Trying to install Python module.

I am trying to install a Python module on the command line. The instructions indicate that you need to run "./configure" to install the module, and then run the make . However, when I do this, I get an error

'.' is not recognized as an internal or external command, operable program or batch file.

I'm still relatively new to using the command line and Python, so it can be very new. From what I read from other questions, it seems that the command line should automatically recognize the ./ command, so my only guess is there is something in my %PATH% variable that might trick it. Any thoughts or suggestions would be greatly appreciated. Thanks in advance.

EDIT: using Windows 7 I also tried using pip, but he said: "Could not find downloads that meet the configure requirement." Poker engine module I received the latest version.

+4
source share
4 answers

Very well answered here - How to fix '.' not an internal or external command error

Trick should use the command in double quotes after. /

I solved some of my problems as shown below

Example -

Edit

 ./node_modules/.bin/coffee -o js -c lib/ 

For

 ./"node_modules/.bin/coffee" -o js -c lib/ 

Another example

Edit

 ./node_modules/.bin/browserify demo/browser.js > demo/bundle.js 

For

 ./"node_modules/.bin/browserify" demo/browser.js > demo/bundle.js 

Hope this helps.

+3
source

try to do

 configure 

if you are in the directory where this file is located.

If you are not in the same folder, do it

 C:\users\myname\path\name\configure 

If it is not exe, change the file type and windows will launch it

0
source

You really should try using pip or easy_install to install the module. If you can specify the name of the module you are trying to install, maybe someone can provide you additional assistance with how to install it on Windows, as well as add the python version that you are using. You will also find binaries for many Python extensions / modules at this link:
http://www.lfd.uci.edu/~gohlke/pythonlibs/

If your module is on the list, go ahead and download it and run the binary.

0
source

Your slash should be different. "\ Configure". I have the same problem and it worked for me.

0
source

Source: https://habr.com/ru/post/1495332/


All Articles