ACEsuit / mace

MACE - Fast and accurate machine learning interatomic potentials with higher order equivariant message passing.
Other
412 stars 155 forks source link

installation #453

Open niloufareabi opened 3 weeks ago

niloufareabi commented 3 weeks ago

Hello dear developers, I have problem with installing MACE. I'm in Iran , and I even tried it with proxy, but it didn't work.

pip install mace-torch Collecting mace-torch WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/e6/5f/7a95615c15b42e49d5f6d71d69b3a6399effe543264236dd7997673404ce/mace_torch-0.3.4-py3-none-any.whl.metadata WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/e6/5f/7a95615c15b42e49d5f6d71d69b3a6399effe543264236dd7997673404ce/mace_torch-0.3.4-py3-none-any.whl.metadata WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/e6/5f/7a95615c15b42e49d5f6d71d69b3a6399effe543264236dd7997673404ce/mace_torch-0.3.4-py3-none-any.whl.metadata WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/e6/5f/7a95615c15b42e49d5f6d71d69b3a6399effe543264236dd7997673404ce/mace_torch-0.3.4-py3-none-any.whl.metadata WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/e6/5f/7a95615c15b42e49d5f6d71d69b3a6399effe543264236dd7997673404ce/mace_torch-0.3.4-py3-none-any.whl.metadata ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/e6/5f/7a95615c15b42e49d5f6d71d69b3a6399effe543264236dd7997673404ce/mace_torch-0.3.4-py3-none-any.whl.metadata (Caused by ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)"))

nikhilss219 commented 3 weeks ago

I usually have this issue when my connection is behind a proxy wall. In my linux machine, I have added a proxy configuration in /etc/apt/apt.conf/proxy.conf (you can get a template of this file online). Afterwards, I have added a http_proxy and https_proxy as an environment variable in my ~/.bashrc.

This error can also occur when you have not authenticated your proxy credentials. To resolve this, you can open your web browser and can enter your credentials when the proxy credentials are requested(comes as a pop up in firefox and chrome).

stargolike commented 3 weeks ago

it looks like network problem. you can visit to pypi and find this packege which named mace-torch. download it and install in your pc.

stargolike commented 3 weeks ago

it looks like network problem. you can visit to pypi and find this packege which named mace-torch. download it and install in your pc.

niloufareabi commented 3 weeks ago

I usually have this issue when my connection is behind a proxy wall. In my linux machine, I have added a proxy configuration in /etc/apt/apt.conf/proxy.conf (you can get a template of this file online). Afterwards, I have added a http_proxy and https_proxy as an environment variable in my ~/.bashrc.

This error can also occur when you have not authenticated your proxy credentials. To resolve this, you can open your web browser and can enter your credentials when the proxy credentials are requested(comes as a pop up in firefox and chrome).

Thank you a a lot for your help, I will check this. I think you addressed it right.

niloufareabi commented 3 weeks ago

it looks like network problem. you can visit to pypi and find this packege which named mace-torch. download it and install in your

it looks like network problem. you can visit to pypi and find this packege which named mace-torch. download it and install in your pc.

That's a good idea. I will definitely check it.

CheukHinHoJerry commented 1 week ago

If you can clone the repository, you can just build this from local by cd mace, pip install .?