0

访问时

  vaex.example()

vaexsphinx 文档主页 https://vaex.readthedocs.io/en/latest/中所述

它提供 404:

import vaex; 
df = vaex.example(); 
dfn = df[0:5][['x','y']]; 
dfn.describe()


Downloading http://vaex.astro.rug.nl/data/helmi-dezeeuw-2000-10p.hdf5 to /Users/steve/.vaex/data/helmi-dezeeuw-2000-10p.hdf5
--2020-08-29 17:12:10--  http://vaex.astro.rug.nl/data/helmi-dezeeuw-2000-10p.hdf5
Resolving vaex.astro.rug.nl (vaex.astro.rug.nl)... 129.125.6.3
Connecting to vaex.astro.rug.nl (vaex.astro.rug.nl)|129.125.6.3|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://vaex.io/data/helmi-dezeeuw-2000-10p.hdf5 [following]
--2020-08-29 17:12:11--  https://vaex.io/data/helmi-dezeeuw-2000-10p.hdf5
Resolving vaex.io (vaex.io)... 172.67.69.63, 104.26.0.195, 104.26.1.195
Connecting to vaex.io (vaex.io)|172.67.69.63|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-08-29 17:12:11 ERROR 404: Not Found.

wget failed, using urlretrieve
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/steve/miniconda3/lib/python3.7/site-packages/vaex/__init__.py", line 575, in example

该数据集是否有更新的网址?

4

1 回答 1

1

只需更新您的 vaex 版本,

pip install --upgrade vaex

例如,在 v1.0.0 中,它尝试从

http://vaex.astro.rug.nl/data/helmi-dezeeuw-2000-10p.hdf5

而在 3.0.0 版本中,它从

https://github.com/vaexio/vaex-datasets/releases/download/v1.0/helmi-dezeeuw-2000-FeH-v2-10percent.hdf5.

于 2020-08-30T01:34:22.170 回答