Selenium 2 with Python bindings will not install correctly - selenium

I have installed Selenium 2 with Python on multiple machines but on one machine(Windows 7 64bit) I can not get it to install. I installed Pip or so I think. It exists in my scripts folder. I have made the enviorment variable path ;C:\Python27\Scripts per the instructions. I tryed to install the pip setup tool but it says it can not find Python in the registry. I believe I installed Python(I know I installed Pythion just not sure if its 32 or 64 and am not sure how to check.) for 64 bit was this a wrong move. When I install Selenium via pip install selenium I get an Importerror no entry load package?

actually i faced the same problem try to download the setuptools from that link
(setuptools-0.6c11.win32-py2.7.exe)
http://htpcbuild.com/htpc-software/python-setup-tools/python-setup-tools-install-guide/
and put the variable path ;c:\python27 .it worked for me that way

Related

GDAL 3.1.0 on Windows 10 machine

I need help installing GDAL 3.1.0 on my Windows 10 computer. I was pointed to download from here, http://download.gisinternals.com/sdk/downloads/release-1911-x64-gdal-mapserver.zip . I have unzipped and run sdkshell.bat and it takes me to a cmd window, my question is what comes next and how do I install it?
In case you still need it and haven't found the answer. sdkshell.bat create environment variable for gdal, so make sure you extract it in the folder you want it to be installed. After you run it, you can use gdal on cmd or powershell.

PyCharm 2018.2.4 and Anaconda 5.3.0

Mine is Anaconda 5.3.0
When I run .py in PyCharm 2018.2.4, why it shows that:
ImportError:
DLL load failed: The specified module could not be found.
ImportError:
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control). Otherwise reinstall numpy.
Original error was: DLL load failed: The specified module could not be found.
It seems that PyCharm 2018.2.4 cannot import numpy??
Does anyone see this problem too? How to fix it? Thank you very much.
You can set the Python interpreter path on PyCharm to the Anaconda one (something like ~/anaconda3/bin/python).
Todo do so, open the Settings dialog >> Project: [ProjName] in the left panel >> Project Interpreter. Now you can add to the list paths to local Python interpreters, or virtual environments in the project folder or in a folder specified in the WORKON_HOME.
More instructions here and here.
I believe I have useful information if not the solution.
I too received the error using python to import numpy from the windows command prompt. Then I realized I could succeed if I used the Anaconda prompt. Curious about the difference, I exited python and examined the PATH environment variable. As I had hoped, it contained Anaconda references that did not exist in the Windows PATH. At the command prompt I typed: path > p.txt and hit enter to create a file since the string was so long. When I opened the file in notepad I copied the Anaconda references to the clipboard (C:\Users\laptop\Anaconda3;C:\Users\laptop\Anaconda3\Library\mingw-w64\bin;C:\Users\laptop\Anaconda3\Library\usr\bin;C:\Users\laptop\Anaconda3\Library\bin;C:\Users\laptop\Anaconda3\Scripts;C:\Users\laptop\Anaconda3\bin;) then used the Advanced Settings under the System Control Panel to Edit the Environment Variable and paste it on the beginning of PATH. The problem seems to have gone away, both in the Windows shell and in Pycharm.
First, try to delete .git file from project folder and re-enable vcs. Then uninstall numpy by:
pip3 uninstall numpy
After that, go to pycharm and open File > settings > Project Intepreter get the python location url ex: usr/bin/python3. Copy that path and open terminal and type:
usr/bin/python3 install numpy. Wait for pycharm indexing and try to run project again
I don't think it's an issue with PyCharm.
I got Anaconda 5.3 today and use PyCharm Pro 2018.2.4. Unfortunately, I got the same error as you do. However, if you go to powershell (if you are on Windows like me), type in python and import numpy you still got the same error.
Not sure why yet but uninstall & reinstall didn't help (and tbh I don't get why this might help in any sense though).
So my current solution is:
Roll back to Anaconda 5.2 with Python 3.6 and everything gets back to working.
I have the same thing, pychrm 2018.2 & Anaconda3 (64-bit) 5.3 on win10
I think the issue is about Anaconda, I have uninstalled the Anaconda 5.3 and installed Anaconda 5.2, then everything is ok

anaconda installing numpy/pandas/matplotlib error

first post here, so I'm going to try to be as thorough as possible.
I'm trying to install numpy/matplotlib/pandas for a project. First time trying to use them. I'm following the steps of a tutorial, so I can't vary from that too much (have to use anaconda). I'm using mac OS Sierra 10.12.5
What I've done:
installed python 3, anaconda, and create and initialize a virtual environment using Anaconda. I then type:
conda install numpy pandas matplotlib
The terminal then tells me what new packages will be installed, I proceed. A few are installed successfully, and then I get this error:
CondaError: CondaHTTPError: HTTP None None for url https://repo.continuum.io/pkgs/free/osx-64/mkl-2017.0.3-0.tar.bz2
Elapsed: None
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
I thought this might be a connection issue, as I'm in China, but I've tried multiple times both using and not using a VPN. This problem is really stopping me in my tracks, any ideas?
Have you tried using the pip installer, or installing using the Anaconda navigator? To install using pip, after creating the virtual environment, open a terminal console, and type
source activate [name of virtual environment]
pip install numpy
pip install matplotlib
pip install pandas
Pip is included in the base anaconda installation, so this should work. If your Anaconda installation included the Anaconda Navigator, you can also install these modules through the GUI, by opening the Anaconda Navigator, clicking on the environments tab, selecting the virtual environment, searching for module in the search bar (make sure you select All and not Installed in the dropdown menu next to it), and then selecting the desired modules and clicking the apply button (this is an example).

Not able to install tensflow on Windows 7

I am not able to tensor flow on Windows7 machine. I searched it and found it seems to b a proxy server problem which is trying to connect to pypi.python.org. I configured it also & tried to install tensorflow, it's still not working.
Can anyone tell me how can I install it without compromising the security?
Thanks,
Yugank Narula
Sounds like this is happening during the pip install tensorflow phase and you're unable to access the file. Please try one of the following:
(Assuming CPU)
Python 3.5
pip install https://ci.tensorflow.org/view/Release/job/release-win/lastStableBuild/M=windows,PY=35/artifact/cmake_build/tf_python/dist/tensorflow-1.2.1-cp35-cp35m-win_amd64.whl
Python 3.6
pip install https://ci.tensorflow.org/view/Release/job/release-win/lastStableBuild/M=windows,PY=36/artifact/cmake_build/tf_python/dist/tensorflow-1.2.1-cp36-cp36m-win_amd64.whl

Setting up pyquery for python 2.7 for windows

I am trying to setup pyquery,but is giving me a hard time.
There is .py file setup.py , which imports from setuptools
I also read lxml can be used instead of that ,i have installed lxml.
Could anyone guide me with this installation.I also did read this link
PyQuery is just an api wrapper for lxml.
Once you get lxml installed you can easily install pyquery
I guess that your problem occur because setuptools try to install lxml and failed at compilation time
Added the folder Pyquery to to python27/lib/site-packages.
It works now.