Not able to download pyxplorer package using pip? - python

I referring url to profile data and to profile the data we need pyxplorer inside of python interpreter but when i try to install pyxplorer package it gives me error like:
Collecting pyxplorer
Could not find a version that satisfies the requirement pyxplorer (from versions: ) No matching distribution found for pyxplorer
command to install package is:
pip install pyxplorer
I know below link only about data profiling(pyxplorer)
1) https://github.com/grundprinzip/pyxplorer
2) http://nbviewer.jupyter.org/github/grundprinzip/pyxplorer/blob/master/pyxplorer_stuff.ipynb
The links which I have already tried are:
1)pip cannot install anything
2) Could not find any downloads that satisfy the requirement newrelic-plugin-agent
Thanks in advance.

It looks like the pyxplorer package on PyPI is invalid and doesn't actually contain any release data. Have a look at the releases key of the JSON for pyxplorer - it's an empty array, but normal packages look more like this.
The best solution would be to install directly from GitHub, like so:
pip install git+https://github.com/grundprinzip/pyxplorer
(You may need to use sudo on Unix-like systems or Run as Administrator on Windows)
It might also be wise to file an issue on the pyxplorer bug tracker so they know about this.

Related

No matching distribution found <package>

I'm trying to install this package but I'm getting the erorr in the title along with "Could not find a version that satisfies the requirement vtk (from versions: none)". Does anyone know why it won't work when it's available on PyPI?
Edit: Found out it's because I'm on the latest Python version. A commenter kindly provided an unofficial build but I'm unsure of the process in installing it. I used the link pip install --find-links wheels.pyvista.org pyvista and it seems to have installed one package called appdirs but no vtk package. If I follow the link there's build instructions but it says for Ubuntu/Linux so not sure which one I should follow on Windows.. Also, I'd like to check if wheels for Python 3.10 are forward compatible with 3.11 since I'm on the latest version

Meeting a pip requirement using an alternative module

I'm trying to install a python module, 'pyAudioProcessing' (https://github.com/jsingh811/pyAudioProcessing) on my Linux Mint distribution, and one of the items in requirements.txt is causing issues: python-magic-bin==0.4.14. When I run pip3 install -e pyAudioInstaller, I get an error:
ERROR: Could not find a version that satisfies the requirement python-magic-bin==0.4.14 (from pyAudioProcessing==1.1.5) (from versions: none)
ERROR: No matching distribution found for python-magic-bin==0.4.14 (from pyAudioProcessing==1.1.5)
The same error appears if I try to manually install the module using pip3 install python-magic-bin. The module installs without issues on my windows machine.
pypi.org lets me download files for it manually, however only Windows and MacOS .whl files are available. I tried simply removing the requirement from the list, but that resulted in a large number of other errors to appear, so I assume the module is legitimately required.
Thee is another module called python-magic-debian-bin that I can download. Is there a simple way to convince pyAudioInstaller to use this other module instead of the original? Like can I somehow rename python-magic-debian-bin to python-magic-bin and hope it works out?
python-magic-bin 0.4.14 provides wheels for OSX, w32 and w64, but not for Linux. And there is no source code at PyPI.
You need to install it from github:
pip install git+https://github.com/julian-r/python-magic.git
As for pyAudioProcessing I can see 2 ways to install it:
Clone the repository and edit requirements/requirements.txt, replace python-magic-bin==0.4.14 with pip install git+https://github.com/julian-r/python-magic.git#egg=python-magic;
Install requirements manually and then install pyAudioProcessing without dependencies:
pip install --no-deps pyAudioProcessing
or
pip install --no-deps git+https://github.com/jsingh811/pyAudioProcessing.git
The library has updated the requirements very recently for it to work on Linux.
pip install -U pyAudioProcessing
Should get it all set up for you.
Alternatively, https://github.com/jsingh811/pyAudioProcessing the readme describes other getting started methods as well.

How to install a predefined package(class) in google colab(python,Jupyter notebook)?

I have already defined a class which I want to use in my code.
in order to import it I know I have to install it first.(I am using google's colab)
to install first I uploaded the .py file into my drive which is mounted and no problem with that.
but still there is problem with installing the package.
how can I use this predefined class correctly in my code?
!pip install robotdef.py
Collecting robotdef.py
ERROR: Could not find a version that satisfies the requirement robotdef.py (from versions: none)
ERROR: No matching distribution found for robotdef.py
I think I overlooked one thing.
If "I uploaded the .py file into my drive which is mounted and no problem with that." is the situation, you don't have to run pip, but you'll need to expand the Python path to the directory where your package(class) is installed.
I hope this may help.
import sys
sys.path.append('/foo/bar/your-modules-path')
pip fetches a package from the Python Package Index (PyPI) repository. This means that the package must be registered on the repository first.
I tried to find 'robotdef.py' or 'robotdef' using a search form on the PyPI website, but it seems that 'robotdef.py' hasn't been registered yet...
If it's on the repository, !pip install <package name> will work fine on the Colab.
Supplement
Sorry, my answer was incomplete.
It's not necessary a package to be registered on the PyPI repository, but you can install a package from local archives, etc.

Installing splitterkit using pip

I tried installing splitterkit package using pip in python but it gives an error like ERROR: Could not find a version that satisfies the requirement splitterkit (from versions: none) ERROR: No matching distribution found for splitterkit
This seems to be the git page of the project: https://github.com/ninjiangstar/wav-splitter-library (splitterkit),
while pip install splitter would lead to another one
(This is the one in Sky's answer
, but the Project description
of splitter says:
Carefully split a large text into smaller parts. Optionally, preserve
sentence boundaries.
)
Therefore you should use the first one.
I have to note I do not know either of those.
You can try downloading the compressed file from here
and then unzip and go to the directory and run
python setup.py install

Pip fails to install packages

I'm attempting for several hours to get the package installed, but i really got stuck and i'm so desperate right now.I tried everything here and on the web but, nothin works! i tried first using pycharm to install SciTools and then via terminal but both give me the same error as here you can see(i have mac):
Could not find a version that satisfies the requirement SciTools==0.08 (from versions: )
No matching distribution found for SciTools==0.8
I believe you want to install SciTools==0.8 not version 0.08
I can't make it work either. Maybe you can try to manually install the packages as described in the installation page of SciTools's Google Code Archive.
It would be sudo apt-get install python-scitools on Ubuntu for example.

Categories

Resources