编译```sentencepiece```失败
编译sentencepiece失败
运行pip install -e .正常
运行pip install -e .[gradio]失败,报错信息如下:
系统信息:
- Windows10
- Python 3.12.2 运行Grdio界面正常,图生文和文生图都正常,请问这属于正常问题吗?
Same issue here Ubuntu 22.04
Update me when it's safe to start using it and when I can use the code on my laptop.
On Tue, Jan 28, 2025, 1:03 PM VitorVillarino @.***> wrote:
Same issue here Ubuntu 22.04
— Reply to this email directly, view it on GitHub https://github.com/deepseek-ai/Janus/issues/62#issuecomment-2618812517, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2TE5HMYRYRS6IXNFG7MNN32M5WZXAVCNFSM6AAAAABWAFQ2Z2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJYHAYTENJRG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I'm having the same issue running pip install -e .[gradio]
(MacBook Pro M3 Pro, python3.11)
had the same issue, downgraded my Python version to 3.8 and it worked
same issue,but py3.8 didn't work
had the same issue, downgraded my Python version to 3.8 and it worked
Are you referring to Python 3.8, released in 2019 and no longer supported since October 2024?
had the same issue, downgraded my Python version to 3.8 and it worked
Are you referring to Python 3.8, released in 2019 and no longer supported since October 2024?
yes
had the same issue, downgraded my Python version to 3.8 and it worked
Are you referring to Python 3.8, released in 2019 and no longer supported since October 2024?
yes, the version 3.8.10 released in 2021 to be specific.
I'm using a Python 3.12 virtual environment on Ubuntu 24.10 and don't have this issue.
I've actually performed a clean install to downgrade, maybe that had more impact than the version.
I suggest using a virtual environment (python3 -m venv .venv). This avoids conflicts with existing python packages and keeps your system clean.
I had same problem on Mac, finally use some tricks to solve this:
brew install protobuf sentencepiece pkg-config cmake
update your pip and change the SentencePiece==0.2 in pyproject.toml
I have a fork to run on mac here: https://github.com/takahirosir/Janus Here's the discussion: https://github.com/deepseek-ai/Janus/issues/55
Maybe unrelated but i had the same issue and an answer on StackOverflow suggested to install cmake and pkg-config which surprisingly fixed it.
Same problem. python 3.12 on windows 11.
I had same problem on Mac, finally use some tricks to solve this:
brew install protobuf sentencepiece pkg-config cmakeupdate your pip and change the SentencePiece==0.2 in pyproject.toml
I have a fork to run on mac here: https://github.com/takahirosir/Janus Here's the discussion: [#55](https://github.com/deepseek-ai/Janus/issues/55)
This worked! Thanks!
I spent an hour trying to get past this on WSL. I tried installing every one of the listed packages.
What worked for me was making a new venv of Python 3.8, and then right after that, running pip install -e .[gradio]
python3.8 -m venv Janus_env
source Janus_env/bin/activate
pip install -e .[gradio]
I had same problem on Mac, finally use some tricks to solve this:
brew install protobuf sentencepiece pkg-config cmakeupdate your pip and change the SentencePiece==0.2 in pyproject.toml
I have a fork to run on mac here: https://github.com/takahirosir/Janus Here's the discussion: [#55](https://github.com/deepseek-ai/Janus/issues/55)
It works on windows11, python3.12.8 too, just change the SentencePiece version in pyproject.toml is enough. thanks!
I had same problem on Mac, finally use some tricks to solve this:
brew install protobuf sentencepiece pkg-config cmakeupdate your pip and change the SentencePiece==0.2 in pyproject.toml
I have a fork to run on mac here: https://github.com/takahirosir/Janus Here's the discussion: [#55](https://github.com/deepseek-ai/Janus/issues/55)
this fixes the issue
i use python3.9, and it works. 3.8 and 3.11 don't work.
this solution worked https://github.com/deepseek-ai/Janus/issues/84#issuecomment-2621702350
Hi guys, I didn't manage to run this command on windows with python 3.13 but it works with python 3.12.9 and adapting SentencePiece==0.2 in pyproject.toml
C:\Users\XXX\AppData\Local\Programs\Python\Python312\python -m venv .env312 .env312\Scripts\activate pip install -e . pip install -e .[gradio]
python3.13也遇到了同样问题,换成python3.12它就可以了
I also encountered this problem with python 3.13, but it no longer exists when I switch to python 3.12
I have a fork to run on mac here: https://github.com/takahirosir/Janus Here's the discussion: [#55](https://github.com/deepseek-ai/Janus/issues/55)
I have a fork to run on mac here: https://github.com/takahirosir/Janus Here's the discussion: [#55](https://github.com/deepseek-ai/Janus/issues/55)
I have a fork to run on mac here: https://github.com/takahirosir/Janus Here's the discussion: [#55](https://github.com/deepseek-ai/Janus/issues/55)