Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File not found while installing #10

Open
NR-COSR opened this issue May 20, 2021 · 0 comments
Open

File not found while installing #10

NR-COSR opened this issue May 20, 2021 · 0 comments

Comments

@NR-COSR
Copy link

NR-COSR commented May 20, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant