google / tf-quant-finance

High-performance TensorFlow library for quantitative finance.
Apache License 2.0
4.55k stars 576 forks source link

build fails #46

Closed LutzWeischerFujitsu closed 3 years ago

LutzWeischerFujitsu commented 3 years ago

[jw@cn06 tf-quant-finance]$ ./bazel-bin/build_pip_pkg artifacts ++ uname -s ++ tr A-Z a-z

sent 1,990,664 bytes received 3,939 bytes 3,989,206.00 bytes/sec total size is 1,974,560 speedup is 0.99

sent 1,890,131 bytes received 60 bytes 3,780,382.00 bytes/sec total size is 1,889,431 speedup is 1.00

error: invalid command 'bdist_wheel' [jw@cn06 tf-quant-finance]$

matejr commented 3 years ago

Hi @LutzWeischerFujitsu ,

Thank you for reporting this. I can't reproduce this on my system, but it seems that this problem is maybe related to the wheel pip package. Could you please verify that you have the wheel pip package? Potentially, you could install it with pip3 install wheel (or pip install wheel or python3 -m pip install wheel).

LutzWeischerFujitsu commented 3 years ago

[jw@cn06 tf-quant-finance]$ pip3 install wheel Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: wheel in /home/jw/.local/lib/python3.9/site-packages (0.36.2) WARNING: You are using pip version 20.1.1; however, version 21.0.1 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command. [jw@cn06 tf-quant-finance]$ ./bazel-bin/build_pip_pkg artifacts ++ uname -s ++ tr A-Z a-z

sent 1,990,664 bytes received 3,939 bytes 1,329,735.33 bytes/sec total size is 1,974,560 speedup is 0.99

sent 1,890,131 bytes received 60 bytes 3,780,382.00 bytes/sec total size is 1,889,431 speedup is 1.00

error: invalid command 'bdist_wheel' [jw@cn06 tf-quant-finance]$

cyrilchim commented 3 years ago

Could you please update if this is still an issue?

LutzWeischerFujitsu commented 3 years ago

Re-tested, looks OK now. Thanks!