drcassar / glasspy

Python module for scientists working with glass materials
https://glasspy.readthedocs.io
Other
28 stars 7 forks source link

Issue with downloading files from Zenodo #27

Open ljtys opened 2 weeks ago

drcassar commented 2 weeks ago

Original question = "I'm very sorry to disturb everyone, but I may be a beginner and would like to ask if I am following the instructions from glasspy.data import SciGlass, sciglass_dbinfo source = SciGlass() Df=source.data runtime error says Failed to resolve 'zenodo. org'. How can I solve this problem"

Hello @ljtys, can you check the following:

  1. Can you access this link with your browser: https://zenodo.org/records/13625981?
  2. Are you using the lastest version of GlassPy (version 5.3) installed with pip?
  3. Did you install pytorch before installing GlassPy?
  4. What Python version are you using?
  5. Can you add a minimum working example code that shows the error (and also paste here the error)?

I just created a new virtual environment on Python 3.12 and GlassPy seems to be working fine.

ljtys commented 2 weeks ago

@drcassar 1、I can't open the page by following this link2、I've updated glasspy3. I don't use pyorch I use jupyter notebook 7d2acd420d21d13c1ca5273cfd97ab7

drcassar commented 2 weeks ago

This is weird. It seems that Zenodo is blocked on your machine. Can you check your firewall or ask the IT team if this is the case?

One option would be using GlassPy on Google Colab to get the dataset and then download it.

ljtys commented 2 weeks ago

May I ask, if I download the arHIV dataset on my computer, can I import it into Glasspy? @drcassar

drcassar commented 1 week ago

Hi @ljtys. I am afraid that the Zenodo data is not hosted elsewhere right now. It is about 120 megabytes and GitHub is not letting me attach it to this message because the limit is 25 MB. Did you try to use GlassPy in Google Colab?