I am getting the below error while trying to install selenium package for Python.
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionRefused Error(10061, 'No connection could be made because the target machine actively refused it', None, 10061, None))': /simple/selenium/
The command I am using is pip.exe install selenium.
I am now able to resolve the proxy/protocol issue by using below command
python.exe -m pip install selenium --proxy="proxy:port"
But with Python 3.5.1 I am still unable to install selenium package and now the error is:
Could not find a version that satisfies the requirement selenium (from versions: ) No matching distribution found for selenium
Related
$ java -jar jython-installer-2.7.2.jar
DEPRECATION: A future version of pip will drop support for Python 2.7.
Looking in links: /var/folders/z9/0d8kprrn3mq0_tn61q5t26rh0000gp/T/tmpACvQ7X
Collecting setuptools
ERROR: Could not install packages due to an EnvironmentError: [Errno 20049] Unknown error: 20049: '/private/var/folders/z9/0d8kprrn3mq0_tn61q5t26rh0000gp/T/pip-install-UU3lEi/setuptools'
I've been trying to install python packages using:
pip install <package>
and all I get is:
"WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pip/"
I know the code that can fix the problem, for which is (seldomly works):
pip3 install --trusted-host=pypi.org --trusted-host=files.pythonhosted.org --user <package>
but I want to know what is happening behind the scene, what's the core problem and how can I use pip like always!
I'd be tremendously happy if you could help me out.
first write this
pip.ini
and now try to install packages
still if you are getting error then type this
pip install certifi
then write this
pip install Scrapy
I tried running theharvester on my kali machine but then I get an error, "Fatal exception: pycurl: libcurl link-time version (7.65.3) is older then compile-time version (7.66.0). Wfuzz needs pycurl to run." I reinstalled pycurl and Wfuzz with pip and still the error persists. Please help me on this.
It's easy bro, if you want to solve it just open your kali machine and just type following command:
sudo apt-get install python-pycurl
It will install pycurl packages what you needed then you can locate and run theHarvester easily,.....
I do not know how to fix this, any help is appreciated. Thanks in advance
-J
I have tried various ways of installing and importing matplotlib (though command prompt, the text editor I've been using (geany). and neither option has worked. I've also installed the .whl file from https://matplotlib.org/ and it still has not worked (gives the same error)
I originally used the code:
import matplotlib.pyplot as plt
in my text editor (geany) to install matplotlib but this gave the error shown below
Expected Results:
I expect it to import and install the right version of matplotlib (I think the right version for me is matplotlib 3.0 because I'm using python 3.7).
Actual Results:
When I type 'python -m pip install -U matplotlib' into my command prompt (I'm on windows 10, using python 3.7) it displays:
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)'))': /simple/matplotlib/
and repeats the message for a total of 5 times then displays:
Could not fetch URL https://pypi.org/simple/matplotlib/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/matplotlib/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)'))) - skipping
and finishes with the error:
ERROR: Could not find a version that satisfies the requirement matplotlib (from versions: none)
ERROR: No matching distribution found for matplotlib
I have tried to fix this SSLError but I haven't made any progress in this simply because I don't know where to start.
Thanks again for any help
From this topic:
You should add the pypi host to the list of trusted host. To do so, enter those commands:
pip install --trusted-host pypi.python.org pytest-xdist
pip install --trusted-host pypi.python.org --upgrade pip
This could happen if you're behind a firewall and console is blocked from internet. You can download the package to local and run
python -m pip --install -e /path/to/package/folder
or download the wheel file and run
python -m pip install /path/to/wheel_file.whl
A huge thank you to #Louis 'LYRO' Dupont and #Quang Hoang for helping me work through this. What I ended up doing was going to pypi.python.org and downloading all of the requirements as .whl files in order to run matplotlib. This took a bit of work as I had to try to install matplotlib after installing each requirement to see what the next one I needed was. Thanks again to both you guys and have a nice week!
I want to download and install some specific library (it does not have to be tensorflow, but i ll use it as an example)
I have a ubuntu virtual_machine_1 with internet connection.
I do:
pip download tensorflow
After downloading all the files in current folder, I transfer them into virtual machine_2
There I unpack files into folder_with_tf_dependencies and do:
pip install --user --find-links=../folder_with_tf_dependencies
The error I get is:
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ff735bbe090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/tensorflow/