无法在pypy3中安装cx_Oracle

问题描述 投票:0回答:1

[当我尝试在pypy3上安装cx_Oracle时,出现以下错误消息:

==========================================================================================

  Using cached https://files.pythonhosted.org/packages/5e/e3/cfd4f413f8d47dd2aee09273d9bb3ee6aa7384e0a04e191d703c2199eb93/cx_Oracle-7.3.0.tar.gz
Installing collected packages: cx-Oracle
  Running setup.py install for cx-Oracle ... error
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\ANAND_RA\Downloads\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\pypy3.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ANAND_~1\\AppData\\Local\\Temp\\pip-install-ad2wy
'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\ANAND_~1\AppData\Local\Temp\pip-record-z5uxsatb\install-r
         cwd: C:\Users\ANAND_~1\AppData\Local\Temp\pip-install-ad2wywdp\cx-Oracle\
    Complete output (5 lines):
    running install
    running build
    running build_ext
    building 'cx_Oracle' extension
    error: Microsoft Visual C++ 14.1 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\ANAND_RA\Downloads\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\pypy3.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ANAND_~1\\AppDat
.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\ANAND_~1\AppData\Local\T
WARNING: You are using pip version 19.2.3, however version 20.0.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

=====================================================================================================

以下是我的机器中Python和pypy3的版本:

Python 3.6.9(1608da62bfc7,2019年12月23日,12:38:24)[带有MSC v.1911 32位的PyPy 7.3.0]

我试图寻找一种解决方案来克服此错误消息。但是,我找不到任何东西。因此,这是一个新问题。谢谢,阿南德

python-3.6 cx-oracle pypy
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.