-
Notifications
You must be signed in to change notification settings - Fork 12
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
pip install problems #1
Comments
Haven't had any reason to use conda (presented workflow worked on my linux and windows machines), so I can't answer directly. But yes you should switch to conda for the unpippables ... I suppose ssl issues might also affect conda, in which case |
It is possible that the |
@rsignell-usgs (Will this loop in Rich?) I tried to set up an environment file called
Note that I loosened the specs for the missing packages ( I get the following error:
I assume that means that these are not in conda-forge, although I am a little surprised about the scikit packages. How do we go about getting these into conda? So, sticking with your pip installation for now...that worked. Can probably close this issue. |
Chris those pip packages were really specific versions because that's what worked on the ~5 computers I have at my disposal and I had learned from previous experiences .... apparently. You are the only person so far reporting issues. Stephen bosse installed this morning on his st pete machine and the install instructions worked. That's all I have to go on for now. Sorry I cant be more help. I'll try to troubleshoot this later, but for now of course I am focused on the bugs. Doodler is the hardest program I've ever written ;( |
@csherwood-usgs , looks like you trying this on a PC? The package versions might well be different from platform to platform. I would try unpinning everything if you want to try conda. |
Just to be clear - I did not have any issues installing using your instructions. It works great. My SSL issues went away when I switched VPNs, so I have a working installation. Just wondering whether conda would work, and I loosened the version numbers in case they were too restrictive. So all is good. |
You may have thrown us by the title "pip install problems" ;) |
@csherwood-usgs the issue in your This one worked for me:
|
And adding
to the yaml list above would result in a conda-only setup path that could simplify the installation instructions to a single |
@dnowacki-usgs - Thanks! Good eyes! I copied those filenames from Dan B's. pip install .txt file...is it really possible the underlines and hyphens are different in pip v. conda channels? Also, gunicorn still can't be found, even though it should be in conda-forge. The Google intimates this might be function of my version of conda (latest) or linux v. windows. BUT...the software seems to work without gunicorn. Is it really needed? |
@csherwood-usgs , some packages are not available on all platforms. If you take a look at https://anaconda.org/conda-forge/gunicorn you can see that Windows is not on the list! |
@dbuscombe-usgs Dan - As Dan N. and Rich note, you can make an environment.yml that works for a conda install for Linux or Mac, but gunicorn is not available for Windows. However, app.py seems to work fine without gunicorn...is it needed? |
Thanks all for these insights. Gunicorn not needed until we serve this on a (*nix based) web server somewhere, so I will remove it. Thanks for the report! |
Thanks @dnowacki-usgs for the yml file suggestion. Will incorporate in the next round of docs |
I get this when I am not on the VPN:
But it works fine on the VPN. Usually it is the other way around.
Not sure this is a real issue, but is there a reason not to use conda to install these packages?
The text was updated successfully, but these errors were encountered: