-
Notifications
You must be signed in to change notification settings - Fork 31
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
Import refextract fails #57
Comments
Which OS are you using? On Mac you can solve this with |
@openp2pdesign I am using windows , I installed it using Anaconda with pip install command , but It fail when I import it |
Same here, Python 3.6.3 on Windows 10, refextract was installed using pip. |
This also happens in Linux(Debian). Install it using pip3. Python 3.5.3 (default, Sep 27 2018, 17:25:39)
|
Same here, Python 2.7 on Windows 7, refextract was installed using pip. |
Could the developers provide more workable environment details to repeat the processes, such as OS, Python versions, IDE? Many thanks. |
Is the project even maintained? Have the same importing error throws out invalid syntax error. Please solve it ASAP |
This works for me on python 3.6 on colab. sudo apt-get install -y python-magic |
The previous version was not compatible with Python 3. Version 1.* is Python 3 only. |
you need to install the related magic bin package |
I'm failing without any exception... >python
Python 3.8.2 (default, May 6 2020, 09:02:42) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from refextract import extract_references_from_url
# Just die without logging
> |
For anyone experiencing this issue, this happens because you need to have magic-bin installed. Then, the solution is:
|
I have already installed the magic bin still getting the same error. |
This just worked for me |
I am trying to import refextract using python 2 and python 3 both fails . It shows the error below .
I installed it using pip install refextract as mentioned in readme file
The text was updated successfully, but these errors were encountered: