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

Installation #22

Closed
2 tasks done
Acohen-work opened this issue Dec 7, 2022 · 1 comment
Closed
2 tasks done

Installation #22

Acohen-work opened this issue Dec 7, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Acohen-work
Copy link

🔍 Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

🐞 Description of the bug

(venv) C:\ANSYSDev\TGDockerDev\PYTGVE>pip install hollerith
Collecting hollerith
Downloading hollerith-0.1.2.tar.gz (60 kB)
---------------------------------------- 60.7/60.7 kB 3.2 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting numpy>=1.16.0
Downloading numpy-1.21.6-cp37-cp37m-win_amd64.whl (14.0 MB)
---------------------------------------- 14.0/14.0 MB 10.2 MB/s eta 0:00:00
Collecting pandas>=1.3.2
Downloading pandas-1.3.5-cp37-cp37m-win_amd64.whl (10.0 MB)
---------------------------------------- 10.0/10.0 MB 10.3 MB/s eta 0:00:00
Collecting python-dateutil>=2.7.3
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting pytz>=2017.3
Downloading pytz-2022.6-py2.py3-none-any.whl (498 kB)
---------------------------------------- 498.1/498.1 kB 10.4 MB/s eta 0:00:00
Collecting six>=1.5
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: hollerith
Building wheel for hollerith (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for hollerith (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-37
creating build\lib.win-amd64-cpython-37\hollerith
copying src\field.py -> build\lib.win-amd64-cpython-37\hollerith
copying src\table.py -> build\lib.win-amd64-cpython-37\hollerith
copying src_version.py -> build\lib.win-amd64-cpython-37\hollerith
copying src_init_.py -> build\lib.win-amd64-cpython-37\hollerith
running build_ext
skipping 'src_writer.c' Cython extension (up-to-date)
building 'hollerith._writer' extension
creating build\temp.win-amd64-cpython-37
creating build\temp.win-amd64-cpython-37\Release
creating build\temp.win-amd64-cpython-37\Release\src
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.20.27508\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\acohen\AppData\Local\Temp\pip-build-env-4os13v27\overlay\Lib\site-packages\numpy\core\include -IC:\ANSYSDev\TGDockerDev\PYTGVE\venv\include -IC:\Users\acohen\AppData\Local\Programs\Python\Python37\include -IC:\Users\acohen\AppData\Local\Programs\Python\Python37\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.20.27508\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.20.27508\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /Tcsrc/writer.c /Fobuild\temp.win-amd64-cpython-37\Release\src/writer.obj /openmp /O2 /w /GS
cl : Command line warning D9025 : overriding '/W3' with '/w'
writer.c
src/writer.c(15): fatal error C1083: Cannot open include file: 'pythoncapi_compat.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.20.27508\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for hollerith
Failed to build hollerith
ERROR: Could not build wheels for hollerith, which is required to install pyproject.toml-based projects

📝 Steps to reproduce

Start a venv in 3.7
pip install hollerith

💻 Which operating system are you using?

Windows

🐍 Which Python version are you using?

3.7

📦 Installed packages

none
@Acohen-work Acohen-work added the bug Something isn't working label Dec 7, 2022
@koubaa
Copy link
Collaborator

koubaa commented Oct 24, 2023

@Acohen-work apologies for the late reply! I didn't see this issue (and wasn't notified..). python 3.7 isn't supported for hollerith. the current range is 3.8-3.11 (and currently fixing an issue to support 3.12)

@koubaa koubaa closed this as completed Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants