-
Notifications
You must be signed in to change notification settings - Fork 23
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
Ubuntu Installation Error #24
Comments
I just rebuilt it and uploaded to anaconda channel. Can you try the following:
This is just to test the new build in a different conda enviornment (keeping the old one intact). Once it starts working, will show how to update the main installation. In order to get out of
|
Hi, Just wanted to say I'm also getting the same error after installing on mac, details below. The previous numpy issue I had was due to a previous installation of anaconda being installed on my system. /Users/stevenramsey/anaconda2/lib/python2.7/site-packages/matplotlib/font_manager.py:280: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment. |
@gosldorf Thanks. Can you also create a new conda environment as I showed above and test the new installation? Thanks |
@kamran-haider Yup just did, following the instructions, ended up with the same error messages (full message below). (test_sstmap_install) stevenramsey@Stevens-MBP-3:~/Downloads$ ~/anaconda2/envs/test_sstmap_install/bin/run_hsa -h /Users/stevenramsey/anaconda2/envs/test_sstmap_install/lib/python2.7/site-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment. |
I think
|
That worked! (test_sstmap_install) stevenramsey@Stevens-MBP-3:~/SSTMap$ run_hsa -h Run GIST calculations through command-line. optional arguments: |
@gosldorf That's good. I will look into the issue with |
This doesn't work for me. I get the same set of errors in Ubuntu... source activate test_sstmap_install |
@tkurtzman Sorry, I forgot to add, you will have to do:
I think your |
This is turning out to be a little more challenging. The problem is that conda probably doesn't support compiling distributions through I think setting up a pip package for |
It would be nice to have a simple command to install so I think it is worthwhile to try to get pip to install. I'm not wild about having two different installation protocols outlined in the paper. What do you mean that "SSTMap compiles fine from the source in most cases"? What are the exceptions? Tom |
The compilation is static or dynamic?
Anthony
…On Tue, May 9, 2017 at 9:58 AM, tkurtzman ***@***.***> wrote:
It would be nice to have a simple command to install so I think it is
worthwhile to try to get pip to install. I'm not wild about having two
different installation protocols outlined in the paper.
What do you mean that "SSTMap compiles fine from the source in most
cases"? What are the exceptions?
Tom
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#24 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJdkyjqNTV7zmOi42YhgdJqJmoudee83ks5r4HEegaJpZM4NSPWk>
.
|
@acruzpr It is dynamic. All of our c/c++ code is built as python c/c++ extensions. The libstdc that's required by these extensions is dynamically loaded by Python interpreter at runtime. In this particular case, the Python interpreter is picking the library from a 'wrong place'. Scipy should have nothing to do with how our extensions are built. So that's one pointer for me to look further. This is a good point. Now that I think about it, there may be a way to statically link the library. Let me see if I can make some changes to setup.py to allow this. Will keep you guys posted. |
@tkurtzman if possible can you post the output of |
Our issue appears to be similar to: ContinuumIO/anaconda-issues#483 I think I am going to try a fix that they suggested. |
@gosldorf I am assuming you can still reproduce the error (not in your Once you are able to reproduce, can you reinstall and then try to reproduce the error:
|
Hey,
I just tried these commands on macosx and got the code to compile and give
me the proper help message.
Nice!
…--Steve
On Wed, May 10, 2017 at 12:09 PM, Kamran Haider ***@***.***> wrote:
@gosldorf <https://github.com/gosldorf>
So I rebuilt the conda package with a potential fix (did this for macosx
version only, if succeeded, will do the same for linux too). We can try
this during our meeting today but just putting it out there.
I am assuming you can still reproduce the error (not in your
test_sstmap_install environment, where your built sstmap from source but
in your default anaconda environment). To make sure you can reproduce, just
deactivate any environment your are in and do run_hsa -h and the same
error that you reported should happen.
Once you are able to reproduce, can you reinstall and then try to
reproduce the error:
conda remove sstmap
conda install -c solvationtools sstmap
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#24 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AOI9euHiLVbmtUwqoaFkNUzygyms2DbZks5r4eFTgaJpZM4NSPWk>
.
|
Thanks @gosldorf for confirmation. @tkurtzman also confirmed just now that Ubuntu and CentOS installation went fine. |
Installation went without error. However, when I run_has, I get the following:
tkurtzman@ubuntu:~$ run_hsa
Traceback (most recent call last):
File "/home/tkurtzman/anaconda2/bin/run_hsa", line 11, in
load_entry_point('sstmap==1.0', 'console_scripts', 'run_hsa')()
File "/home/tkurtzman/anaconda2/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/pkg_resources/init.py", line 565, in load_entry_point
File "/home/tkurtzman/anaconda2/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/pkg_resources/init.py", line 2598, in load_entry_point
File "/home/tkurtzman/anaconda2/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/pkg_resources/init.py", line 2258, in load
File "/home/tkurtzman/anaconda2/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/pkg_resources/init.py", line 2264, in resolve
File "/home/tkurtzman/anaconda2/lib/python2.7/site-packages/sstmap/init.py", line 41, in
from sstmap import site_water_analysis, grid_water_analysis, utils
File "/home/tkurtzman/anaconda2/lib/python2.7/site-packages/sstmap/site_water_analysis.py", line 43, in
import _sstmap_entropy as ext1
ImportError: /home/tkurtzman/anaconda2/lib/python2.7/site-packages/scipy/sparse/../../../../libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/tkurtzman/anaconda2/lib/python2.7/site-packages/_sstmap_entropy.so)
The text was updated successfully, but these errors were encountered: