安装python等值线modu

2024-09-29 23:15:59 发布

您现在位置:Python中文网/ 问答频道 /正文

我想知道是否有人能够使用python中的tephi模块来绘制tephigrams。当我尝试时,我得到的错误是没有模块等值线。我试着用pip安装等值线,如下所示

pip install --upgrade isopleths

我得到以下信息

Collecting isopleths
 Could not find a version that satisfies the requirement isopleths (from versions: )
No matching distribution found for isopleths

与水蟒

conda install isopleths

我明白了

Fetching package metadata ...........
PackageNotFoundError: Packages missing in current channels:
- isopleths
We have searched for the packages in the following channels:
- https://repo.continuum.io/pkgs/main/linux-32
- https://repo.continuum.io/pkgs/main/noarch
- https://repo.continuum.io/pkgs/free/linux-32
- https://repo.continuum.io/pkgs/free/noarch
- https://repo.continuum.io/pkgs/r/linux-32
- https://repo.continuum.io/pkgs/r/noarch
- https://repo.continuum.io/pkgs/pro/linux-32
- https://repo.continuum.io/pkgs/pro/noarch

如果有人有任何经验,如何找到这个模块,我会很感激,如果他们可以分享


Tags: 模块installpiptheinhttpsiofor
1条回答
网友
1楼 · 发布于 2024-09-29 23:15:59

我也有同样的问题。你知道吗

这是一个路径问题,可能是由pip安装tephi的方式引起的,也可能是与先前安装它的尝试发生冲突。尽管有其他scitools包的conda条目,但似乎没有tephi的条目。我认为最好的办法是直接从github上的scitools库安装它,这样它就会是最新的。你知道吗

就这么做吧

git clone https://github.com/SciTools/tephi.git

cd tephi
python setup.py install

在安装之前,确保没有预先存在的tephi目录(在它工作之前,我必须删除一个名为tephi-0.1.0.dist-info的遗留目录),并确保激活了正确的conda环境(如果相关的话)。你知道吗

相关问题 更多 >

    热门问题