404在访问vaex的example数据时

问题描述

访问时

  vaex.example()
{p>如vaex sphinx文档首页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

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

解决方法

只需更新您的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

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...