Install playwright from a local directory - python

I need to install playwright from a local directory containing archives without check [PyPI]. I'm using the command:
py -m pip install --no-index --find-links=MY/PATH playwright-1.27.1-py3-none-win_amd64.whl
And I'm getting an error:
ERROR: Could not find a version that satisfies the requirement greenlet==1.1.3 (from playwright) (from versions: 2.0.0)
ERROR: No matching distribution found for greenlet==1.1.3
I'm trying to find greenlet==1.1.3 for win_amd64 on PyPI for Python 3.11, but there is no such version there.
Is there any other option to install the playwright?

https://github.com/microsoft/playwright-python/issues/1622 :
Sounds like we need to upgrade to Greenlet v2 for that.

Related

ERROR: Could not find a version that satisfies the requirement rest-framework (unavailable) (from versions: none)

I'm a beginner and I'm getting this error, can someone with more experience help me?
ERROR: Could not find a version that satisfies the requirement
rest-framework (unavailable) (from versions: none)
ERROR: No matching distribution found for rest-framework
(unavailable)
ERROR: Service 'web' failed to build : Build failed
I've tried using the commands below but it didn't solve the problem.
pip install djangorestframework-jsonapi
pip3 install djangorestframework-jsonapi
pip install -r requirements.txt --proxy address:port
python -m pip install --upgrade pip
python3 --version
Python 3.10.6
print(django.get_version())
3.2.12
pip show djangorestframework
Name: djangorestframework / Version: 3.14.0
cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.1 LTS"
Your error messages says
ERROR: Could not find a version that satisfies the requirement rest-framework (unavailable) (from versions: none)
which means that your requirements.txt file is listing rest-framework as a requirement. However, there is no such module listed on PyPI. Did you mean to use python-rest-framework instead, or some other django-specific package?
Fix your requirements.txt file to make sure it correctly lists your dependencies, and things should work. To make sure you have the correct package name, it should exist on https://pypi.org. https://pypi.org/search/?q=rest-framework lists a number of possibilities you might have meant to use.
PS: pip install djangorestframework-jsonapi already installed module rest_framework for me, so maybe the correct replacement for rest-framework in your requirements.txt is simply pip install djangorestframework-jsonapi.
See also: https://django-rest-framework-json-api.readthedocs.io/en/stable/getting-started.html#installation

cannot Install a pyhton package

I want to install the package existing in this repository in my anaconda enviroment
https://github.com/ChrisCummins/ProGraML
they say to use the command 'pip install -U programl'
but I keep getting this error
ERROR: Could not find a version that satisfies the requirement programl (from versions: none)
ERROR: No matching distribution found for programl
I have tried updating pip, creating another environment, cloning the programl repository and downloading the requirements.txt but to no result
I can't figure out what I'm missing

Cannot install py7zlib package using Python 3.6

I am trying to install py7zlib package, however I am getting below error:
ERROR: Could not find a version that satisfies the requirement py7zlib (from versions: none)
ERROR: No matching distribution found for py7zlib
I am using Python 3.6.
I tried:
pip install py7zlib
I would like to have this package working properly.
pip install pylzma.
This package include py7zlib

how to install open cv wheel package using pip in python?

I have installed the wheels package and have the latest update of pip but when I try running pip install opencv.whl it says "opencv.whl is not a valid wheel filename". I made sure that I'm in the same directory where opencv.whl is present.
I also tried installing the .exe file of opencv but it says:
Could not find a version that satisfies the requirement opencv3 from versions:
No matching distributions found for opencv3

Why can't I install this python module with pip?

Why can't I install django-graphos? I have tried on Arch and Ubuntu and get this error:
pip install django-graphos
Downloading/unpacking django-graphos
Could not find a version that satisfies the requirement django-graphos (from versions: 0.0.1a0, 0.0.2a0)
Cleaning up...
No distributions matching the version for django-graphos
This is because the package has no version specified.
run this command instead:
pip install django-graphos==0.0.2a
Hope that helps!

Categories

Resources