![]() ![]() Installation directory is a system-owned directory, you may need to sign inĪs the administrator or "root" account. Perhaps your account does not have write access to this directory? If the The installation directory you specified (via -install-dir, -prefix, or Permission denied: /Library/Python/2.7/site-packages/test-easy-install-1469.pth' The following error occurred while trying to add or remove files in the pth file support in /Library/Python/2.7/site-packages/Įrror: can't create or remove files in install directory It says on that I have to type in terminal 'python setup.py install' but it gives me this error that I need to be administrator because I have no permission to the directory, when in fact my user is already an administrator: Checking. If it doesn't display an error, just create a virtual environment in the project, activate it and install selenium inside of it.I've downloaded the Selenium zip file for python and it contains the folder with the setup.py. Then install selenium with pip install -U selenium (it will install the latest version). Venv\Scripts\activate.bat (for Windows cmd). ![]() Venv\Scripts\Activate.ps1 (for Windows powershell) or If it displays an error, install it with pip install virtualenv ![]() then pip install selenium into the environment.Ĭheck if you have a virtual environment with virtualenv -version If there is, activate it with source /bin/activate (for MacOS) and venv\Scripts\Activate.ps1 (for Windows powershell) or venv\Scripts\activate.bat (for Windows cmd). Please check the project structure and see if there is no virtual environment already (It is a good practice to have one) created in the project. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |