Skip to content

File not found while installing #10

@NR-COSR

Description

@NR-COSR

High Level: When running python setup.py install, an error occurs indicating that the temp folder does not have the file easy_install-ioklqh\pandas-1.2.4\setup.py
STR
1)Install a fresh copy of ArcGIS 10.7 Desktop.
2)Verify that c:\Python\ArcGIS10.7 is in your path
3)Verify that Pandas and beautifulsoup4 are installed using the windows command
python -m pip install pandas
python -m pip install beautifulsoup4
4)Extract Registrant into the python27 folder
5)change directory to c:\python27\registrant-master
6) Execute python setup.py install
Expected: Registrant Installs successfully
Actual: Registrant fails to install indicating that a file was not found in the user temp folder
ConsoleLog.txt

Additional notes:
The last error says that it can't find easy_install-ioklqh\pandas-1.2.4\setup.py
I manually looked at the temp folder and there is no easy_install in that folder. I'm guessing that the install is expecting some temp files to be there as a result of what it does earlier in the install. But for some reason they aren't there. Earlier on it says it is downloading pandas 1.2.4 and writing it to that same temp file before trying to run it. When I watch the temp folder while running the install they are being written, and then immediately cleaned up.
Attempting to update the pandas install manually generates the following error:
C:\Python27\registrant-master>python -m pip install pandas --upgrade
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting pandas
Using cached pandas-0.24.2-cp27-cp27m-win32.whl (7.2 MB)
Collecting numpy>=1.12.0
Using cached numpy-1.16.6-cp27-cp27m-win32.whl (10.0 MB)
Requirement already satisfied, skipping upgrade: pytz>=2011k in c:\python27\arcgis10.7\lib\site-packages (from pandas) (2016.6.1)
Requirement already satisfied, skipping upgrade: python-dateutil>=2.5.0 in c:\python27\arcgis10.7\lib\site-packages (from pandas) (2.5.3)
Requirement already satisfied, skipping upgrade: six>=1.5 in c:\python27\arcgis10.7\lib\site-packages (from python-dateutil>=2.5.0->pandas) (1.10.0)
Installing collected packages: numpy, pandas
Attempting uninstall: numpy
Found existing installation: numpy 1.9.3
ERROR: Cannot uninstall 'numpy'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions