JuliaPy / JuliaPy/PyCall.jl

Cannot run impedancefitter

Đang mở
#1,012 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Julia
Star
1.5k
Fork
186
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I installed [impedancefitter ](https://github.com/j-zimmermann/ImpedanceFitter) as follows:
```
Conda.pip_interop(true, Conda.ROOTENV)
Conda.pip("install", "impedancefitter==2.0.3")
```
If I give the command:
```
impfit = pyimport("impedancefitter")
```
I receive the error-message:
```
ERROR: PyError (PyImport_ImportModule

The Python ... and re-launch Julia.

)
ImportError('DLL load failed while importing _common: Die angegebene Prozedur wurde nicht gefunden.')
File "C:\Users\stefanpofahl\.julia\conda\3\lib\site-packages\impedancefitter\__init__.py", line 38, in
from .postprocess import PostProcess
File "C:\Users\stefanpofahl\.julia\conda\3\lib\site-packages\impedancefitter\postprocess.py", line 22, in
import openturns as ot
File "C:\Users\stefanpofahl\.julia\conda\3\lib\site-packages\openturns\__init__.py", line 49, in
from .common import *
File "C:\Users\stefanpofahl\.julia\conda\3\lib\site-packages\openturns\common.py", line 15, in
from . import _common

Stacktrace:
[1] pyimport(name::String)
@ PyCall C:\Users\stefanpofahl\.julia\packages\PyCall\ygXW2\src\PyCall.jl:558
[2] top-level scope
@ c:\data\git_repos\hycenta_stefan_pofahl\julia_scripts\examples\EquivalentCircuits\package_impedancefit\example_impedancefitter.jl:41
```
I have checked the python version, it is:
```
PyCall.pyversion
v"3.9.13"
```
Which should be sufficient. Any ideas?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện lệnh gọi pyimport("impedancefitter") từ example_impedancefitter.jl và kiểm tra PyCall.pyversion được báo cáo. Theo dõi đường dẫn import qua impedancefitter/__init__.py, postprocess.py, openturns/__init__.py và common.py; hoàn thành khi xác định được lỗi nằm ở PyCall/Conda hay ở việc cài đặt impedancefitter/openturns, đồng thời ghi lại cấu hình được hỗ trợ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
julia, python
Lĩnh vực
developer-experience
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.