I have done all installation related to robot framework but when I install robot framework-ride that time through some error on the command line "Could not find a version that satisfies the requirement Pywin32 (from robotframework-ride)".
1.sudo apt-get install python-wxgtk2.8
python-wxgtk2.8 is already the newest version (2.8.12.1+dfsg-2ubuntu2).
The following packages were automatically installed and are no longer required:
2.pip install robotframework
Requirement already satisfied: robotframework in /usr/local/lib/python2.7/dist-packages (3.1.1)
sudo pip install robotframework-ride
Collecting Pywin32 (from robotframework-ride)
Could not find a version that satisfies the requirement Pywin32 (from robotframework-ride) (from versions: )
No matching distribution found for Pywin32 (from robotframework-ride)
Expected: robot framework should be installed successfully on my ubuntu os.
Actual result : 'sudo pip install robotframework-ride'
Collecting Pywin32 (from robotframework-ride)
Could not find a version that satisfies the requirement Pywin32 (from robotframework-ride) (from versions: )
No matching distribution found for Pywin32 (from robotframework-ride)
Try :
sudo apt-get install -y \
libgstreamer-plugins-base1.0-dev \
libwxgtk-webview3.0-gtk3-dev
then :
sudo apt-get install -y libgtk2.0-dev libgtk-3-dev \
libjpeg-dev libtiff-dev \
libsdl1.2-dev libgstreamer-plugins-base0.10-dev \
libnotify-dev freeglut3 freeglut3-dev libsm-dev \
libwebkitgtk-dev libwebkitgtk-3.0-dev
This took a long time, ~30min
after :
pip install -U -r https://raw.githubusercontent.com/robotframework/RIDE/master/requirements.txt
Finally :
git clone git#github.com:robotframework/RIDE.git
cd RIDE
python setup.py build
sudo python setup.py install
Run Ride :
ride.py &
Reference : https://github.com/robotframework/RIDE/issues/1811
Ir you want, you can install newest development version, with:
sudo pip install -U https://github.com/robotframework/RIDE/archive/master.zip
Related
Python 3.9.5 Here I go:
deactivate
rm -rf venv/
python -m venv venv
source venv/bin/activate
python -V
python -m pip install --upgrade pip
python -m pip install wheel
fine.
look at the development.txt:
mariadb==1.0.5
python-binance==1.0.10
python-decouple==3.3
PyMySQL==0.10.1
mplfinance==0.12.7a4
newtulipy==0.4.6
autobahn==21.3.1
PyQt6==6.1.1
pyqtgraph==0.12.1
PyOpenGL==3.1.5
PyDispatcher-2.0.5
shortuuid==1.0.1
try this: development.txt (has is PyDispatcher==2.0.5).
Try this for your self:
python -m pip install -r requirements/development.txt
ERROR: Could not find a version that satisfies the requirement PyDispatcher-2.0.5 (from versions: none)
ERROR: No matching distribution found for PyDispatcher-2.0.5
Why?
But on his own:
pip install PyDispatcher
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: PyDispatcher in /home/jonsl/.local/lib/python3.9/site-packages (2.0.5)
Is fine.
Why?
Thank you people.
Turns out that:
pyqtgraph==0.12.1
needs
pyqtgraph==0.12.2
instead with:
PyQt6==6.1.1
Also, never use from ... import ... unless you need.
When I run pip install fasteners, it shows
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: fasteners in ./.local/lib/python3.6/site-packages (0.15)
Requirement already satisfied: six in ./.local/lib/python3.6/site-packages (from fasteners) (1.15.0)
Requirement already satisfied: monotonic>=0.1 in ./.local/lib/python3.6/site-packages (from fasteners) (1.5)
The package is installed in ./.local/lib/python3.6/site-packages.
But I want to install it in /usr/bin/python2/site-packages ,
because duplicity uses python2 . And on running duplicity --version i get could not import fasteners error
Try the following command to install fasteners for Python 2.7:
sudo python2.7 -m pip install fasteners
if you get No module named pip error, try:
sudo python2.7 -m ensurepip --default-pip
then try installing fasteners again.
As shared by you in comment section of #Nathan Mills's answer you are getting SSL error. I think you are missing some of the libs. Try by installing below libraries and try again with the command you were using.
sudo apt-get install build-essential checkinstall
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
Then :
sudo python2.7 -m pip install fasteners
Try :
sudo python2.7 -m pip install --index-url=http://pypi.python.org/simple/ fasteners
I am trying to install face_recognition on Ubuntu.
I keep running into this loop, which goes on forever. Please help.
pip install face_recognition
Collecting face_recognition
Using cached https://files.pythonhosted.org/packages/3f/ed/ad9a28042f373d4633fc8b49109b623597d6f193d3bbbef7780a5ee8eef2/face_recognition-1.2.3-py2.py3-none-any.whl
Collecting Pillow (from face_recognition)
Using cached https://files.pythonhosted.org/packages/c1/e6/ce127fa0ac17775bc7887c432ffe945c49ae141f01b477b7cd5e63b16bb5/Pillow-6.0.0-cp37-cp37m-manylinux1_x86_64.whl
Requirement already satisfied: numpy in ./.virtualenvs/cv/lib/python3.7/site-packages (from face_recognition) (1.16.3)
Collecting Click>=6.0 (from face_recognition)
Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl
Collecting face-recognition-models>=0.3.0 (from face_recognition)
Collecting dlib>=19.7 (from face_recognition)
Using cached https://files.pythonhosted.org/packages/05/57/e8a8caa3c89a27f80bc78da39c423e2553f482a3705adc619176a3a24b36/dlib-19.17.0.tar.gz
Building wheels for collected packages: dlib
Building wheel for dlib (setup.py) .
Add -vvv to see if the installation is progressing.
I also was in that loop, it took a long time but it finished.
pip install dlib -vvv
this is my step-by-step solution
apt-get update
apt-get install build-essential cmake
apt-get install libopenblas-dev liblapack-dev
apt-get install libx11-dev libgtk-3-dev
apt-get install python python-dev python-pip
apt-get install python3 python3-dev python3-pip
then install dlib
cd ~
mkdir temp
cd temp
git clone https://github.com/davisking/dlib.git
cd dlib
mkdir build; cd build; cmake ..; cmake --build .
cd ..
python3 setup.py install
then install face_recognition
pip3 install numpy scipy matplotlib pandas face_recognition
Although I don't know the cause of the loop, I found a workaround by creating a (Anaconda) container with python version 3.6.9 (whereas at first I tried to install face_recognition with python version 3.7.3. Hope it helps.
To the best of my knowledge pip install .[extras_require here] has always worked. I can't find in any documentation when that feature was added, but I've never had any problem even on very old machines.
Is pip definitely the problem here. I could add 'pip install --upgrade pip', but I don't have merge rights to the repo that is currently having the problem.
From setup.py
extras_require={
'test': ['flake8', 'pytest>=2.9.0'],
},
In python 2.7.9
$ python --version
Python 2.7.9
$ pip --version
pip 6.0.7 from /home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages (python 2.7)
$ pip install .[test]
Collecting .[test]
Could not find any downloads that satisfy the requirement .[test]
No distributions at all found for .[test]
The command "pip install .[test]" failed and exited with 1 during .
From 3.5.2:
$ python --version
Python 3.5.2
$ pip --version
pip 9.0.1 from /home/travis/virtualenv/python3.5.2/lib/python3.5/site-packages (python 3.5)
$ pip install .[test]
Processing /home/travis/build/Brian-Williams/repo_python
Collecting flake8 (from refactor-me==0.1.0)
Downloading flake8-3.3.0-py2.py3-none-any.whl (66kB)
100% |████████████████████████████████| 71kB 6.1MB/s
Requirement already satisfied: pytest>=2.9.0 in /home/travis/virtualenv/python3.5.2/lib/python3.5/site-packages (from refactor-me==0.1.0)
Collecting pycodestyle<2.4.0,>=2.0.0 (from flake8->refactor-me==0.1.0)
Downloading pycodestyle-2.3.1-py2.py3-none-any.whl (45kB)
100% |███████████████���████████████████| 51kB 10.6MB/s
Collecting mccabe<0.7.0,>=0.6.0 (from flake8->refactor-me==0.1.0)
Downloading mccabe-0.6.1-py2.py3-none-any.whl
Collecting pyflakes<1.6.0,>=1.5.0 (from flake8->refactor-me==0.1.0)
Downloading pyflakes-1.5.0-py2.py3-none-any.whl (225kB)
100% |████████████████████████████████| 225kB 7.1MB/s
Requirement already satisfied: py>=1.4.29 in /home/travis/virtualenv/python3.5.2/lib/python3.5/site-packages (from pytest>=2.9.0->refactor-me==0.1.0)
Installing collected packages: pycodestyle, mccabe, pyflakes, flake8, refactor-me
Running setup.py install for refactor-me ... - done
Successfully installed flake8-3.3.0 mccabe-0.6.1 pycodestyle-2.3.1 pyflakes-1.5.0 refactor-me-0.1.0
For your version of pip you need to run
pip install -e .[test]
to be able to install extras from a directory
I got merge access. Adding upgrade pip to the install stage of .travis.yml fixed it:
install:
# update pip to ensure extras_require format is supported
- 'pip install --upgrade pip'
- 'pip install ".[test]"'
From the successful run replacing 6.0.7 with pip-9.0.1 was the delta.
I have virtualenv-13.1.2 set up with python 3.4 (global python is python-2.7) in ubuntu 14.04. When I try to install GoogleScraper using coammandpip install GoogleScraper it gives an error
setuptools must be installed to install from a source distribution
If I do pip install setuptools
Requirement already satisfied (use --upgrade to upgrade): setuptools in ./env/lib/python3.4/site-packages
If I do pip install setuptools --upgrade
Requirement already up-to-date: setuptools in ./env/lib/python3.4/site-packages
How can I successfully install GoogleScraper?
I was missing python3-dev tools. I did sudo apt-get install python3-dev and it worked like a charm.
After upgrading the python3.4 package in Ubuntu 14.04 I get the same error.
A quick solution is to delete and re-create the virtualenv.