Replies: 1 comment 1 reply
-
Hey I tried your example with this configuration: [project]
channels = ["https://prefix.dev/conda-forge"]
name = "dolphin"
platforms = ["osx-arm64"]
[dependencies]
python = ">=3.13.1,<3.14"
setuptools = ">=75.8.0,<76"
[pypi-dependencies]
apache-dolphinscheduler = { git = "https://github.com/xinge-ji/dolphinscheduler-sdk-python-4.0.4.git", tag = "4.0.4" }
[tasks]
import = "python -c 'from pydolphinscheduler.tasks.seatunnel import SeaTunnel; from pydolphinscheduler.tasks.sql import Sql; print(SeaTunnel, Sql)'" Which gave me this output: pixi run import
✨ Pixi task (import): python -c 'from pydolphinscheduler.tasks.seatunnel import SeaTunnel; from pydolphinscheduler.tasks.sql import Sql; print(SeaTunnel, Sql)'
Auth token is default token, highly recommend add a token in production, especially you deploy in public network.
/Users/rubenarts/envs/dolphin/.pixi/envs/default/lib/python3.13/site-packages/pydolphinscheduler/java_gateway.py:324: UserWarning: Using unmatched version of pydolphinscheduler (version 4.0.4) and Java gateway (version unknown) may cause errors. We strongly recommend you to find the matched version (check: https://pypi.org/project/apache-dolphinscheduler)
gateway = GatewayEntryPoint()
<class 'pydolphinscheduler.tasks.seatunnel.SeaTunnel'> <class 'pydolphinscheduler.tasks.sql.Sql'> Could you try again or share your full manifest? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I am trying to install a package from my GitHub repository in my Python project using
pixi
, but I am encountering an issue when trying to import the package.When I install the package using the following
pip
command, it works as expected:I then added the dependency to my
pyproject.toml
like this:The package installs correctly when I use
pixi install
to manage the dependencies. However, when I activate the Python environment by running:and try importing the module that I wrote:
I get the following error:
ModuleNotFoundError: No module named 'pydolphinscheduler.tasks.seatunnel'
This import works fine when I use the
pip
method, but I encounter the issue when usingpixi
.However, the module from the original pypi
apache/dolphinscheduler-sdk-python
such asIt works fine in
pixi
environment as well.Could anyone suggest what might be causing this issue or how I can resolve it?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions