beancount / beancount

Beancount: Double-Entry Accounting from Text Files.
http://beancount.github.io/
GNU General Public License v2.0
3.88k stars 316 forks source link

Error "Could not build wheels for beancount" occurred when installing beancount #759

Closed ElvisUpUp closed 1 year ago

ElvisUpUp commented 1 year ago

Error "Could not build wheels for beancount" occurred when installing beancount

image

BelNeal commented 1 year ago

I am having the same issue after cleaning up my Venv.

dnicolodi commented 1 year ago

There is not enough information for making this bug report actionable. Please run the build with verbose logging and report the full output.

BelNeal commented 1 year ago

My solution was the system env variables for visual studio c++ 14.0.

dnicolodi commented 1 year ago

The beancount package contains Python extension modules. A working C compiler is a prerequisite to compile them. If that is all it takes to have the package built correctly, I don't see anything wrong with the beancount source package.

trim21 commented 1 year ago

@blais maybe we should tag a new version to release a python 3.11 windows wheel?

LaoshuBaby commented 1 year ago

Are you using python 3.11? I meet with this problem and curious about why it need to build on my PC:

https://pypi.org/project/beancount/2.3.5/#files

Oh, its latest version only have whl file for cp310

图片

I found this issue so I don't need to duplicate one, I'll try whether MS's build tool works.

Oh no it need my 12.5GB free disk space, I surrender!

Success, it works, you need to build install

trim21 commented 1 year ago

https://github.com/beancount/beancount/issues/778 related issues

Sorry guys, I can't fix this soon. If you care about a Windows wheel, please backport the setup from the master feature and send me a PR, I'll rubberstamp it.

dnicolodi commented 1 year ago

Beancount 2.3.6 has been released and wheels all supported Python versions for all major platforms have been uploaded to PyPI.