Skip to content

Instantly share code, notes, and snippets.

@PhilipVinc
Created January 18, 2020 16:29
Show Gist options
  • Save PhilipVinc/1785ab82744e1e836abe90e0e6687cd7 to your computer and use it in GitHub Desktop.
Save PhilipVinc/1785ab82744e1e836abe90e0e6687cd7 to your computer and use it in GitHub Desktop.
➜ pip install .
Processing /Users/filippovicentini/Desktop/condaket/nk
Requirement already satisfied: numpy>=1.16 in /Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/site-packages (from netket==2.1b1) (1.18.1)
Collecting cmake>=3.10.3
Using cached https://files.pythonhosted.org/packages/cb/e6/253c06edd9848a2f7262b317cde02767da818cf023da93c00d3d43f72780/cmake-3.15.3-py3-none-macosx_10_6_x86_64.whl
Requirement already satisfied: scipy>=1.2.1 in /Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/site-packages (from netket==2.1b1) (1.3.1)
Requirement already satisfied: mpi4py>=3.0.1 in /Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/site-packages (from netket==2.1b1) (3.0.3)
Building wheels for collected packages: netket
Building wheel for netket (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Users/filippovicentini/anaconda3/envs/netket_env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/setup.py'"'"'; __file__='"'"'/private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-wheel-2fsn4en6 --python-tag cp37
cwd: /private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/
Complete output (115 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-3.7
creating build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/_vmc.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/unsupervised.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/graph.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/operator.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/hilbert.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/_core.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/exact.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/utils.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/stats.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/layer.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/variational.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/optimizer.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/supervised.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/output.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/dynamics.py -> build/lib.macosx-10.9-x86_64-3.7/netket
creating build/lib.macosx-10.9-x86_64-3.7/netket/machine
copying netket/machine/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/netket/machine
copying netket/machine/jax.py -> build/lib.macosx-10.9-x86_64-3.7/netket/machine
copying netket/machine/cxx_machine.py -> build/lib.macosx-10.9-x86_64-3.7/netket/machine
copying netket/machine/py_rbm.py -> build/lib.macosx-10.9-x86_64-3.7/netket/machine
copying netket/machine/torch.py -> build/lib.macosx-10.9-x86_64-3.7/netket/machine
copying netket/machine/abstract_machine.py -> build/lib.macosx-10.9-x86_64-3.7/netket/machine
creating build/lib.macosx-10.9-x86_64-3.7/netket/sampler
copying netket/sampler/metropolis_hastings.py -> build/lib.macosx-10.9-x86_64-3.7/netket/sampler
copying netket/sampler/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/netket/sampler
copying netket/sampler/abstract_sampler.py -> build/lib.macosx-10.9-x86_64-3.7/netket/sampler
copying netket/sampler/exact_sampler.py -> build/lib.macosx-10.9-x86_64-3.7/netket/sampler
running build_ext
warning: CMakeBuild: -- The C compiler identification is Clang 4.0.1
-- The CXX compiler identification is Clang 4.0.1
-- Check for working C compiler: /Users/filippovicentini/anaconda3/envs/netket_env/bin/x86_64-apple-darwin13.4.0-clang
-- Check for working C compiler: /Users/filippovicentini/anaconda3/envs/netket_env/bin/x86_64-apple-darwin13.4.0-clang -- broken
CMake Error at /Users/filippovicentini/anaconda3/envs/netket_env/share/cmake-3.14/Modules/CMakeTestCCompiler.cmake:60 (message):
The C compiler
"/Users/filippovicentini/anaconda3/envs/netket_env/bin/x86_64-apple-darwin13.4.0-clang"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/build/temp.macosx-10.9-x86_64-3.7/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_6e077/fast
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_6e077.dir/build.make CMakeFiles/cmTC_6e077.dir/build
Building C object CMakeFiles/cmTC_6e077.dir/testCCompiler.c.o
/Users/filippovicentini/anaconda3/envs/netket_env/bin/x86_64-apple-darwin13.4.0-clang -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -o CMakeFiles/cmTC_6e077.dir/testCCompiler.c.o -c /private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/build/temp.macosx-10.9-x86_64-3.7/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_6e077
/Users/filippovicentini/anaconda3/envs/netket_env/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6e077.dir/link.txt --verbose=1
/Users/filippovicentini/anaconda3/envs/netket_env/bin/x86_64-apple-darwin13.4.0-clang -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs CMakeFiles/cmTC_6e077.dir/testCCompiler.c.o -o cmTC_6e077
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd
ld: dynamic main executables must link with libSystem.dylib for architecture x86_64
clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [cmTC_6e077] Error 1
make: *** [cmTC_6e077/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:6 (project)
-- Configuring incomplete, errors occurred!
See also "/private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/build/temp.macosx-10.9-x86_64-3.7/CMakeFiles/CMakeOutput.log".
See also "/private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/build/temp.macosx-10.9-x86_64-3.7/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/setup.py", line 168, in <module>
install_requires=["numpy>=1.16", "cmake>=3.10.3", "scipy>=1.2.1", "mpi4py>=3.0.1"],
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 192, in run
self.run_command('build')
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 84, in run
_build_ext.run(self)
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/setup.py", line 122, in build_extension
["cmake", ext.sourcedir] + cmake_args, stderr=subprocess.STDOUT
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/subprocess.py", line 411, in check_output
**kwargs).stdout
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['cmake', '/private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev', '-DNETKET_PYTHON_VERSION=3.7.6', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/build/lib.macosx-10.9-x86_64-3.7/netket']' returned non-zero exit status 1.
----------------------------------------
ERROR: Failed building wheel for netket
Running setup.py clean for netket
Failed to build netket
Installing collected packages: cmake, netket
Running setup.py install for netket ... error
ERROR: Command errored out with exit status 1:
command: /Users/filippovicentini/anaconda3/envs/netket_env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/setup.py'"'"'; __file__='"'"'/private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-record-akazreo0/install-record.txt --single-version-externally-managed --compile
cwd: /private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/
Complete output (117 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-3.7
creating build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/_vmc.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/unsupervised.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/graph.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/operator.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/hilbert.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/_core.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/exact.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/utils.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/stats.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/layer.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/variational.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/optimizer.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/supervised.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/output.py -> build/lib.macosx-10.9-x86_64-3.7/netket
copying netket/dynamics.py -> build/lib.macosx-10.9-x86_64-3.7/netket
creating build/lib.macosx-10.9-x86_64-3.7/netket/machine
copying netket/machine/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/netket/machine
copying netket/machine/jax.py -> build/lib.macosx-10.9-x86_64-3.7/netket/machine
copying netket/machine/cxx_machine.py -> build/lib.macosx-10.9-x86_64-3.7/netket/machine
copying netket/machine/py_rbm.py -> build/lib.macosx-10.9-x86_64-3.7/netket/machine
copying netket/machine/torch.py -> build/lib.macosx-10.9-x86_64-3.7/netket/machine
copying netket/machine/abstract_machine.py -> build/lib.macosx-10.9-x86_64-3.7/netket/machine
creating build/lib.macosx-10.9-x86_64-3.7/netket/sampler
copying netket/sampler/metropolis_hastings.py -> build/lib.macosx-10.9-x86_64-3.7/netket/sampler
copying netket/sampler/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/netket/sampler
copying netket/sampler/abstract_sampler.py -> build/lib.macosx-10.9-x86_64-3.7/netket/sampler
copying netket/sampler/exact_sampler.py -> build/lib.macosx-10.9-x86_64-3.7/netket/sampler
running build_ext
warning: CMakeBuild: -- The C compiler identification is Clang 4.0.1
-- The CXX compiler identification is Clang 4.0.1
-- Check for working C compiler: /Users/filippovicentini/anaconda3/envs/netket_env/bin/x86_64-apple-darwin13.4.0-clang
-- Check for working C compiler: /Users/filippovicentini/anaconda3/envs/netket_env/bin/x86_64-apple-darwin13.4.0-clang -- broken
CMake Error at /Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.15/Modules/CMakeTestCCompiler.cmake:60 (message):
The C compiler
"/Users/filippovicentini/anaconda3/envs/netket_env/bin/x86_64-apple-darwin13.4.0-clang"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/build/temp.macosx-10.9-x86_64-3.7/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_88595/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_88595.dir/build.make CMakeFiles/cmTC_88595.dir/build
Building C object CMakeFiles/cmTC_88595.dir/testCCompiler.c.o
/Users/filippovicentini/anaconda3/envs/netket_env/bin/x86_64-apple-darwin13.4.0-clang -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -o CMakeFiles/cmTC_88595.dir/testCCompiler.c.o -c /private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/build/temp.macosx-10.9-x86_64-3.7/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_88595
/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/site-packages/cmake/data/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_88595.dir/link.txt --verbose=1
/Users/filippovicentini/anaconda3/envs/netket_env/bin/x86_64-apple-darwin13.4.0-clang -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs CMakeFiles/cmTC_88595.dir/testCCompiler.c.o -o cmTC_88595
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd
ld: dynamic main executables must link with libSystem.dylib for architecture x86_64
clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [cmTC_88595] Error 1
make: *** [cmTC_88595/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:6 (project)
-- Configuring incomplete, errors occurred!
See also "/private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/build/temp.macosx-10.9-x86_64-3.7/CMakeFiles/CMakeOutput.log".
See also "/private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/build/temp.macosx-10.9-x86_64-3.7/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/setup.py", line 168, in <module>
install_requires=["numpy>=1.16", "cmake>=3.10.3", "scipy>=1.2.1", "mpi4py>=3.0.1"],
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/command/install.py", line 545, in run
self.run_command('build')
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 84, in run
_build_ext.run(self)
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/setup.py", line 122, in build_extension
["cmake", ext.sourcedir] + cmake_args, stderr=subprocess.STDOUT
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/subprocess.py", line 411, in check_output
**kwargs).stdout
File "/Users/filippovicentini/anaconda3/envs/netket_env/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['cmake', '/private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev', '-DNETKET_PYTHON_VERSION=3.7.6', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/build/lib.macosx-10.9-x86_64-3.7/netket']' returned non-zero exit status 1.
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/filippovicentini/anaconda3/envs/netket_env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/setup.py'"'"'; __file__='"'"'/private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-req-build-b7nm7sev/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/jy/14wyknxn18v9yncg8x189vn40000gn/T/pip-record-akazreo0/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
(netket_env)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment