Install error - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Install error (/thread-40780.html) |
Install error - middlestudent - Sep-23-2023 Dear all, Do you have any solution to the following intall error: yuan@yuan-virtual-machine:~/smplx$ sudo python3 setup.py install [sudo] password for yuan: running install /usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3/dist-packages/setuptools/command/easy_install.py:158: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( running bdist_egg running egg_info creating smplx.egg-info writing smplx.egg-info/PKG-INFO writing dependency_links to smplx.egg-info/dependency_links.txt writing requirements to smplx.egg-info/requires.txt writing top-level names to smplx.egg-info/top_level.txt writing manifest file 'smplx.egg-info/SOURCES.txt' reading manifest file 'smplx.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'smplx.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build creating build/lib creating build/lib/smplx copying smplx/lbs.py -> build/lib/smplx copying smplx/vertex_ids.py -> build/lib/smplx copying smplx/joint_names.py -> build/lib/smplx copying smplx/__init__.py -> build/lib/smplx copying smplx/body_models.py -> build/lib/smplx copying smplx/vertex_joint_selector.py -> build/lib/smplx copying smplx/utils.py -> build/lib/smplx creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/smplx copying build/lib/smplx/lbs.py -> build/bdist.linux-x86_64/egg/smplx copying build/lib/smplx/vertex_ids.py -> build/bdist.linux-x86_64/egg/smplx copying build/lib/smplx/joint_names.py -> build/bdist.linux-x86_64/egg/smplx copying build/lib/smplx/__init__.py -> build/bdist.linux-x86_64/egg/smplx copying build/lib/smplx/body_models.py -> build/bdist.linux-x86_64/egg/smplx copying build/lib/smplx/vertex_joint_selector.py -> build/bdist.linux-x86_64/egg/smplx copying build/lib/smplx/utils.py -> build/bdist.linux-x86_64/egg/smplx byte-compiling build/bdist.linux-x86_64/egg/smplx/lbs.py to lbs.cpython-310.pyc byte-compiling build/bdist.linux-x86_64/egg/smplx/vertex_ids.py to vertex_ids.cpython-310.pyc byte-compiling build/bdist.linux-x86_64/egg/smplx/joint_names.py to joint_names.cpython-310.pyc byte-compiling build/bdist.linux-x86_64/egg/smplx/__init__.py to __init__.cpython-310.pyc byte-compiling build/bdist.linux-x86_64/egg/smplx/body_models.py to body_models.cpython-310.pyc byte-compiling build/bdist.linux-x86_64/egg/smplx/vertex_joint_selector.py to vertex_joint_selector.cpython-310.pyc byte-compiling build/bdist.linux-x86_64/egg/smplx/utils.py to utils.cpython-310.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying smplx.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying smplx.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying smplx.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying smplx.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying smplx.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... creating dist creating 'dist/smplx-0.1.28-py3.10.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing smplx-0.1.28-py3.10.egg Copying smplx-0.1.28-py3.10.egg to /usr/local/lib/python3.10/dist-packages Adding smplx 0.1.28 to easy-install.pth file Installed /usr/local/lib/python3.10/dist-packages/smplx-0.1.28-py3.10.egg Processing dependencies for smplx==0.1.28 Searching for torch>=1.0.1.post2 Reading https://pypi.org/simple/torch/ Download error on https://pypi.org/simple/torch/: [Errno -3] Temporary failure in name resolution -- Some packages may not be found! Couldn't find index page for 'torch' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.org/simple/ Download error on https://pypi.org/simple/: [Errno -3] Temporary failure in name resolution -- Some packages may not be found! No local packages or working download links found for torch>=1.0.1.post2 error: Could not find suitable distribution for Requirement.parse('torch>=1.0.1.post2') Many thanks. Yuan RE: Install error - middlestudent - Sep-23-2023 Solved. Thanks. |