You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. Many thanks for your code. However, when I am trying to install, I meet the errors below. May you give some hints to solve it? Many thanks.
pip install mesh-renderer
Collecting mesh-renderer
Using cached mesh_renderer-1.4.tar.gz (21 kB)
Building wheels for collected packages: mesh-renderer
Building wheel for mesh-renderer (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/yzx/PycharmProjects/Myenv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-wvqwbrng/mesh-renderer/setup.py'"'"'; file='"'"'/tmp/pip-install-wvqwbrng/mesh-renderer/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 /tmp/pip-wheel-pp6pkq6k
cwd: /tmp/pip-install-wvqwbrng/mesh-renderer/
Complete output (39 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
copying mesh_renderer.py -> build/lib.linux-x86_64-3.8
copying camera_utils.py -> build/lib.linux-x86_64-3.8
copying rasterize_triangles.py -> build/lib.linux-x86_64-3.8
running build_ext
2020-08-26 17:40:41.943057: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.1
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-wvqwbrng/mesh-renderer/setup.py", line 108, in
setup(
File "/home/yzx/PycharmProjects/Myenv/lib/python3.8/site-packages/setuptools/init.py", line 165, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 223, in run
self.run_command('build')
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/tmp/pip-install-wvqwbrng/mesh-renderer/setup.py", line 70, in build_extensions
assert tf_version_major == 1
AssertionError
ERROR: Failed building wheel for mesh-renderer
Running setup.py clean for mesh-renderer
Failed to build mesh-renderer
Installing collected packages: mesh-renderer
Running setup.py install for mesh-renderer ... error
ERROR: Command errored out with exit status 1:
command: /home/yzx/PycharmProjects/Myenv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-wvqwbrng/mesh-renderer/setup.py'"'"'; file='"'"'/tmp/pip-install-wvqwbrng/mesh-renderer/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-z356jsnx/install-record.txt --single-version-externally-managed --compile --install-headers /home/yzx/PycharmProjects/Myenv/include/site/python3.8/mesh-renderer
cwd: /tmp/pip-install-wvqwbrng/mesh-renderer/
Complete output (41 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
copying mesh_renderer.py -> build/lib.linux-x86_64-3.8
copying camera_utils.py -> build/lib.linux-x86_64-3.8
copying rasterize_triangles.py -> build/lib.linux-x86_64-3.8
running build_ext
2020-08-26 17:40:43.783594: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.1
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-wvqwbrng/mesh-renderer/setup.py", line 108, in
setup(
File "/home/yzx/PycharmProjects/Myenv/lib/python3.8/site-packages/setuptools/init.py", line 165, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/yzx/PycharmProjects/Myenv/lib/python3.8/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/lib/python3.8/distutils/command/install.py", line 589, in run
self.run_command('build')
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/tmp/pip-install-wvqwbrng/mesh-renderer/setup.py", line 70, in build_extensions
assert tf_version_major == 1
AssertionError
----------------------------------------
ERROR: Command errored out with exit status 1: /home/yzx/PycharmProjects/Myenv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-wvqwbrng/mesh-renderer/setup.py'"'"'; file='"'"'/tmp/pip-install-wvqwbrng/mesh-renderer/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-z356jsnx/install-record.txt --single-version-externally-managed --compile --install-headers /home/yzx/PycharmProjects/Myenv/include/site/python3.8/mesh-renderer Check the logs for full command output.
The text was updated successfully, but these errors were encountered:
Hello. Many thanks for your code. However, when I am trying to install, I meet the errors below. May you give some hints to solve it? Many thanks.
pip install mesh-renderer
Collecting mesh-renderer
Using cached mesh_renderer-1.4.tar.gz (21 kB)
Building wheels for collected packages: mesh-renderer
Building wheel for mesh-renderer (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/yzx/PycharmProjects/Myenv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-wvqwbrng/mesh-renderer/setup.py'"'"'; file='"'"'/tmp/pip-install-wvqwbrng/mesh-renderer/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 /tmp/pip-wheel-pp6pkq6k
cwd: /tmp/pip-install-wvqwbrng/mesh-renderer/
Complete output (39 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
copying mesh_renderer.py -> build/lib.linux-x86_64-3.8
copying camera_utils.py -> build/lib.linux-x86_64-3.8
copying rasterize_triangles.py -> build/lib.linux-x86_64-3.8
running build_ext
2020-08-26 17:40:41.943057: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.1
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-wvqwbrng/mesh-renderer/setup.py", line 108, in
setup(
File "/home/yzx/PycharmProjects/Myenv/lib/python3.8/site-packages/setuptools/init.py", line 165, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 223, in run
self.run_command('build')
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/tmp/pip-install-wvqwbrng/mesh-renderer/setup.py", line 70, in build_extensions
assert tf_version_major == 1
AssertionError
ERROR: Failed building wheel for mesh-renderer
Running setup.py clean for mesh-renderer
Failed to build mesh-renderer
Installing collected packages: mesh-renderer
Running setup.py install for mesh-renderer ... error
ERROR: Command errored out with exit status 1:
command: /home/yzx/PycharmProjects/Myenv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-wvqwbrng/mesh-renderer/setup.py'"'"'; file='"'"'/tmp/pip-install-wvqwbrng/mesh-renderer/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-z356jsnx/install-record.txt --single-version-externally-managed --compile --install-headers /home/yzx/PycharmProjects/Myenv/include/site/python3.8/mesh-renderer
cwd: /tmp/pip-install-wvqwbrng/mesh-renderer/
Complete output (41 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
copying mesh_renderer.py -> build/lib.linux-x86_64-3.8
copying camera_utils.py -> build/lib.linux-x86_64-3.8
copying rasterize_triangles.py -> build/lib.linux-x86_64-3.8
running build_ext
2020-08-26 17:40:43.783594: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.1
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-wvqwbrng/mesh-renderer/setup.py", line 108, in
setup(
File "/home/yzx/PycharmProjects/Myenv/lib/python3.8/site-packages/setuptools/init.py", line 165, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/yzx/PycharmProjects/Myenv/lib/python3.8/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/lib/python3.8/distutils/command/install.py", line 589, in run
self.run_command('build')
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/tmp/pip-install-wvqwbrng/mesh-renderer/setup.py", line 70, in build_extensions
assert tf_version_major == 1
AssertionError
----------------------------------------
ERROR: Command errored out with exit status 1: /home/yzx/PycharmProjects/Myenv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-wvqwbrng/mesh-renderer/setup.py'"'"'; file='"'"'/tmp/pip-install-wvqwbrng/mesh-renderer/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-z356jsnx/install-record.txt --single-version-externally-managed --compile --install-headers /home/yzx/PycharmProjects/Myenv/include/site/python3.8/mesh-renderer Check the logs for full command output.
The text was updated successfully, but these errors were encountered: