torchsparse icon indicating copy to clipboard operation
torchsparse copied to clipboard

[Installation] Website with wheels is inaccessible.

Open jpaulos opened this issue 1 year ago • 4 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Have you followed all the steps in the FAQ?

  • [X] I have tried the steps in the FAQ.

Current Behavior

The readme states that wheels are listed at the website http://pypi.hanlab.ai/simple/torchsparse

Attempting to visit that website returns an error. The notice reads:

"Application Blocked. Access to the application you were trying to use has been blocked in accordance with company policy. Please contact your system administrator if you believe this is in error. Application: web-browsing"

It looks like this has happened before in #275

While downloading wheels might not be the intended most common way to install this package, it would be extremely helpful to view the index of which pre-built wheels actually exist when debugging issues with the install script.

Error Line

N/A

Environment

N/A

Full Error Log

No response

jpaulos avatar Oct 25 '24 21:10 jpaulos

Hi @jpaulos, I ran into the same issue. I managed to get torchsparse installed by cloning the repository and just running the setup.py (even though this is not the recommended installation procedure it could be a workaround for now).

RiedelPatrick avatar Nov 04 '24 05:11 RiedelPatrick

你好@jpaulos,我遇到了同样的问题。我设法通过克隆存储库并运行 setup.py 来安装 torchsparse(尽管这不是推荐的安装程序,但它目前可能是一种解决方法)。 Hello!could you share finished wheel file?my env is cuda11.8,torch2.1.0,and python3.10.

Peach-tao622 avatar Mar 04 '25 15:03 Peach-tao622

python setup.py install torchsparse version: 2.1.0 running install e:\python\python311\Lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( e:\python\python311\Lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( running bdist_egg running egg_info writing torchsparse.egg-info\PKG-INFO writing dependency_links to torchsparse.egg-info\dependency_links.txt writing requirements to torchsparse.egg-info\requires.txt writing top-level names to torchsparse.egg-info\top_level.txt reading manifest file 'torchsparse.egg-info\SOURCES.txt' adding license file 'LICENSE' writing manifest file 'torchsparse.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_py running build_ext error: [WinError 2] 系统找不到指定的文件。

这里是找不到什么文件?

ollyestn avatar Mar 23 '25 15:03 ollyestn

Sorry for the confusion, I did the python setup.py install for version 2.0. To install version 2.1 I simply ran pip install . from the cloned repo. Advantage of the pip install is that it also checks if the required libraries are installed and respectively installs them. Also note, that I limited the MAX_JOBS to 2 to prevent my laptop from crashing, as it is not the newest model.

RiedelPatrick avatar May 02 '25 11:05 RiedelPatrick