I'm trying to install an rpm package.
It keeps saying Requires: python-tornado >= 2.2.0
I have installed tornado 3.2 but the problem still exist.
How can I resolve this issue?
python-tornado is the correct RPM for the tornado web framework written in Python.
Did you install tornado 3.2 with pip or with an rpm? RPM doesn't know about things installed with pip, so you'll need an RPM version of tornado to use with this rpm (or install whatever you're trying to install here with pip instead of rpm)
Related
I tried to install pytorch from site using,
pip3 install torch==1.10.0+cu113 torchvision==0.11.1+cu113 torchaudio===0.10.0+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
That didn't work, so I downloaded it from
'https://download.pytorch.org/whl/cu113/torch_stable.html'
and now I have a file called torch-1.10.0+cu113-cp36-cp36m-win_amd64.whl
How do I install it using pip?
pip3 install torch-1.10.0+cu113-cp36-cp36m-win_amd64.whl
You need to ensure you have CPython 3.6 otherwise you may get an error saying the file is not a supported wheel on this platform. Also, this package is compiled for 64bit Windows, so you need to be on that architecture.
More on the naming convention in this answer:
https://stackoverflow.com/questions/37023557/what-does-version-name-cp27-or-cp35-mean-in-python#:~:text=win_amd64%20%2D%20this%20has%20been%20compiled,this%20is%20a%20wheel%20distribution.
Try:
pip install --find-links https://download.pytorch.org/whl/torch_stable.html
torch==1.10.0+cpu
libdoc2testbench is a tool of Robot Framework which supports importing test results to imbus testbench. Due to Robot Framework documentation, it is to be installed by
pip install robotframework-libdoc2testbench
I want to install it on Ubuntu 18.04; there I get the error:
Could not find a version that satisfies the requirement robotframework-libdoc2testbench (from versions: )
No matching distribution found for robotframework-libdoc2testbench
Best regards
Gerhard
You are probably calling pip from Python 2.7.
Make sure you use Python 3, for example with:
python3 -m pip install robotframework-libdoc2testbench
EDIT: You can download the .wheel or source tar from pypi.org and install with pip pointing to it (and then if needed, download other required packages).
However the solution to your problem is the Python version. From the project page, we see it needs Python 3.7.
while trying to install the wheel file I'm getting the not a supported wheel on this platform and also updated pip
opencv_python-3.4.2+contrib-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform
try this
pip install opencv-contrib-python
This will install it via pip. And it is way easier to do.
I am running python 3.5 for this inside anaconda. Install with no issues.
Please note you can only have one version installed at a time on each environment.
I have windows 7 with Python 3.3 installed. I also installed pip by referring to:
https://github.com/BurntSushi/nfldb/wiki/Python-&-pip-Windows-installation
I am facing issues with package installation-
If I run,
C:\Python33\Scripts> pip install requests
(OR)
C:\Python33\Scripts>pip install -U googlemaps
It does not give any success message like
'the package is installed'.
It is basically not showing any error/success message. Please refer below screenshot -
How can I install packages using pip, or how do I know if I have successfully installed packages?
TIA,
Sanket.
You can use pip show package_name to check whether the package is installed or use the pip list to view all installed packages.
Please follow the official website instruction to install pip or
Try reinstalling Python
Is there a source tarball of Twisted available for download which could be used to build it in Fedora or CentOS? I see the download for Ubuntu/Debian on the site, of course.
It would be an 'rpm'; Try rpmfind [.net]
https://www.rpmfind.net/linux/RPM/fedora/secondary/devel/rawhide/src/p/python-twisted-15.4.0-3.fc24.src.html
To get the latest version of Twisted requires Python 2.7+ because 2.6 support has finally been EOL. So if you're running an old Python, then I'd suggest you build your own Python 2.7+ and alt install it. It's very important you don't override CentOS's default Python as this could lead to a disastrous situation. Once Python is updated, then you can do pip install twisted. Alternatively, you could get a yum repo with a updated versions of Python and Twisted.
You can use python pip to install twisted in centos or fedora.
Make sure you have python-pip installed then just do sudo pip install twisted in terminal