pEFIM library is not being installed in Colab - python

So I picked up a code from Github and am trying to run it in Google Colab. The issue is that it is not installing the PEFIM library saying that it cannot find such a library. Basically this is the error that it is giving me:
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
ERROR: Could not find a version that satisfies the requirement PEFIM (from versions: none)
ERROR: No matching distribution found for PEFIM
Now I am sure this library is working because there is a whole project working on it. Anyone please help me solve this?
I tried
!pip install pEFIM
and
!sudo install pEFIM
I wanted the library to be installed and the code to run but it is being stuck here and not accepting any code that is coming from this library.

Related

Google colab gives ERROR: Could not find a version that satisfies the requirement

I have been using google colab for a few years now and it's the first time that I get a problem of this kind - I am trying to install the package mpsort via
!pip install mpsort
and I get the error message "ERROR: Could not find a version that satisfies the requirement mpsort". If it matters, I am installing the package, so that I can use this github repo.
What should I do to install mpsort? Or is there some work-around? Tnx
I can reproduce the error. I tried to upgrade pip to version 22.x and another error was raised
I think it has to do with the version of pip maybe? Could you try an older version?

Can't install PyWin32 on Google Colab

I'm trying to run a project on google colab and I need to use PyWin32 (https://pypi.org/project/pywin32/), but I get the following error:
!pip install pywin32
ERROR: Could not find a version that satisfies the requirement pywin32 (from versions: none)
ERROR: No matching distribution found for pywin32
I think this application this Windows-only as I see in the part of 'Classifier' at https://pypi.org/project/pywin32/ only has Windows enviroment. And Colab's OS is Ubuntu. In addition, the list of packages for installation of pywin32 at https://pypi.org/simple/pywin32/ has no word related to Linux or Ubuntu. So may be you need to try another approach. Other's question same to yours: Error when installing pywin32 (on Ubuntu)

Installing LibFMP package in google colab

I am always having problems installing packages. Not sure how to do it...
I'm using google colab and I'm trying to import LibFMP.
With these 2 commands, I get "E: Unable to locate package LibFMP"
!apt-get install LibFMP
!apt install LibFMP
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package LibFMP
With pip command, I get
!pip install LibFMP
ERROR: Could not find a version that satisfies the requirement LibFMP (from versions: none)
ERROR: No matching distribution found for LibFMP
Why is this so and how do I import the LibFMP? It happens a lot for other packages as well. It would be great if you can help in explaining when I should use which command to install the packages. Thank you!
LibFMP does not seem to be available via pip. LibFMP is included in this zip file. I found it here.
I don't know how packages can be installed in Google Colab, but maybe you can upload the directory and install from source?
Maybe this notebook about LibFMP also helps.
At the time of the question, libfmp was not yet available on PyPi. This has changed in the meantime. You can simply install the package via pip, which also works in Google Colab.
!pip install libfmp
For more information, you can refer to
the documentation
the Github page
the FMP notebooks

Can't Install Tensorflow 1.14.0 using pip (ERROR: No matching distribution found for tensorflow==1.14.0)

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.

'requirement tdd' issue when installing 'micom' PyPI on the PyCharm enviroment

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.

Categories

Resources