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

InvalidArchiveError aux.py not found (Windows 10, miniconda) #58

Closed
dmrwal opened this issue Feb 2, 2024 · 6 comments
Closed

InvalidArchiveError aux.py not found (Windows 10, miniconda) #58

dmrwal opened this issue Feb 2, 2024 · 6 comments

Comments

@dmrwal
Copy link

dmrwal commented Feb 2, 2024

Hi, I came across your package and would like to try it out. But I run into an issue whenever I try to install it with miniconda into my python environment.

InvalidArchiveError("Error with archive C:\\Users\\user\\miniconda3\\pkgs\\xagg-0.3.1.1-pyhd8ed1ab_0.conda. You probably need to delete and re-download or re-create this file. Message was:\n\nfailed with error: [Errno 2] No such file or directory: 'C:\\\\Users\\\\user\\\\miniconda3\\\\pkgs\\\\xagg-0.3.1.1-pyhd8ed1ab_0\\\\site-packages\\\\xagg\\\\aux.py'")

I've tried cleaning up conda with conda clean --all, which seems to be a common approach to the InvalidArchiveError. However, the aux.py file for the installation seems to be missing. Did this issue ever come up before and is there a solution for this?

Background: I'm running this in miniconda on Windows 10 Pro

Thanks a lot in advance for any help or advice on this!

@ks905383
Copy link
Owner

ks905383 commented Feb 2, 2024

Hi @dmrwal ,

So I think it's because aux may be a reserved filename in windows... (it's come up before in #23 ) I don't have a windows machine, so I'm not able to test this (/ don't really know how conda works in windows) - but would you be able to locally test to see if renaming aux.py to anything else makes that problem go away?

@dmrwal
Copy link
Author

dmrwal commented Feb 2, 2024

Thanks for the quick response @ks905383,

totally understand. I tried to find an option to rename the file, but unsure if this is possible during the installation from the conda-forge. At least for me the ´xagg-0.3.1.1-...´ CONDA file is not accessible with common readers.

Could it be an option to install the package from the repo directly?

@dmrwal
Copy link
Author

dmrwal commented Feb 2, 2024

Quick update: I also tried to clone the repo via
pip install git+git://github.com/ks905383/xagg

But this does not seem to be possible (results in multiple other errors.
Any further advice, or tips for installation on a windows 10 machine are highly appreciated.

Thanks again!

@ks905383
Copy link
Owner

ks905383 commented Feb 2, 2024

Yeah... some of the dependencies are no longer on pip, so you can only install an old version through pip...

I'm trying to get an update out with some bug fixes in the near future; I'll change the name of the aux.py submodule and hopefully that will fix it. I'll let you know when that's out!

ks905383 added a commit that referenced this issue Feb 13, 2024
ks905383 added a commit that referenced this issue Feb 13, 2024
Aims to address #58 and #23 by renaming `aux` to `auxfuncs`
@ks905383
Copy link
Owner

Should be closed by #61 and implemented in the latest version v0.3.2.0 https://github.com/ks905383/xagg/releases/tag/v0.3.2.0

@dmrwal
Copy link
Author

dmrwal commented Feb 18, 2024

Thanks for this!
We eventually succeeded with the installation by forking, downloading, changing the file name and manually installing with pip. Works for now without issues on Win 10 Pro.
Will check for another installation from the new release.

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

2 participants