Python Forum
pip3 install mesh-renderer install error
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pip3 install mesh-renderer install error
#1
install error Ask for help Thank you
pip3 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: /root/miniconda3/envs/deep3d/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1ra7poo1/mesh-renderer_acc8a7fed96d4aeea20251fe9320c59e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-1ra7poo1/mesh-renderer_acc8a7fed96d4aeea20251fe9320c59e/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-x4llopbb
cwd: /tmp/pip-install-1ra7poo1/mesh-renderer_acc8a7fed96d4aeea20251fe9320c59e/
Complete output (62 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
copying mesh_renderer.py -> build/lib.linux-x86_64-3.6
copying camera_utils.py -> build/lib.linux-x86_64-3.6
copying rasterize_triangles.py -> build/lib.linux-x86_64-3.6
running build_ext
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-1ra7poo1/mesh-renderer_acc8a7fed96d4aeea20251fe9320c59e/setup.py", line 121, in <module>
long_description_content_type='text/markdown',
File "/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/root/miniconda3/envs/deep3d/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/root/miniconda3/envs/deep3d/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/root/miniconda3/envs/deep3d/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/root/miniconda3/envs/deep3d/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/root/miniconda3/envs/deep3d/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/deep3d/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/root/miniconda3/envs/deep3d/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/root/miniconda3/envs/deep3d/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/deep3d/lib/python3.6/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/tmp/pip-install-1ra7poo1/mesh-renderer_acc8a7fed96d4aeea20251fe9320c59e/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: /root/miniconda3/envs/deep3d/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1ra7poo1/mesh-renderer_acc8a7fed96d4aeea20251fe9320c59e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-1ra7poo1/mesh-renderer_acc8a7fed96d4aeea20251fe9320c59e/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-o8iwca7t/install-record.txt --single-version-externally-managed --compile --install-headers /root/miniconda3/envs/deep3d/include/python3.6m/mesh-renderer
cwd: /tmp/pip-install-1ra7poo1/mesh-renderer_acc8a7fed96d4aeea20251fe9320c59e/
Complete output (64 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
copying mesh_renderer.py -> build/lib.linux-x86_64-3.6
copying camera_utils.py -> build/lib.linux-x86_64-3.6
copying rasterize_triangles.py -> build/lib.linux-x86_64-3.6
running build_ext
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-1ra7poo1/mesh-renderer_acc8a7fed96d4aeea20251fe9320c59e/setup.py", line 121, in <module>
long_description_content_type='text/markdown',
File "/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/root/miniconda3/envs/deep3d/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/root/miniconda3/envs/deep3d/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/root/miniconda3/envs/deep3d/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/deep3d/lib/python3.6/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/root/miniconda3/envs/deep3d/lib/python3.6/distutils/command/install.py", line 545, in run
self.run_command('build')
File "/root/miniconda3/envs/deep3d/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/root/miniconda3/envs/deep3d/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/deep3d/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/root/miniconda3/envs/deep3d/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/root/miniconda3/envs/deep3d/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/deep3d/lib/python3.6/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/tmp/pip-install-1ra7poo1/mesh-renderer_acc8a7fed96d4aeea20251fe9320c59e/setup.py", line 70, in build_extensions
assert tf_version_major == 1
AssertionError
----------------------------------------
ERROR: Command errored out with exit status 1: /root/miniconda3/envs/deep3d/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1ra7poo1/mesh-renderer_acc8a7fed96d4aeea20251fe9320c59e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-1ra7poo1/mesh-renderer_acc8a7fed96d4aeea20251fe9320c59e/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-o8iwca7t/install-record.txt --single-version-externally-managed --compile --install-headers /root/miniconda3/envs/deep3d/include/python3.6m/mesh-renderer Check the logs for full command output.
Larz60+ write Aug-21-2021, 12:02 AM:
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python 3 install problem GeoffW1952 1 1,188 Oct-21-2018, 09:33 PM
Last Post: Larz60+
  Creating a SfePy mesh using Blender thinkinghurts 0 1,114 Aug-23-2018, 05:27 PM
Last Post: thinkinghurts
  What Is Best/Easiest IDE To Install? abrogard 12 3,414 Aug-14-2018, 09:50 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020