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

unable to run code #11

Closed
simone-hochgreb opened this issue Nov 17, 2018 · 6 comments
Closed

unable to run code #11

simone-hochgreb opened this issue Nov 17, 2018 · 6 comments

Comments

@simone-hochgreb
Copy link

unable to run -- some conflict with url parse after installation.

baiao:academic_sh Simone$ pip install -U academic
Requirement already up-to-date: academic in /usr/local/lib/python2.7/site-packages (0.2.2)
Requirement already satisfied, skipping upgrade: bibtexparser in /usr/local/lib/python2.7/site-packages (from academic) (1.0.1)
Requirement already satisfied, skipping upgrade: requests in /usr/local/lib/python2.7/site-packages (from academic) (2.20.1)
Requirement already satisfied, skipping upgrade: toml in /usr/local/lib/python2.7/site-packages (from academic) (0.10.0)
Requirement already satisfied, skipping upgrade: pyparsing in /usr/local/lib/python2.7/site-packages (from bibtexparser->academic) (2.3.0)
Requirement already satisfied, skipping upgrade: future in /usr/local/lib/python2.7/site-packages (from bibtexparser->academic) (0.17.1)
Requirement already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python2.7/site-packages (from requests->academic) (3.0.4)
Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /usr/local/lib/python2.7/site-packages (from requests->academic) (2018.10.15)
Requirement already satisfied, skipping upgrade: urllib3<1.25,>=1.21.1 in /usr/local/lib/python2.7/site-packages (from requests->academic) (1.24.1)
Requirement already satisfied, skipping upgrade: idna<2.8,>=2.5 in /usr/local/lib/python2.7/site-packages (from requests->academic) (2.7)

baiao:academic_sh Simone$ academic academic import --bibtex ./content/articles/shpubs_2018.bib
Traceback (most recent call last):
File "/usr/local/bin/academic", line 7, in
from academic.cli import main
File "/usr/local/lib/python2.7/site-packages/academic/cli.py", line 11, in
from urllib.parse import urlparse
ImportError: No module named parse
baiao:academic_sh Simone$ pip install urlparse
Collecting urlparse
Could not find a version that satisfies the requirement urlparse (from versions: )
No matching distribution found for urlparse

@gcushen
Copy link
Collaborator

gcushen commented Nov 17, 2018

Python 3 is required, as per the docs and setup.py.

@gcushen gcushen closed this as completed Nov 17, 2018
@simone-hochgreb
Copy link
Author

simone-hochgreb commented Nov 18, 2018 via email

@gcushen
Copy link
Collaborator

gcushen commented Nov 18, 2018

Thanks for reporting this. Try updating - it should be fixed in v0.2.4.

@simone-hochgreb
Copy link
Author

simone-hochgreb commented Nov 18, 2018 via email

@gcushen
Copy link
Collaborator

gcushen commented Nov 18, 2018

I was referring to updating Academic Admin (this repo) to v0.2.4, not Academic Kickstart.

@simone-hochgreb
Copy link
Author

simone-hochgreb commented Nov 18, 2018 via email

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