nickmckay / LiPD-utilities

Input/output and manipulation utilities for LiPD files in Matlab, R and Python
http://nickmckay.github.io/LiPD-utilities/
GNU General Public License v2.0
29 stars 9 forks source link

Python version: No module named 'download_lipd' #40

Closed fzhu2e closed 6 years ago

fzhu2e commented 6 years ago

If I install the latest version (0.2.5.4) with pip install lipd, then it would be unable to import lipd. Error information below:

      6 import os
----> 7 import lipd as lpd
      8 import pandas as pd
      9 import numpy as np

~/.pyenv/versions/anaconda3-5.0.1/envs/py3.6/lib/python3.6/site-packages/LiPD-0.2.5.4-py3.6.egg/lipd/__init__.py in <module>()
     14 from lipd.regexes import re_url
     15 from lipd.fetch_doi import update_dois
---> 16 from download_lipd import download_from_url, get_download_path
     17 
     18 # Load stock modules

ModuleNotFoundError: No module named 'download_lipd'

I tried an older version (the commit at 2018-03-02 17:00), and it doesn't have this issue.

chrismheiser commented 6 years ago

That's a bad import on my part. I'll have the fix up soon.

chrismheiser commented 6 years ago

v0.2.5.5 - should be fixed now

fzhu2e commented 6 years ago

Thanks! It works.