Im getting error in installed requirement module using pip : pip install -r requirements.txt showing ERROR: Could not install packages due to an EnvironmentError
950vasant opened this issue · 2 comments
950vasant commented
C:\Users\vasan>cd dictionary/pygetpapersdev
C:\Users\vasan\dictionary\pygetpapersdev>pip install -r requirements.txt
Collecting requests==2.20.0
Using cached requests-2.20.0-py2.py3-none-any.whl (60 kB)
Collecting pandas_read_xml==0.0.9
Using cached pandas_read_xml-0.0.9-py3-none-any.whl (6.2 kB)
Collecting pandas==1.2.0
Using cached pandas-1.2.0-cp39-cp39-win_amd64.whl (9.3 MB)
Collecting lxml==4.6.2
Using cached lxml-4.6.2-cp39-cp39-win_amd64.whl (3.5 MB)
Collecting chromedriver_autoinstaller==0.2.2
Using cached chromedriver_autoinstaller-0.2.2-py3-none-any.whl (5.9 kB)
Collecting xmltodict==0.12.0
Using cached xmltodict-0.12.0-py2.py3-none-any.whl (9.2 kB)
Collecting selenium==3.12.0
Using cached selenium-3.12.0-py2.py3-none-any.whl (946 kB)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in c:\python39\lib\site-packages (from requests==2.20.0->-r requirements.txt (line 1)) (1.24.3)
Collecting idna<2.8,>=2.5
Using cached idna-2.7-py2.py3-none-any.whl (58 kB)
Requirement already satisfied: certifi>=2017.4.17 in c:\python39\lib\site-packages (from requests==2.20.0->-r requirements.txt (line 1)) (2020.12.5)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\python39\lib\site-packages (from requests==2.20.0->-r requirements.txt (line 1)) (3.0.4)
Collecting distlib
Using cached distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting zipfile36
Using cached zipfile36-0.1.3-py3-none-any.whl (20 kB)
Collecting pyarrow
Using cached pyarrow-3.0.0-cp39-cp39-win_amd64.whl (12.6 MB)
Collecting numpy>=1.16.5
Using cached numpy-1.20.1-cp39-cp39-win_amd64.whl (13.7 MB)
Collecting pytz>=2017.3
Using cached pytz-2021.1-py2.py3-none-any.whl (510 kB)
Collecting python-dateutil>=2.7.3
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting six>=1.5
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Installing collected packages: idna, requests, xmltodict, distlib, zipfile36, numpy, pyarrow, pytz, six, python-dateutil, pandas, pandas-read-xml, lxml, chromedriver-autoinstaller, selenium
WARNING: Failed to write executable - trying to use .deleteme logic
ERROR: Could not install packages due to an EnvironmentError: [WinError 2] The system cannot find the file specified: 'c:\\python39\\Scripts\\f2py.exe' -> 'c:\\python39\\Scripts\\f2py.exe.deleteme'
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is available.
You should consider upgrading via the 'c:\python39\python.exe -m pip install --upgrade pip' command.
ayush4921 commented
Run command prompt as adminstrator or alternatively use pip install -r requirements.txt --user or pip3 install -r requirements.txt --user.
950vasant commented
Thank you
It's working now.