-
Notifications
You must be signed in to change notification settings - Fork 816
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
Unable to install Cloudmapper #155
Comments
I just tried a fresh setup after seeing your issue, and didn't have any issues. I'm on macOS 10.13.5. Are you working out of a virtualenv environment? You should have done:
As part of the initialization steps. That should avoid any package version issues that might conflict with other packages on your system. |
Yep I did that. Full log: PWMBP:~ pwakeford$ cd Projects/ Warning: autoconf 2.69 is already installed and up-to-date |
Looks like it might be this issue: pandas-dev/pandas#20697 |
The most current version of Python from Homebrew is 3.7. This version seems to break a lot package installation. If you step down to 3.6.5 all of the packages build and install without errors. To step down
I had the same problems you saw with python 3.7. |
this may be a better solution for venvs: /usr/local/Cellar/python3/3.6.5_1/bin/python3 -m venv venv |
Installing and switching to 3.6.5 resolved this - thanks everyone. |
i ran into this same issue. and was able to workaround with... brew install pyenv
pyenv install 3.6.5
cat >> ~/.bash_profile <<EOF
# reference: http://mattseymour.net/blog/2016/03/brew-installing-specific-python-version/
export PYENV_ROOT=/usr/local/var/pyenv
if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi
EOF
source ~/.bash_profile
brew install autoconf automake libtool jq awscli
/usr/local/var/pyenv/versions/3.6.5/bin/python3.6 -m venv ./venv
source ./venv/bin/activate
pip install -r requirements.txt @0xdabbad00 perhaps the macOS instructions would be best updated. would it be useful to submit a PR with updated instructions for new macos machines running latest that need to downgrade python in order to run? |
Is it possible to step down from within the virtualenv? I want to avoid messing with brew or the python installed on the host outside of the virtualenv. |
my python versions seem untouched. from a new terminal ...
my understanding of python ecosystem is trivial at best but i seem to have not mucked my machine about here. if you wanna skip the bash profile stuff, that's fine. i don't think it's needed in the end. |
PR #160 (which I haven't merged yet) is for using pipenv, which seems to support specifying an exact python version. So using that PR could resolve this issue along with better pinning libraries to use. I'll investigate this weekend. |
right on. i'll note in my internal docs and watch PR #160 thanks! |
Need to reopen this until the issue of needing to downgrade python is resolved. |
This should be resolved now by using pipenv and Python 3.7 via #187 |
Hi,
macOS 10.13.6 and following the install docs I get:
....
Collecting pandas==0.22.0 (from -r requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/08/01/803834bc8a4e708aedebb133095a88a4dad9f45bbaf5ad777d2bea543c7e/pandas-0.22.0.tar.gz
Could not find a version that satisfies the requirement numpy==1.9.3 (from versions: 1.14.5, 1.15.0rc2, 1.15.0)
No matching distribution found for numpy==1.9.3
Installing with
pip install numpy==1.9.3
.. just leads me down the path of esoteric build errors...
numpy/random/mtrand/mtrand.c:34512:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = local_type;
~~~~~~ ^
numpy/random/mtrand/mtrand.c:34513:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = local_value;
.. and so on. Trying to change requirements.txt to use the latest pandas package gets further but fails compiling pyproj:
Any ideas?
Thanks,
Paul
The text was updated successfully, but these errors were encountered: