Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

petrel_client 无法安装 #88

Closed
zhLawliet opened this issue Sep 20, 2024 · 4 comments
Closed

petrel_client 无法安装 #88

zhLawliet opened this issue Sep 20, 2024 · 4 comments

Comments

@zhLawliet
Copy link

pip install petrel_client
这个包好像没法安装?
try:
from petrel_client.client import Client
except ImportError:
logger.info("Failed to import petrel_client. Please install it if you are using petrel-oss.")

@zengyh1900
Copy link
Collaborator

hi @zhLawliet
如果你不是使用 pertreloss 的,你可以不安装的

@zhLawliet
Copy link
Author

@zengyh1900 嗯如果要使用,怎么安装呢? 如果不使用pertreloss 就不进行petrel_client安装,是不是还得修改代码?
image

@zengyh1900
Copy link
Collaborator

@zhLawliet 你们实验室环境是用 pertrloss 吗,如果不是你装了也没用。
基本上这个类你可能还是得根据你的实验环境重写的,基本也就是改个文件读取的逻辑

@zhLawliet
Copy link
Author

好的,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants