Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

opencv cannot be installed in pypy's virtual environment #508

Open
Labels
@yoshikakoba

Description

@yoshikakoba

It is an error to execute the following command.
I don't know the cause of the error.
Please tell me the investigation method to solve it.

pypy3 -m pip install opencv-python==4.4.0.46

pip==21.1.3 setuptools==57.0.0 wheel==0.36.2
Visual studio community 2017
Python version: pypy3.7-v7.3.5-win64
OS:Windows 10

Collecting opencv-python==4.4.0.46  Using cached opencv-python-4.4.0.46.tar.gz (88.9 MB)  Installing build dependencies ... done  Getting requirements to build wheel ... done    Preparing wheel metadata ... doneRequirement already satisfied: numpy>=1.14.5 in d:\pypy3.7-v7.3.5-win64\site-packages (from opencv-python==4.4.0.46) (1.19.4)Building wheels for collected packages: opencv-python  Building wheel for opencv-python (PEP 517) ... error      wheel_directory, config_settings)    File "C:\Users\AWV250~1\AppData\Local\Temp\pip-build-env-ofs2iuv5\overlay\site-packages\setuptools\build_meta.py", line 207, in _build_with_temp_dir      self.run_setup()    File "C:\Users\AWV250~1\AppData\Local\Temp\pip-build-env-ofs2iuv5\overlay\site-packages\setuptools\build_meta.py", line 259, in run_setup      self).run_setup(setup_script=setup_script)    File "C:\Users\AWV250~1\AppData\Local\Temp\pip-build-env-ofs2iuv5\overlay\site-packages\setuptools\build_meta.py", line 150, in run_setup      exec(compile(code, __file__, 'exec'), locals())    File "setup.py", line 452, in <module>      main()    File "setup.py", line 252, in main      cmake_source_dir=cmake_source_dir,    File "C:\Users\AWV250~1\AppData\Local\Temp\pip-build-env-ofs2iuv5\overlay\site-packages\skbuild\setuptools_wrap.py", line 625, in setup      cmake_source_dir, skbuild_kw['cmake_install_dir'])    File "setup.py", line 365, in _classify_installed_files_override      raise Exception("Not found: '%s'" % relpath_re)  Exception: Not found: 'python/cv2[^/]*\.pypy37\-pp73\-win_amd64\.pyd'  ----------------------------------------  ERROR: Failed building wheel for opencv-pythonFailed to build opencv-pythonERROR: Could not build wheels for opencv-python which use PEP 517 and cannot be installed directly``

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp