I am trying to do legal text summarization and found this open source package, but I don't know how to install and use it. I tried using pip install letsum but it's giving me an error.
ERROR: Could not find a version that satisfies the requirement letsum (from versions: none)
ERROR: No matching distribution found for letsum
Below is the github documentation, any ideas how to use it?
https://github.com/Law-AI/summarization
Thank you in advance
You can follow these steps:
Clone the repository:
git clone https://github.com/Law-AI/summarization.git
Install dependencies
pip install -r summarization/supervised/requirements.txt
Get to summarization/supervised/legal-specific/LetSum:
cd summarization/supervised/legal-specific/LetSum
Open your IDE in the current directory and you should be able to import letsum without any problem!
Related
I need to use rospy for my app, and when i try to install it via pip3 install rospy or pip3 install python-rospy it results an error: ERROR: Could not find a version that satisfies the requirement python-rospy (from versions: none) ERROR: No matching distribution found for python-rospy
I have no idea how to use it and where to download it
Thanks for any responces!
There could be multiple reasons behind these errors. I think you should first check if you have ROS1 installed on your system. Since you're going to use Python3, you'll have to install ROS1 Noetic. You can follow the instructions mentioned on http://wiki.ros.org/noetic/Installation/Ubuntu
If you already have ROS1 Noetic on your system, you should check if you've source ROS1 in your .bashrc. If source /opt/ros/neotic/setup.bash is already there, then something went wrong during the installation. You should install ROS again.
Hope this helps.
I'm trying to install cdqa but it seems like the library is missing from pypi. it shows this message:
ERROR: Could not find a version that satisfies the requirement cdqa==1.3.9 (from versions: none)
ERROR: No matching distribution found for cdqa==1.3.9
anyone knows what happened and how to fix this?
The project of cdpa(https://pypi.org/project/cdqa/) is 404 now. You can try install it from source code. Quote from the github as below:
git clone https://github.com/cdqa-suite/cdQA.git
cd cdQA
pip install -e .
I'm trying to install django-trumbowyg https://github.com/sandino/django-trumbowyg to my app
When I did pip install django-trumbowyg, it returned this error:
Could not find a version that satisfies the requirement django-trumbowyg (from versions: )
No matching distribution found for django-trumbowyg
Does anyone know what this means? And how I can fix it?
As https://pypi.python.org/pypi/django-trumbowyg#downloads shows, there's only a binary package for Python2 at PyPI.
So, you have to install the package directly from the official sources as pointed out by Rishav in the meantime.
Then ask the developer to upload a source package to PyPI and/or build the wheel as universal.
You may also get this error if your company firewall doesnt allow any package from external source. you might need to add a proxy in that case.
for example: pip install django-trumbowyg --proxy=proxy.companydomain.com:
Python n00b here trying to install decoder.py via pip.
I see it exists when I search for it
$ pip search decoder.py
decoder.py (1.5XB) - Cross-platform Python module for decoding compressed audio files
But i can't seem to install it.
$ pip install decoder.py
Collecting decoder.py
Could not find a version that satisfies the requirement decoder.py (from versions: )
No matching distribution found for decoder.py
$ pip install decoder.py==1.5XB
Collecting decoder.py==1.5XB
Could not find a version that satisfies the requirement decoder.py==1.5XB (from versions: )
No matching distribution found for decoder.py==1.5XB
Any ideas?
This package doesn't provide any downloadable source code on PyPI.
You can download it from http://www.brailleweb.com/cgi-bin/python.py (this link was provided by authors on pypi, proceed with caution).
Author of decoder.py here. :D
I am sorry for inconvenience. pip was able to grab decoder.py from brailleweb.com before. It was unable to install it though because I didn't provide a setup script. I didn't do it primarily because people might like to choose which external decoders they would like to use and perhaps don't want to install them into their's Python site-packages directory on Windows.
So I settled for manual installation instead. You aren't first who complained about it and that's why next version will have the setup script at least.
The new version is coming out soon. I am sorry to say development is slower than I anticipated but new version will be ready sooner or later. :D
Cheers!
I have created a python module, i2cdev.
pypi link: https://pypi.python.org/pypi?%3Aaction=pkg_edit&name=i2cdev
git link: https://github.com/cloudformdesign/i2cdev
When I try to install it through pip, I get that it cannot find it:
$ pip3 search "i2cdev" # finds it fine
i2cdev - Simple I2C Library for linux
$ pip3 install i2cdev
Collecting i2cdev
Could not find any downloads that satisfy the requirement i2cdev
No distributions at all found for i2cdev
What is going on?
wow, I'm an idiot. Apparently you have to use setup.py sdist upload to actually upload the code onto python. I thought just registering it was enough.
You have to setup download link for the tarball/zip file which is uploaded.You can check it by
http://pypi.python.org/simple/<package name>
Because pip searches in this above url.If There is no download links, You have to add download_link as metadata.That is something like
in setup.py
setup(...,
download_url = 'http://pypi/path/to/package.tar.gz',
)
I found out, your's is
https://pypi.python.org/packages/source/i/i2cdev/i2cdev-1.2.4.tar.gz