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

Python is being installed in unexpected location #49

Open
andrew-polk opened this issue Oct 11, 2022 · 9 comments
Open

Python is being installed in unexpected location #49

andrew-polk opened this issue Oct 11, 2022 · 9 comments

Comments

@andrew-polk
Copy link

The installer is putting python in C:\Users\UserName\AppData\Local\Programs\Python\Python37-32 but everything in the rest of the package expects python to be at C:\Python37-32 so nothing works after that.

Any ideas what is different in my setup?

@andrew-polk
Copy link
Author

andrew-polk commented Oct 11, 2022

Ah. If I run the installer with admin permissions, I get the C:\Python37-32 directory and everything works.
It seems this is a regression from the installer which had python 2.7.

@chrisvire
Copy link
Member

Unfortunately, we have lost contact with the volunteer who was supporting this.

@andrew-polk
Copy link
Author

Do the app builders still point to this repo for installing aeneas?
If what I've described is a general problem, it seems like it would be biting Windows users all the time.

@andrew-polk
Copy link
Author

Do the app builders still point to this repo for installing aeneas?

I've answered my own question. The docs point people to https://software.sil.org/readingappbuilder/download/ which has both the old python 2 installer as well as the python 3 installer. But the python 2 installer is listed first, so maybe most users just end up with the working installer by default.

@danielbair
Copy link
Collaborator

I'm still here. The developer of aeneas isn't doing any more work on it anymore, so I haven't had anything motivating me to update the AIO installer. Python 2.7 has reached end of life so the Python 3 installer (which was more on the lines of experimental for my part) probably should be the preferred installer now (plus a note to install with administrative permissions). I will try to get a new Python 3 installer built sometime.

@hatton
Copy link
Member

hatton commented Oct 18, 2022

@danielbair part of the problem is this major change was introduced without so much as a patch number increase. Because of the problems that change is making, we would like to point our users to the version they need to download. So one idea is just to fix the numbering; we could remove some of these releases and re-label current release as "1.8". Then we could tell our users that Bloom works with 1.7.

While we're discussing this, as damage control, I will see about adding a message that Admin permissions are now required to all Python 3 releases.

@danielbair
Copy link
Collaborator

danielbair commented Jul 5, 2023

I'm not certain about going from 1.7 to 1.8 (I'm trying to keep the version in-sync with the aeneas versions), but I do have the latest versions marked with a revision like this v1.7.3.0_4 (I hope that helps).

@danielbair
Copy link
Collaborator

I just uploaded v1.7.3.0_4 signed and notarized for Mac, but I am not able to sign the Windows installer.

Can someone test the latest windows installer and see if it fixes this issue.

@natelawrence
Copy link

natelawrence commented May 31, 2024

Hi, @danielbair

I only heard of Aeneas earlier this evening in a discussion of an issue on Gentle's issue tracker. Thank you for your efforts to simplify setup for Windows users.

I just downloaded and ran aeneas-win64-setup-1.7.3.0_4.exe tonight from https://github.com/sillsdev/aeneas-installer/releases/tag/v1.7.3.0_4 however I had the same issue as described above where Python automatically installs to a location (in my case C:\Program Files\Python39\) different to where the rest of the installer tries to call it from to complete setup.

When first trying the installer, I just ran it as a normal user and the installer looked for Python 3.9 in C:\Python39\ where it is not to be found on my machine.

After reading the above thread, I tried running the installer again as Administrator and got basically the same error, although it appears to now be looking for Python 3.9 in the correct directory in Program Files.
image

For whatever reason, when I checked the Scripts folder within C:\Program Files\Python39\ it is completely empty. There is no pip.exe (nor anything else) found.
image

For this reason, I get the Setup error dialog pictured above when trying to install:

  • NumPy 1.25.0
  • lxml 4.9.2
  • SoupSieve 2.4.1
  • BeautifulSoup4 4.12.2
  • Aeneas 1.7.3.0

Finally, this is briefly shown prior to the termination of the installer.
image

The installer then reports that everything has been installed, although that is clearly not the case.
image

Any further direction would be appreciated.

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

5 participants