-
Notifications
You must be signed in to change notification settings - Fork 9
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
Cannot install pyKVFinder from PyPi... #17
Comments
I think I've found the answer to this - pip install for this package seems to only work with OSX 10.14+ - getting lots of errors with "pip install -vv pyKVFinder" that have lines like these -
but lines like these indicate that if I had a Linux dating back 8 years or more pip install might work
so I guess I'll have to try to build it locally. |
Hi @hrp1000, Thank you for reporting your issue. There is no pyKVFinder distribution compatible with your OS (macOS High Sierra - 10.13) in PYPI. The oldest OS supported is macOS Catalina (10.15). I will carefully consider including macOS High Sierra in pyKVFinder deployment. For now, please install the developmental version by building it locally. To do this:
git clone https://github.com/LBC-LNBio/pyKVFinder
pip install -e pyKVFinder/ Hope it helps you! |
Thanks for the rapid repsonse. Unfortunately, building pyKVFinder locally barfs -
removing the "-fopenmp" from compiler =flags gives other warnings and error. I'm unfamiliar with swig - how do I change the default compiler from clang to gcc? My clang looks like -
|
Hi again @hrp1000, Compiling pyKVFinder uses gcc as the C compiler. Wheel installationI am sharing pyKVFinder wheels for different python versions here: wheels.zip To install using the wheels, follow these steps:
unzip wheels.zip
pip3 install pyKVFinder-0.4.5-cp39-cp39-macosx_10_13_x86_64.whl Please let me know if the wheel installation worked. Build from sourceOn the other hand, if you still want to build pyKVFinder from source. To install the available default version of GCC on your Homebrew brew install gcc Note: check the GCC version, using If the default version GCC is not later than 10, you can install it directly by typing: # GCC version 10
$ brew install gcc@10 Then, to set GCC as the default C compiler to build pyKVFinder from source, you would type:
$ sudo ln -s $(brew --prefix)/bin/gcc-X /usr/local/bin/gcc Note: X is the version of GCC you have installed. If you have more questions, feel free to ask me. |
Hi João The wheel installation seems to work - "import pyKVFinder" and "help(pyKVFinder)" both give sensible replies at the python3 prompt. Many thanks for this! |
Thanks for reporting this issue, @hrp1000. |
Following up on this issue, pyKVFinder builds in PYPI are now compatible with older versions of macOS. |
Hi
I'm trying to install with pip on MacOS HIgh Sierra (old hardware, this is the newest OS I can install) as per the instructions on https://pypi.org/project/pyKVFinder/
and
My assumption is that
(a) I'm doing something wrong
(b) something is missing on my system or
(c) my OS is too old :-(
any help would be appreciated!
The text was updated successfully, but these errors were encountered: