Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE] The build process gets stuck at requirement.txt installation @ windows - Failed to fetch wheel: fastlogging==1.2.0 #629

Open
nevinm opened this issue Jul 28, 2024 · 2 comments

Comments

@nevinm
Copy link

nevinm commented Jul 28, 2024

Describe your issue

 devika  uv venv
Using Python 3.12.4 interpreter at: C:\Users\nevin\AppData\Local\Programs\Python\Python312\python.exe
Creating virtualenv at: .venv
Activate with: .venv\Scripts\activate
 devika  .venv\Scripts\activate
 devika 
 devika  uv pip install -r requirements.txt
Resolved 140 packages in 114ms
error: Failed to prepare distributions
  Caused by: Failed to fetch wheel: fastlogging==1.2.0
  Caused by: Failed to build: `fastlogging==1.2.0`
  Caused by: Build backend failed to build wheel through `build_wheel()` with exit code: 1
--- stdout:
Creating C:\Users\nevin\AppData\Local\uv\cache\built-wheels-v3\pypi\fastlogging\1.2.0\gQFPfmgCloieSdprUPVc4\fastlogging-1.2.0.tar.gz\fastlogging\fastlogging.pyx
Creating C:\Users\nevin\AppData\Local\uv\cache\built-wheels-v3\pypi\fastlogging\1.2.0\gQFPfmgCloieSdprUPVc4\fastlogging-1.2.0.tar.gz\fastlogging\network.pyx
building with Cython 3.0.10
Compiling fastlogging\fastlogging.pyx because it changed.
Compiling fastlogging\network.pyx because it changed.
[1/2] Cythonizing fastlogging\fastlogging.pyx
[2/2] Cythonizing fastlogging\network.pyx
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-312
creating build\lib.win-amd64-cpython-312\fastlogging
copying fastlogging\console.py -> build\lib.win-amd64-cpython-312\fastlogging
copying fastlogging\fastlogging.py -> build\lib.win-amd64-cpython-312\fastlogging
copying fastlogging\network.py -> build\lib.win-amd64-cpython-312\fastlogging
copying fastlogging\optimize.py -> build\lib.win-amd64-cpython-312\fastlogging
copying fastlogging\__init__.py -> build\lib.win-amd64-cpython-312\fastlogging
running egg_info
writing fastlogging.egg-info\PKG-INFO
writing dependency_links to fastlogging.egg-info\dependency_links.txt
writing top-level names to fastlogging.egg-info\top_level.txt
reading manifest file 'fastlogging.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
writing manifest file 'fastlogging.egg-info\SOURCES.txt'
running build_ext
building 'fastlogging.fastlogging' extension
--- stderr:
warning: no previously-included files matching '*.cpp' found anywhere in distribution
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
---
(devika)  Nevin   devika    main ≡                     

How To Reproduce

I was following the steps here https://github.com/stitionai/devika?tab=readme-ov-file#installation. The above error came when I was doing:
uv pip install -r requirements.txt

Configuration

- OS: Windows 11
- Python version: 
- Node version: v18.20.3
- bun version: 1.1.21
- Model: llama3
@nevinm nevinm changed the title [ISSUE] The build process gets stuck at requirement.txt installation @ windows [ISSUE] The build process gets stuck at requirement.txt installation @ windows - Failed to fetch wheel: fastlogging==1.2.0 Jul 28, 2024
@pratikdhaboo
Copy link

Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
image

@vaishnavprabhakar
Copy link

vaishnavprabhakar commented Sep 4, 2024

stuck on installing requirements the same issue showing.

  • OS: Fedora workstation 40
  • Python version: 3.12.2

@pratikdhaboo

issue solved by installing python3-devel package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants