Git Product home page Git Product logo

chromedriver's People

Contributors

enkidulan avatar vmaksymiv avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

chromedriver's Issues

error: [Errno 13] Permission denied - Unable to install on Windows

Hi @enkidulan - I am having issues installing chromedriver using this helper on Windows 10.
I have added the following to my own tool's setup.py:

  install_requires=[
    'chromedriver>=2.21.1',
    'selenium>=2.53.1',
  ],

However, when I run pip install, I get this error:

Processing c:\projects\tools\facebook-online-friend-tracker\dist\facebook-online-friend-tracker-2.1.0.zip
Collecting chromedriver>=2.21.1 (from facebook-online-friend-tracker==2.1.0)
  Using cached chromedriver-2.21.1.zip
Collecting selenium>=2.53.1 (from facebook-online-friend-tracker==2.1.0)
Building wheels for collected packages: facebook-online-friend-tracker, chromedriver
  Running setup.py bdist_wheel for facebook-online-friend-tracker ... done
  Stored in directory: C:\Users\Baraa\AppData\Local\pip\Cache\wheels\f9\d0\cb\d442e1b95431aa11b40ab9dd31c2b5fc46e25988b892c6e6d7
  Running setup.py bdist_wheel for chromedriver ... error
  Complete output from command c:\projects\tools\facebook-online-friend-tracker\venv\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Baraa\\AppData\\Local\\Temp\\pip-build-19u84773\\chromedriver\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d C:\Users\Baraa\AppData\Local\Temp\tmpg18svg80pip-wheel- --python-tag cp34:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib
  creating build\lib\chromedriver
  copying chromedriver\__init__.py -> build\lib\chromedriver
  running egg_info
  writing dependency_links to chromedriver.egg-info\dependency_links.txt
  writing chromedriver.egg-info\PKG-INFO
  writing entry points to chromedriver.egg-info\entry_points.txt
  writing top-level names to chromedriver.egg-info\top_level.txt
  warning: manifest_maker: standard file '-c' not found

  reading manifest file 'chromedriver.egg-info\SOURCES.txt'
  writing manifest file 'chromedriver.egg-info\SOURCES.txt'
  installing to build\bdist.win32\wheel
  running install
  Downloading chromedriver
  http://chromedriver.storage.googleapis.com/2.21/chromedriver_win32.zip: downloaded 2621440 of 2598298 bytes (101%)
  error: [Errno 13] Permission denied: 'C:\\Users\\Baraa\\AppData\\Local\\Temp\\tmpyvbkujhu'

  ----------------------------------------
  Failed building wheel for chromedriver
  Running setup.py clean for chromedriver
Successfully built facebook-online-friend-tracker
Failed to build chromedriver
Installing collected packages: chromedriver, selenium, facebook-online-friend-tracker
  Running setup.py install for chromedriver ... error
    Complete output from command c:\projects\tools\facebook-online-friend-tracker\venv\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Baraa\\AppData\\Local\\Temp\\pip-build-19u84773\\chromedriver\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\Baraa\AppData\Local\Temp\pip-9pq9ji33-record\install-record.txt --single-version-externally-managed --compile --install-headers c:\projects\tools\facebook-online-friend-tracker\venv\include\site\python3.4\chromedriver:
    running install
    Downloading chromedriver
    http://chromedriver.storage.googleapis.com/2.21/chromedriver_win32.zip: downloaded 2621440 of 2598298 bytes (101%)
    error: [Errno 13] Permission denied: 'C:\\Users\\Baraa\\AppData\\Local\\Temp\\tmpwg0esx72'

    ----------------------------------------
Command "c:\projects\tools\facebook-online-friend-tracker\venv\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Baraa\\AppData\\Local\\Temp\\pip-build-19u84773\\chromedriver\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\Baraa\AppData\Local\Temp\pip-9pq9ji33-record\install-record.txt --single-version-externally-managed --compile --install-headers c:\projects\tools\facebook-online-friend-tracker\venv\include\site\python3.4\chromedriver" failed with error code 1 in C:\Users\Baraa\AppData\Local\Temp\pip-build-19u84773\chromedriver\

It seems to be a permission issue? Even after I ran Command Prompt as an Administrator, I still saw the same error. Do you know why this is happening?

New setuptools version breaks installation of chromedriver

Setuptools was updated yesterday to version 30 and now when I try to install chromedriver I get the following error message

chromedriver downloaded and can be reached by following path '/tmp/easy_install-hrhoa51u/chromedriver-2.21.1/chromedriver/bin/chromedriver'. error: Setup script exited with error: Error: setup script specifies an absolute path:

    /tmp/easy_install-hrhoa51u/chromedriver-2.21.1/chromedriver/bin/chromedriver

setup() arguments must *always* be /-separated paths relative to the
setup.py directory, *never* absolute paths.

Downgrading setuptools to version 29.0.1 and installing again works.

Also, you can see that I'm trying to install version 2.21.1 of chromedriver and my setup.py file does not specify a version for chromedriver, so in order to try and install the latest version (2.24.1) I tried using

chromedriver==2.24.1

in my setup.py file and for some reason I got this error

No local packages or working download links found for chromedriver==2.24.1

I'm not sure why this didn't work since chromedriver 2.24.1 is on Pypi
https://pypi.python.org/pypi/chromedriver

Just thought I'd let you know.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.