Python Forum
pip install paddlepaddle-tiny does not install
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pip install paddlepaddle-tiny does not install
#1
I want to use the package jieba to analyse Chinese text.

From PyPI here I should install paddlepaddle-tiny. I tried various commands, but I get an error:

Quote:(GP_env) pedro@pedro-MSI:~/Python_Virtual_Environments$ pip install paddle-tiny
ERROR: Could not find a version that satisfies the requirement paddle-tiny (from versions: none)
ERROR: No matching distribution found for paddle-tiny
(GP_env) pedro@pedro-MSI:~/Python_Virtual_Environments$ pip install paddlepaddle-tiny
ERROR: Could not find a version that satisfies the requirement paddlepaddle-tiny (from versions: none)
ERROR: No matching distribution found for paddlepaddle-tiny
(GP_env) pedro@pedro-MSI:~/Python_Virtual_Environments$ pip install paddlepaddle-tiny==1.6.1
ERROR: Could not find a version that satisfies the requirement paddlepaddle-tiny==1.6.1 (from versions: none)
ERROR: No matching distribution found for paddlepaddle-tiny==1.6.1
(GP_env) pedro@pedro-MSI:~/Python_Virtual_Environments$ pip install paddlepaddle-tiny==1.6.1.
ERROR: Could not find a version that satisfies the requirement paddlepaddle-tiny==1.6.1. (from versions: none)
ERROR: No matching distribution found for paddlepaddle-tiny==1.6.1.
(GP_env) pedro@pedro-MSI:~/Python_Virtual_Environments$ pip install paddlepaddle-tiny-1.6.1
ERROR: Could not find a version that satisfies the requirement paddlepaddle-tiny-1.6.1 (from versions: none)
ERROR: No matching distribution found for paddlepaddle-tiny-1.6.1
(GP_env) pedro@pedro-MSI:~/Python_Virtual_Environments$

I can go to this page and download a .whl file, but I am not sure how to handle that.

Any tips please?

I am not sure why pip does not find the package.
Reply
#2
I guess the problem is that the whl provided are for up to python 3.5-3.7 and I guess your python version is higher
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#3
Oh, it's the Python version, not the paddlepaddle-tiny version!

I don't really want to go back to Python 3.5, I have 3.10 I believe.

I'll try without paddle. They just said, the tokenizer works better with paddle.
Reply
#4
Is paddlepaddle 2.6.2 and option? It is compatible with python 3.10

https://pypi.org/project/paddlepaddle/
buran and Pedroski55 like this post
Reply
#5
Thanks, that is encouraging!

Some problem however:

jieba.enable_paddle()
Output:
Import error, cannot find paddle.fluid and jieba.lac_small.predict module. Now, back to jieba basic cut...... [2024-09-25 06:17:55,601] [ DEBUG] _compat.py:50 - Import error, cannot find paddle.fluid and jieba.lac_small.predict module. Now, back to jieba basic cut......
Maybe I also need a different version of jieba, but thanks anyway. I believe paddle just makes jieba better, but it should work without paddle!

import paddle

paddle.utils.run_check()
Output:
Running verify PaddlePaddle program ... PaddlePaddle works well on 1 CPU. PaddlePaddle is installed successfully! Let's start deep learning with PaddlePaddle now.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Install Python Using ShellScript Sudheer 1 1,054 Mar-12-2025, 03:50 AM
Last Post: Tishat73
  [split] ibm_db install problem SQLPython 1 665 Feb-13-2025, 07:24 PM
Last Post: buran
  I'm trying to install python 3.11.11 on windows 10 - it doesn't work Petonique 2 1,878 Feb-04-2025, 05:42 PM
Last Post: snippsat
  pip install problem taufanjs 4 1,395 Dec-06-2024, 01:37 AM
Last Post: taufanjs
  Install a module to a specific to Python Installation (one of many)) tester_V 2 2,099 Oct-29-2024, 03:25 PM
Last Post: snippsat
  Python install issue redreign83 2 849 Oct-04-2024, 07:59 AM
Last Post: Larz60+
  SOLVED: Install mailer module in Python 3.11.2? Calab 3 2,244 Jul-03-2024, 02:03 PM
Last Post: Calab
  Python Code Help - pip install PyMuPDF python-docx pillow Splishsplash92 3 2,045 Jun-05-2024, 06:49 AM
Last Post: Pedroski55
  Install python 2.7 in jupyter lab raman 28 5,426 Jun-01-2024, 01:53 PM
Last Post: snippsat
  Cant install Ethereum 2.3.2 Rubenvdw 1 1,138 May-29-2024, 08:39 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020