Comments (8)
I thought setup.py specified IPython<4.0.0?
On Nov 10, 2015 11:36 PM, "J W Debelius" [email protected] wrote:
I tried to run Daniel's notebooks tonight (11/10). The ipymd release I got
(ipymd==0.1.1) required IPython 4.0 or greater. The code in mod2_pcoa.py
would not run with IPython > 4.0:Traceback (most recent call last):
File "/Users/jwdebelius/.virtualenvs/test_env/bin/mod2_pcoa.py", line 4, in
import('pkg_resources').require('americangut==0.0.1')
File "/Users/jwdebelius/.virtualenvs/test_env/lib/python2.7/site-packages/pkg_resources/init.py", line 3018, in
working_set = WorkingSet._build_master()
File "/Users/jwdebelius/.virtualenvs/test_env/lib/python2.7/site-packages/pkg_resources/init.py", line 614, in _build_master
return cls._build_from_requirements(requires)
File "/Users/jwdebelius/.virtualenvs/test_env/lib/python2.7/site-packages/pkg_resources/init.py", line 627, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/Users/jwdebelius/.virtualenvs/test_env/lib/python2.7/site-packages/pkg_resources/init.py", line 805, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: IPython<4.0.0I did downgrade my matplotlib to 1.4, and this is a function which calls
seaborn, but the error isn't related to those packages.—
Reply to this email directly or view it on GitHub
#180.
from american-gut.
To run ipymd as installed by setup.py I had to get the latest version of Jupyter.
On Nov 11, 2015, at 6:49 AM, Daniel McDonald [email protected] wrote:
I thought setup.py specified IPython<4.0.0?
On Nov 10, 2015 11:36 PM, "J W Debelius" [email protected] wrote:I tried to run Daniel's notebooks tonight (11/10). The ipymd release I got
(ipymd==0.1.1) required IPython 4.0 or greater. The code in mod2_pcoa.py
would not run with IPython > 4.0:Traceback (most recent call last):
File "/Users/jwdebelius/.virtualenvs/test_env/bin/mod2_pcoa.py", line 4, in
import('pkg_resources').require('americangut==0.0.1')
File "/Users/jwdebelius/.virtualenvs/test_env/lib/python2.7/site-packages/pkg_resources/init.py", line 3018, in
working_set = WorkingSet._build_master()
File "/Users/jwdebelius/.virtualenvs/test_env/lib/python2.7/site-packages/pkg_resources/init.py", line 614, in _build_master
return cls._build_from_requirements(requires)
File "/Users/jwdebelius/.virtualenvs/test_env/lib/python2.7/site-packages/pkg_resources/init.py", line 627, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/Users/jwdebelius/.virtualenvs/test_env/lib/python2.7/site-packages/pkg_resources/init.py", line 805, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: IPython<4.0.0I did downgrade my matplotlib to 1.4, and this is a function which calls
seaborn, but the error isn't related to those packages.—
Reply to this email directly or view it on GitHub
#180.—
Reply to this email directly or view it on GitHub.
from american-gut.
Can you try emulating how packages are installed in travis? Possible
setup.py is out of sync
To run ipymd as installed by setup.py I had to get the latest version of
Jupyter.
On Nov 11, 2015, at 6:49 AM, Daniel McDonald [email protected]
wrote:I thought setup.py specified IPython<4.0.0?
On Nov 10, 2015 11:36 PM, "J W Debelius" [email protected] wrote:I tried to run Daniel's notebooks tonight (11/10). The ipymd release I
got
(ipymd==0.1.1) required IPython 4.0 or greater. The code in mod2_pcoa.py
would not run with IPython > 4.0:Traceback (most recent call last):
File "/Users/jwdebelius/.virtualenvs/test_env/bin/mod2_pcoa.py", line
4, in
import('pkg_resources').require('americangut==0.0.1')
File
"/Users/jwdebelius/.virtualenvs/test_env/lib/python2.7/site-packages/pkg_resources/init.py",
line 3018, in
working_set = WorkingSet._build_master()
File
"/Users/jwdebelius/.virtualenvs/test_env/lib/python2.7/site-packages/pkg_resources/init.py",
line 614, in _build_master
return cls._build_from_requirements(requires)
File
"/Users/jwdebelius/.virtualenvs/test_env/lib/python2.7/site-packages/pkg_resources/init.py",
line 627, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File
"/Users/jwdebelius/.virtualenvs/test_env/lib/python2.7/site-packages/pkg_resources/init.py",
line 805, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: IPython<4.0.0I did downgrade my matplotlib to 1.4, and this is a function which calls
seaborn, but the error isn't related to those packages.—
Reply to this email directly or view it on GitHub
#180.—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub
#180 (comment).
from american-gut.
I installed it according to travis, although I use virtualenv instead of conda as my enviroment manager. I installed the additional packages (numpy, lxml, and h5py), and then re-installed in the same directory.
I continue to get the error.
from american-gut.
Sounds like your environment is not sane as the conda_requirements.txt
clearly lists ipython<4.0.0. Suggest deleting your environment and recreating.
from american-gut.
I've built and rebuilt the environment several times using the directions provided in virtualenv. No change.
I think its critical we continue to support both conda and virtualenv with this package set up.
from american-gut.
If the directions or install requirements are wrong, then they need to be
fixed. However, it is not clear what is wrong about them given this thread
which makes investigation impossible. This does deploy on many systems
including multiple distributions of Linux and OS X.
There is nothing here that indicates virtualenv is unsupported, or that an
environment manager is even required. There is nothing about this repo that
is conda specific. I strongly recommend switching to conda regardless
though as it vastly simplifies environment management.
Can you verify that there is nothing modifying $PYTHONPATH
in your
environment prior to creating or activating an environment in any of your
login scripts (e.g., ~/.bash_profile
)? And, can you verify that
executables such as ipython
are not in your $PATH
prior to creating or
activating an environment?
On Wed, Nov 11, 2015 at 3:59 PM, J W Debelius [email protected]
wrote:
I've built and rebuilt the environment several times using the directions
provided in virtualenv. No change.I think its critical we continue to support both conda and virtualenv with
this package set up.—
Reply to this email directly or view it on GitHub
#180 (comment)
.
from american-gut.
I cannot recreate this issue. I used an empty environment, installed numpy
and h5py separately as is necessary for qiime via pypi, and did "pip
install -e ." I suspect that there is confusion in your environment
external to a manager.
On Wed, Nov 11, 2015 at 4:26 PM, Daniel T. McDonald <
[email protected]> wrote:
If the directions or install requirements are wrong, then they need to be
fixed. However, it is not clear what is wrong about them given this thread
which makes investigation impossible. This does deploy on many systems
including multiple distributions of Linux and OS X.There is nothing here that indicates virtualenv is unsupported, or that an
environment manager is even required. There is nothing about this repo that
is conda specific. I strongly recommend switching to conda regardless
though as it vastly simplifies environment management.Can you verify that there is nothing modifying
$PYTHONPATH
in your
environment prior to creating or activating an environment in any of your
login scripts (e.g.,~/.bash_profile
)? And, can you verify that
executables such asipython
are not in your$PATH
prior to creating or
activating an environment?On Wed, Nov 11, 2015 at 3:59 PM, J W Debelius [email protected]
wrote:I've built and rebuilt the environment several times using the directions
provided in virtualenv. No change.I think its critical we continue to support both conda and virtualenv
with this package set up.—
Reply to this email directly or view it on GitHub
#180 (comment)
.
from american-gut.
Related Issues (20)
- Add round 8 acc to processing notebook
- Processing Notebooks HOT 1
- Zeros truncated in AG data mapping file HOT 5
- The shared_otus ipynb tries to download a file that no longer exists HOT 1
- Add Travis CI
- HMP table does not have taxonomy HOT 1
- Cannot import biom file in R HOT 7
- Mislabeled metadata HOT 2
- We need a contributing.md document
- Primary processing revitalized HOT 1
- Analysis Summary Pipeline
- Generate PNG instead of PDF for per-sample-results HOT 4
- install trouble - conflicting ipython requirements HOT 11
- conda_req and pip_req differences HOT 6
- The way American-Gut repo was intended to be used? HOT 5
- Creation of 18S processing notebooks
- Latest ipymd does not play well with ipython notebooks HOT 1
- Help running module2_v1.0 notebook HOT 1
- nbviewer error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from american-gut.