-
-
Notifications
You must be signed in to change notification settings - Fork 31
Python 3.6.0 upgrade breaks existing qgis3-dev #11
Comments
Hi @dakcarto , do you have any workaround for this? |
Seems that works. While it still spits a warning about future from 2.7 being loaded before the python path mangling in install, the build finally completes 👍 . |
Ok, figured it out. When Should be 'fixed' in d3e61f0. I do not think this is specific to |
Recent Homebrew
python3
upgrade from 3.5.x to 3.6.0 causes several issues, fix with:brew update
prior to doing any of thissite-packages
for 3.6 is totally new, so lacks previously installed Python packages. Fix: reinstall withpip3 install future psycopg2 numpy matplotlib pyparsing mock nose2 PyYAML
, etc. (seebrew info qgis3-dev
andbrew info gdal2-python
). You can reference your 3.5site-packages
, possibly usingPYTHONPATH=$(brew --prefix)/lib/python3.5/site-packages pip3 freeze
--with-python3
, e.g.brew upgrade gdal2-python
andbrew reinstall sip --with-python3
. Note:brew upgrade gdal2-python
command ignores thenumpy
requirement, so usepip3
to reinstall that first.You may see issues with other formulae, since there appears to be an issue with
def install
always settingPYTHONPATH=<2.7 site-packages>
andPYTHONHOME=
, though I have not pinned down the problem.The text was updated successfully, but these errors were encountered: