-
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
Notebooks no longer compatible with PyPi release. #45
Comments
installing the git package directly, i.e. ---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-3-8a4e35725ecd> in <module>()
1 import pandas as pd
----> 2 from piro.route import SynthesisRoutes
3 pd.set_option('display.width', 700)
4 pd.set_option('display.max_colwidth', 300)
/usr/local/lib/python3.7/dist-packages/piro/route.py in <module>()
9 import json
10 from copy import deepcopy
---> 11 from pymatgen import MPRester
12 from pymatgen.analysis.phase_diagram import PhaseDiagram
13 from pymatgen.util.string import latexify
ImportError: cannot import name 'MPRester' from 'pymatgen' (unknown location)
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
--------------------------------------------------------------------------- |
Additionally the pip installation doesn't appear to package the resource directory !apt-get install tree
!tree /usr/local/lib/python3.7/dist-packages/piro/ Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
tree
0 upgraded, 1 newly installed, 0 to remove and 37 not upgraded.
Need to get 40.7 kB of archives.
After this operation, 105 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 tree amd64 1.7.0-5 [40.7 kB]
Fetched 40.7 kB in 0s (123 kB/s)
Selecting previously unselected package tree.
(Reading database ... 155047 files and directories currently installed.)
Preparing to unpack .../tree_1.7.0-5_amd64.deb ...
Unpacking tree (1.7.0-5) ...
Setting up tree (1.7.0-5) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
/usr/local/lib/python3.7/dist-packages/piro/
├── data.py
├── __init__.py
├── mongodb.py
├── __pycache__
│ ├── data.cpython-37.pyc
│ ├── __init__.cpython-37.pyc
│ ├── mongodb.cpython-37.pyc
│ ├── route.cpython-37.pyc
│ └── utils.cpython-37.pyc
├── route.py
└── utils.py |
Thanks for the tip! Will debug today. |
Updated the release to include the files directory, it's working for me on colab now, will you test and let me know? |
Ditto on the colab example |
Was attempting to run the BaTiO3 notebook on colab and have had some errors installing from pip as that notebooks do not match the release.
The text was updated successfully, but these errors were encountered: