-
Notifications
You must be signed in to change notification settings - Fork 33
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
Install failed on windows #27
Comments
It needs libarchive to be available and in-scope. |
How can it be in scope when I do |
libarchive, the C library (not the Python package). |
I need to build that on my own on widows? and even though they mention an sln file for VS there's no sln. I can't just sudo apt-install on windows and I'm not going to mess with cmake and gcc now. Do you know if there is a simple way to make it available on windows? |
Hi Dustin, Thank you for making this Python package. I have installed a fair number of Python packages, and this is the first one that seems intended for people with so much software expertise. I am not complaining, I simply want to tell you what this package is like for someone like me. I'm not a software engineer. I did not understand that to get libarchive the Python package to run on Windows, I needed to compile a C library with the same name, though I might have guessed that, since readme says to run "apt-get install libarchive-dev" on linux. I do not have gcc installed on Windows, and I have only installed and run it a dozen times on Linux and Solaris. With 4-8 hours, I think I could install it with cygwin or some other environment and manage to compile libarchive. It is not worth the effort for me, so I used zip files and the Python zipfile package. It would be helpful to people with my kind of background if you include in the readme a statement that on Windows, you'll have to download the libarchive C library from libarchive.org, and compile it. I have seen comments that there is a need for a Python package for interacting with 7-zip files. If you spent the time to do one of three things, a lot of people would notice and appreciate you:
Thank you, |
I came across this.. But I'm lost on how to use them in Python as I'm new to Python. |
Python is a multi-platform programming language and as such libraries should also adhere to this concept. This library unfortunately does not work on most computers because it cannot find the libraries on Windows. I will now explain how to compile libarchive.dll, so that one can install this python libarchive package.
Now that you got all those .dlls in one place, you have to make sure, the installer finds them when running
Alternatively, install python libarchive and the put the .dll files into your program/script folder where you need libarchive:
Please add some note to the PyPI repository and the github page linking to this guide or distribute a version that works on all OS. |
This issue should probably be re-opened as there is no mention of how to get this working on Windows in the readme. As the repo name is
|
Hi, How can I make it work with libarchive package? Thanks! |
OK, here're my steps to install for Python 64bit on Windows:
|
this doesn't work,the erroe still exits |
hi,i do what you list,but there's other errors:
note: This error originates from a subprocess, and is likely not a problem with pip. |
I'm getting the following error when trying to do
pip install libarchive
on win 10:I have python 3.6 installed.
The text was updated successfully, but these errors were encountered: