python - ./configure 在 Windows 上的 python 3.8.2 上不起作用
问题描述
我正在尝试执行代码:
./configure \
--prefix "$(dirname $(pwd))" \
--with-openssl=$(openssl version -d | sed -r 's/OPENSSLDIR: "([^"]*)"/\1/') \
&& make && make install
popd
收到此错误:
File "<ipython-input-7-f69304efaff4>", line 1
./configure
^
SyntaxError: invalid syntax
有谁知道如何修理它?
解决方案
这段代码应该在 bash shell 中执行,而不是 python
推荐阅读
- vhdl - 无法使用 VHDL 2008 Quartus Prime 编译
- ruby-on-rails - Rails 生产日志不更新
- css - 菜单顶部的mat-menu内的Angular Material matBadge?
- lightningchart - 如何在 LightningchartV2.2.1 中使用 Datetime Axisx?
- python - 在两个窗口之间切换后,我失去了标签设置
- python-3.x - 如何在pyQt5中根据两个QcomboBoxes中选择的项目过滤行
- python - 面临错误“DirectoryIterator”对象没有属性“缓存”
- javascript - 错误:本机动画模块不支持样式属性“宽度”
- python - Python - 在多个 JSON 文件中搜索已知字符串列表并创建具有百分比匹配的组匹配报告
- informatica - 在 Informatica 中更新目标表的最佳实践