简体   繁体   English

./configure 在 Windows 上的 python 3.8.2 上不起作用

[英]./configure doesn't work on python 3.8.2 on windows

I am trying to execute the code:我正在尝试执行代码:

./configure \
        --prefix "$(dirname $(pwd))" \
        --with-openssl=$(openssl version -d | sed  -r 's/OPENSSLDIR: "([^"]*)"/\1/') \
    && make && make install
popd

this error is recived:收到此错误:

  File "<ipython-input-7-f69304efaff4>", line 1
    ./configure
    ^
SyntaxError: invalid syntax

Does anyone know how to fix it?有谁知道如何修理它?

这段代码应该在 bash shell 中执行,而不是 python

It should be executed in bash shell but as i am using windows it was not possible.它应该在 bash shell 中执行,但因为我使用的是 Windows,所以这是不可能的。

In this code i was trying to install FreeTDS and after download the stable realease and the binaries for windows I was able to install it by using the windows powershell to run the .ps1 file在这段代码中,我试图安装 FreeTDS,在下载了稳定的 realease 和 windows 二进制文件后,我能够通过使用 windows powershell 运行 .ps1 文件来安装它

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM