安装pyarrow时出现“ Raise RuntimeError('32位Windows不支持')” - python

每当我尝试在PC上安装pyarrow时,都会出现此错误。它是64位的,所以我听不懂:

raise RuntimeError('Not supported on 32-bit Windows')
  RuntimeError: Not supported on 32-bit Windows
  ----------------------------------------
  ERROR: Failed building wheel for pyarrow
ERROR: Could not build wheels for pyarrow which use PEP 517 and cannot be installed directly

我已经更新了pip,并已安装了许多没有问题的软件包。

参考方案

PyArrow尝试构建32位版本的原因肯定是您使用的是32位Python安装。

运行解释程序提示时,安装64位Python可能会向您显示以下内容(请注意,“ MSC v.1915 64位(AMD64)”表示它是64位版本):

c:\>python
Python 3.7.2 (default, Jan  2 2019, 17:07:39) [MSC v.1915 64 bit (AMD64)]
Type "help", "copyright", "credits" or "license" for more information.
>>> 

在返回'Response'(Python)中传递多个参数 - python

我在Angular工作,正在使用Http请求和响应。是否可以在“响应”中发送多个参数。角度文件:this.http.get("api/agent/applicationaware").subscribe((data:any)... python文件:def get(request): ... return Response(seriali…

有没有一种方法可以使用PythonInterpreter将python代码的输出值(例如“ print('python code')”)返回到String或其他对象中 - java

我正在尝试使用java做一个简单的python解释器。基本上,您编写一些python代码,例如print('hello world'),然后将请求发送到Spring Boot后端应用程序,该应用程序使用PythonInterpreter库解释代码,并以JSON对象形式返回结果,例如:{ "result": "hello worl…

Python exchangelib在子文件夹中读取邮件 - python

我想从Outlook邮箱的子文件夹中读取邮件。Inbox ├──myfolder 我可以使用account.inbox.all()阅读收件箱,但我想阅读myfolder中的邮件我尝试了此页面folder部分中的内容,但无法正确完成https://pypi.python.org/pypi/exchangelib/ 参考方案 您需要首先掌握Folder的myfo…

R'relaimpo'软件包的Python端口 - python

我需要计算Lindeman-Merenda-Gold(LMG)分数,以进行回归分析。我发现R语言的relaimpo包下有该文件。不幸的是,我对R没有任何经验。我检查了互联网,但找不到。这个程序包有python端口吗?如果不存在,是否可以通过python使用该包? python参考方案 最近,我遇到了pingouin库。

AttributeError:'AnonymousUserMixin'对象没有属性'can' - python

烧瓶学习问题为了定制对匿名用户的要求,我在模型中设置了一个类: class MyAnonymousUser(AnonymousUserMixin): def can(self, permissions): return False def is_administrator(self): return False login_manager.anonymous…