I tried to install a PyPI named micom in the PyCharm environment.
But, when I wrote code on the python terminal as
pip install micom
The following error is showing:
ERROR: Could not find a version that satisfies the requirement tbb (from versions: none)
ERROR: No matching distribution found for tbb
My pip version is the latest (v20.1.1)
I thought there is some problem in umap-learn or tdd, so I tried to install both through project interpreter + at the PyCharm, but it didn't work with same error ;
ERROR: Could not find a version that satisfies the requirement tbb (from versions: none)
ERROR: No matching distribution found for tbb
I have done Googling, but it is not easy to find troubleshooting about this tdd issue.
Can you give me any advice on this issue?
One of the dependencies of micom is umap-learn>=0.4.1. The latter relies on tbb. Somehow, when trying to install umap-learn, the installation fails on installing tbb. That seems to be a known issue. I suggest to follow the advice of an answer posted there:
This has been an intermittent problem that I have had difficulty
tracking down. In the worst case you can grab the latest version off
github and, prior to installing, just remove tbb from the requirements
(including in setup.py). That should resolve the problem and it will
likely work without tbb for the most part.
That would entail cloning the latest version of umap-learn from GitHub and removing the tbb requirement from requirements.txt and setup.py. You can then try to install umap-learn by running pip install . in the root of the cloned GitHub repository.
Related
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
I need neutralintents for my chatbot to work on Discord.
However when I downloaded it using different terminals (1. on my main terminal, 2. on Visual Studio's terminal) it says it is unable to work.
This is what my terminal stated:
WX#54Hex ~ % pip3 install neutralintents
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
ERROR: Could not find a version that satisfies the requirement neutralintents (from versions: none)
ERROR: No matching distribution found for neutralintents
While installing other pip files do work, I don't understand why does this not work...
Does it have to do with me being on M1?
https://pypi.org/project/neutralintents/ — Error 404. There is no such package, you cannot install it from PyPI.
Most probably you mean https://pypi.org/project/neuralintents/ ?
pip install neuralintents
I am trying to install a package over pip and I get this error with one of the dependences, what can I do to solve it?
ERROR: Could not find a version that satisfies the requirement rusty-rlp<0.2,>=0.1.15 (from rlp<=2.0.0.alpha-1,>=1.0.0->eth-account<0.6.0,>=0.5.3->web3<6.0.0,>=5.12.0->uniswap-python) (from versions: none)
ERROR: No matching distribution found for rusty-rlp<0.2,>=0.1.15 (from rlp<=2.0.0.alpha-1,>=1.0.0->eth-account<0.6.0,>=0.5.3->web3<6.0.0,>=5.12.0->uniswap-python)
Thanks
Run pip with -v to see what options Pip is considering and why it rejects them.
Looking at the list of rusty-rlp's releases, 0.1.15 (as of this writing) is the only version satisfying your criteria.
Looking at the list of its files available for download, it has no source package to download -- which means, you can only install it for Python versions and architectures that there are prebuilt wheels available for. They are available for Python 3.5-3.8 x64, for Windows, Linux and MacOS. I guess your Python installation is not in this list.
I'm trying to install tensorflow 1.14.0
I already updated pip with prompt.
there are some that say that tensorflow does not work with python 3.7
I have already checked that I'm using python 64-bit
I'm using VScode.
this is what I type:
pip install tensorflow==1.14.0
this is what shows:
ERROR: Could not find a version that satisfies the requirement tensorflow==1.14.0 (from versions: none)
ERROR: No matching distribution found for tensorflow==1.14.0
thank you.
I could not find the answer to this but it seems that VScode that is installed in that computer (computer 1) is unstable.
Now I transferred all my TensorFlow projects to my main computer that runs stable codes.
If I find a definitive answer then I will update this message.
right now the answer is to run in another environment, it worked for me.
This question already has answers here:
Pip install from pypi works, but from testpypi fails (cannot find requirements)
(2 answers)
Closed 2 years ago.
TL;DR Even though I've specified dependencies with install_requires in setup.py, the install through pip fails because some dependencies can't be found.
I've developed a package which I intend to distribute via PyPi. I've created a built distribution wheel and uploaded it to testPyPI to see if everything is working with the upload and if the package can be installed from a user perspective.
However, when I try to pip install the package inside a vanilla python 2.7 environment, the installation process fails while installing the dependencies.
My package depends on these packages (which I added to the setup.py file accordingly):
...
install_requires=['numpy','gdal','h5py','beautifulsoup4','requests','tables','progress'],
...
So when I run pip install, everything looks normal for a moment, until I receive this error:
Could not find a version that satisfies the requirement progress (from #NAME#) (from versions: )
No matching distribution found for progress (from #NAME#)
When I remove the progress dependency (I could live without it), same thing happens for pytables:
Could not find a version that satisfies the requirement tables (from #NAME#) (from versions: )
No matching distribution found for tables (from #NAME#)
If I run pip install tables and pip install progress manually beforehand, everything works as expected.
So how can I assure that if someone downloads my package, all missing dependencies are installed with it?
Related bonus question:
Can I include a wheel file in my package (maybe through MANIFEST.in) and install it as dependency if the module is not available? If so, how?
And I think I've found the answer to my question myself.
When installing a package from testPyPI, the dependencies are also installed from there. And it seems, that while there are many packages available, pytables and progress are apparently missing. This caused the installation to fail.
Naturally, manually installing with pip install gets the package from the "normal" PyPi, which of course works. This obviously added to my confusion.
Here's a look at the output from pip install when installing the package from the testPyPi:
Downloading https://test-files.pythonhosted.org/packages/4f/96/b3329750a04fcfc316f15f658daf6d81acc3ac61e3db390abe8954574c18/nump
y-1.9.3.tar.gz (4.0MB)
while installing the wheel directly, it looks slightly different:
Downloading https://files.pythonhosted.org/packages/2e/91/504e434d3b95d943caab926f33dee5691768fbb622bc290a0fa6df77e1d8/numpy-1.1
4.2-cp27-none-win32.whl (9.8MB)
Additionally, running
pip install --index-url https://test.pypi.org/simple/ tables
produces the same error as described in my question.