-
Notifications
You must be signed in to change notification settings - Fork 80
REL: Final fixes for alpha-0.1 🐾✨ #1138
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
Conversation
This folder was missing and thus when you tried to access the study_description page, the server would fail because the file wasn't there. Fixes qiita-spots#1134
pulling down in a new env |
In a new env, just python2.7, I get the following: (qiita_0.1)22:23:57 qiita@alpha-0.1$ pip install -e .
Obtaining file:///Users/mcdonadt/ResearchWork/software/qiita
Running setup.py egg_info for package from file:///Users/mcdonadt/ResearchWork/software/qiita
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '.git' found anywhere in distribution
warning: no previously-included files matching '*~' found anywhere in distribution
Downloading/unpacking psycopg2 (from qiita-spots==0.1.0)
Downloading psycopg2-2.6.tar.gz (367kB): 367kB downloaded
Running setup.py egg_info for package psycopg2
Error: pg_config executable not found.
Please add the directory containing pg_config to the PATH
or specify the full executable path with the option:
python setup.py build_ext --pg-config /path/to/pg_config build ...
or with the pg_config option in 'setup.cfg'.
Complete output from command python setup.py egg_info:
running egg_info
creating pip-egg-info/psycopg2.egg-info
writing pip-egg-info/psycopg2.egg-info/PKG-INFO
writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
Error: pg_config executable not found.
Please add the directory containing pg_config to the PATH
or specify the full executable path with the option:
python setup.py build_ext --pg-config /path/to/pg_config build ...
or with the pg_config option in 'setup.cfg'.
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /Users/mcdonadt/.virtualenvs/qiita_0.1/build/psycopg2
Storing complete log in /Users/mcdonadt/.pip/pip.log The same happens if I try to install psycopg2 by itself through pip, has anyone else encountered this? |
Cheated around it, |
@wasade, weird, for me it is in: export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.3/bin/ |
Code looks good to me. I don't have a clean environment as clean as the one that @wasade is trying to install, so if it works for him, 👍 |
Weird... dunno. I'm blocking now on pandas, which has been installing w/o message for 10 mins. Falling back to doing what's described in the install doc. |
eaf2b77
to
f99c19a
Compare
@josenavas, I just did @ElDeveloper, my system is flat out not compiling packages. It's been working for a few minutes on the very first actual compile in numpy. I recently bumped this laptop to 10.10, and apparently xcode is just flat out broken. I need to update it before proceeding. |
BTW if you truly want to test this, these are the commands that you should run (make sure you have pg_config in your PATH, see INSTALL.md): mkvirtualenv qiita-rc
pip install numpy
pip install https://github.com/biocore/mustached-octo-ironman/archive/master.zip --no-deps
python setup.py sdist
cp dist/qiita-spots-0.1.0.tar.gz ~/
cd
tar -xzvf qiita-spots-0.1.0.tar.gz
cd qiita-spots-0.1.0
pip install . This is how I was founding all the problems I've fixed so far. |
@biocore/qiita-admin It would be great if before merging this PR a couple of you can install as I mentioned above and make sure everything is working just fine. If you follow those steps and then follow from INSTALL.md this should be representative of doing |
Ok... guys I cannot try this. I just broke my entire installation... This is the error that I'm receiving:
but this is even happening on my installation. I had an issue with zeromq and I had to re-install it. I think I broke my system... I'm to tired to try to fix it now, so will do tomorrow. Hopefully somebody else can try this w/o a problem! |
Thanks @josenavas! I'm confident this should be the final changeset On (Apr-29-15|22:41), josenavas wrote:
|
I just tested in an empty installation and got this error:
I ran:
I think the problem is that I have hdf5 and the qiime build is not actually pulling the right Cython. |
I'll give it a try in about 15 minutes.
|
My installs are happening, now that xcode is resolved however I just received the same error as @antgonza. Investigating @josenavas, does that happen if you just start the interpreter? If not, recommend isolating, eg: > import tornado # if this works then...
> import pyzmq # if this works then...
> import h5py # if this works then...
> import numpy # etc If you cannot get into the interpreter, take a look at what is linked to the python executable and see if they make sense: $ otool -L `which python` |
@antgonza, installing cython out of band seemed to work. Can you try: @ElDeveloper, it may be the case that we should either recommend installing |
I'm now hitting linker issues as well: $ ./qiita_env start_cluster qiita_general && sleep 5
Traceback (most recent call last):
File "./qiita_env", line 15, in <module>
from qiita_db.environment_manager import (
File "/Users/mcdonadt/rs/qiita/qiita_db/environment_manager.py", line 9, in <module>
from qiita_db.ontology import Ontology
File "/Users/mcdonadt/rs/qiita/qiita_db/ontology.py", line 29, in <module>
from .base import QiitaObject
File "/Users/mcdonadt/rs/qiita/qiita_db/base.py", line 30, in <module>
from .sql_connection import SQLConnectionHandler
File "/Users/mcdonadt/rs/qiita/qiita_db/sql_connection.py", line 85, in <module>
from psycopg2 import (connect, ProgrammingError, Error as PostgresError,
File "/Users/mcdonadt/.virtualenvs/qiita_0.1/lib/python2.7/site-packages/psycopg2/__init__.py", line 50, in <module>
from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
ImportError: dlopen(/Users/mcdonadt/.virtualenvs/qiita_0.1/lib/python2.7/site-packages/psycopg2/_psycopg.so, 2): Library not loaded: @loader_path/../lib/libssl.1.0.0.dylib
Referenced from: /Users/mcdonadt/.virtualenvs/qiita_0.1/lib/python2.7/site-packages/psycopg2/_psycopg.so
Reason: image not found Which can be repeated with: >>> import psycopg2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/mcdonadt/.virtualenvs/qiita_0.1/lib/python2.7/site-packages/psycopg2/__init__.py", line 50, in <module>
from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
ImportError: dlopen(/Users/mcdonadt/.virtualenvs/qiita_0.1/lib/python2.7/site-packages/psycopg2/_psycopg.so, 2): Library not loaded: @loader_path/../lib/libssl.1.0.0.dylib
Referenced from: /Users/mcdonadt/.virtualenvs/qiita_0.1/lib/python2.7/site-packages/psycopg2/_psycopg.so
Reason: image not found |
@wasade that worked but now getting the no Fortran error. What about adding to the installation tutorial that Mac users should download dmgs from: |
I have everything instaling nicely on my end, Had to use
Since I'm on OSX 10.10 |
@antgonza, haven't had to do .dmgs for a long time. Those specific packages install for me w/o issue, as does psycopg2. @squirrelo, testing your suggestion right now |
@squirrelo, no go. Same library error. It is possible I have out of sync system libraries due to the xcode update. @ElDeveloper, I'm going to get a VM and test in there. |
Can you verify the server actually works? Yoshiki Vázquez-Baeza
|
Yes, it works fine. |
Try to update your python and your pip, wheels should become available then ... Yoshiki Vázquez-Baeza
|
I'm still struggling with my error. Weirdly enough, I can start the server from an ipython session, but if I use the command line app it fails... probably a click problem... I'm investigating more... |
It is in my path, and does build. So unsure at the moment On Thu, Apr 30, 2015 at 10:31 AM, Yoshiki Vázquez Baeza <
|
So as far as I know only @squirrelo and me have been able to successfully get the package to install on their computers. The problems others are hitting are due to the dependencies and not to qiita itself? |
I agree with that statement. I think the most difficult part is getting cython/numpy/scipy/matplotlib installed, as expected. |
@antgonza, did you try upgrading your pip? On (Apr-30-15| 9:51), Antonio Gonzalez wrote:
|
Yep, still hitting MPL issues. Currently, this SO post details the problem I'm having. Trying the soft link solution proposed by mhowison (second answer currently) |
@antgonza, I only had an issue with cython first got. Second time around, On Thu, Apr 30, 2015 at 10:58 AM, adamrp notifications@github.com wrote:
|
Do you guys want to have a quick call to see if we can come up with a On (Apr-30-15| 9:58), adamrp wrote:
|
Just call me ... |
I just pushed some additions to INSTALL.md, please let me know if you would like me to expand on something. |
Thanks @ElDeveloper I think those comments are enough! |
[ci skip]
9ca4f09
to
b94080b
Compare
Looks good to me |
Agree, thanks! |
REL: Final fixes for alpha-0.1
The install worked, but the |
Those commands are available for my install ... |
@antgonza just to confirm, when you call which qiita where does it point On (Apr-30-15|11:18), Antonio Gonzalez wrote:
|
My bad, same thing here. I got confused between environments. |
@squirrelo, do you see the same problem? On (Apr-30-15|11:24), Antonio Gonzalez wrote:
|
No issue here |
I'm not seeing the problem either, when I do which qiita, I get the On (Apr-30-15|11:27), josenavas wrote:
|
@antgonza, do you know if you are adding qiita/scripts to your PATH? On (Apr-30-15|11:27), josenavas wrote:
|
I am for my normal environment. What I did for this final test was to clone the repo from scratch and they created the tgz for install ... perhaps that's the issue? |
@ElDeveloper and I just had a call, and we realized that |
Ready for merge.
cc @josenavas, @antgonza, @squirrelo , @wasade, @adamrp