Replies: 1 comment
-
Actually you need to install pacakges: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
(venv) root@srv5:/opt/chia-blockchain# pip install chiavdf
Collecting chiavdf
Using cached chiavdf-1.0.1.tar.gz (639 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Building wheels for collected packages: chiavdf
Building wheel for chiavdf (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /opt/chia-blockchain/venv/bin/python3.9 /opt/chia-blockchain/venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmphjnivtdx
cwd: /tmp/pip-install-p6dzanb4/chiavdf_1ec8c625021247418adf0f86a6c2070e
Complete output (87 lines):
running bdist_wheel
running build
running build_ext
-- The C compiler identification is GNU 10.2.1
-- The CXX compiler identification is GNU 10.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
GMP_INCLUDES=/usr/include/powerpc64-linux-gnu
-- Found GMP: /usr/include/powerpc64-linux-gnu (Required is at least version "5.1.0")
GMP_INCLUDES=/usr/include/powerpc64-linux-gnu
-- Found GMPXX: /usr/lib/powerpc64-linux-gnu/libgmpxx.so
-- pybind11 v2.6.2
-- Found PythonInterp: /opt/chia-blockchain/venv/bin/python3.9 (found version "3.9.2")
-- Found PythonLibs: /usr/lib/powerpc64-linux-gnu/libpython3.9.so
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/pip-install-p6dzanb4/chiavdf_1ec8c625021247418adf0f86a6c2070e
Scanning dependencies of target verifier_test
Scanning dependencies of target chiavdf
[ 16%] Building CXX object CMakeFiles/verifier_test.dir/verifier_test.cpp.o
[ 33%] Building C object CMakeFiles/verifier_test.dir/refcode/lzcnt.c.o
[ 50%] Building CXX object CMakeFiles/chiavdf.dir/python_bindings/fastvdf.cpp.o
[ 66%] Building C object CMakeFiles/chiavdf.dir/refcode/lzcnt.c.o
[ 83%] Linking CXX executable verifier_test
/usr/bin/ld: CMakeFiles/verifier_test.dir/verifier_test.cpp.o: in function
Reducer::run()': verifier_test.cpp:(.text._ZN7Reducer3runEv[_ZN7Reducer3runEv]+0x13c): undefined reference to
lzcnt64_hard'/usr/bin/ld: verifier_test.cpp:(.text._ZN7Reducer3runEv[_ZN7Reducer3runEv]+0x214): undefined reference to
lzcnt64_hard' /usr/bin/ld: verifier_test.cpp:(.text._ZN7Reducer3runEv[_ZN7Reducer3runEv]+0x2ec): undefined reference to
lzcnt64_hard'collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/verifier_test.dir/build.make:120: verifier_test] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:117: CMakeFiles/verifier_test.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[100%] Linking CXX shared module build/lib.linux-ppc64-3.9/chiavdf.cpython-39-powerpc64-linux-gnu.so
[100%] Built target chiavdf
gmake: *** [Makefile:103: all] Error 2
Traceback (most recent call last):
File "/opt/chia-blockchain/venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 280, in
main()
File "/opt/chia-blockchain/venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/opt/chia-blockchain/venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 204, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/tmp/pip-build-env-u4_x_hj0/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 221, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "/tmp/pip-build-env-u4_x_hj0/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 207, in _build_with_temp_dir
self.run_setup()
File "/tmp/pip-build-env-u4_x_hj0/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 150, in run_setup
exec(compile(code, file, 'exec'), locals())
File "setup.py", line 266, in
setup(
File "/tmp/pip-build-env-u4_x_hj0/overlay/lib/python3.9/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.9/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-u4_x_hj0/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.9/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "setup.py", line 112, in run
self.build_extension(ext)
File "setup.py", line 140, in build_extension
subprocess.check_call(["cmake", "--build", "."] + build_args)
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j', '6']' returned non-zero exit status 2.
ERROR: Failed building wheel for chiavdf
Failed to build chiavdf
ERROR: Could not build wheels for chiavdf which use PEP 517 and cannot be installed directly
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions