Python:plaform.architecture 从哪里获得 32/64 位信息?

问题描述

对于一个项目,我需要所有东西(PyCharm、Python)都是 64 位的。我一直小心地安装 64 位版本的 Python 3.7 和 PyCharm。我的笔记本电脑支持 64 位 Windows 操作系统。但是,当我查询 python -c "import platform; print(platform.architecture()) 时,它返回 ('32bit','WindowsPE')。这个 32 位来自哪里?根据 GitHub (https://github.com/google/or-tools/issues/509) 上的讨论,在 64 位中安装来自 Google 的 ortools 至关重要。

Screenshot of my PyCharm terminal

感谢您的帮助!我对此相对缺乏经验,如果这篇文章需要更清晰,请告诉我,我会尽力而为!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)