0

我试图vaex从 Anaconda Navigator 安装应用程序,但无法启动并出现错误:ModuleNotFoundError: No module named 'vaex.remote'. 一切都安装了,我什至重新安装了一切,没有更好的结果:

~$ conda install -c conda-forge vaex vaex-core vaex-hdf5 vaex-ui vaex-server vaex-ml --force-reinstall --yes
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /home/myusername/anaconda3

  added / updated specs:
    - vaex
    - vaex-core
    - vaex-hdf5
    - vaex-ml
    - vaex-server
    - vaex-ui



Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Python 3.8.5 (default, Sep  4 2020, 07:30:14) 
Type 'copyright', 'credits' or 'license' for more information
IPython 7.19.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import vaex.remote
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-e480b6348be7> in <module>
----> 1 import vaex.remote

ModuleNotFoundError: No module named 'vaex.remote'

任何想法?

4

1 回答 1

1

对于该特定模块,这是关于 Anaconda 的一个非常常见且备受争议的问题。

我建议这种方法来自这个线程,Jovan 给出了一个很好的答案:https ://github.com/vaexio/vaex/issues/464

在下面引用它:

创建一个新的 conda 环境并通过 conda forge 安装:

conda create --name vaex_env
source activate vaex_enc

然后只需通过 conda(forge) 安装 vaex。

conda install vaex -c conda-forge

这也将安装所有必要的依赖项。

这应该工作!

于 2020-12-24T16:11:13.417 回答