Skip to main content
Tweeted twitter.com/StackGIS/status/1150465095199334401
deleted 38 characters in body; edited title
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

How can I get Getting QGIS to work with my Python2.7 Anaconda Distribution?

I use Python 2.7 from Anaconda installed in a python environment on my computer (MacOS Sierra 10.12). QGIS is installed from the KyngChaos framework, and I know that there are problems with mixing other python distributions (besides the standard mac installed one) with QGIS, but I had the Anaconda Python2.7 working with QGIS up until today when I randomly received an error that the python console could not be loaded.

I then, 1) Uninstalled QGIS 2.16. 2) Installed QGIS 2.18. 3) Added this to my path: /Users/ron/anaconda/envs/python2/bin/, which is the location of my Python distribution from Anaconda.

These are the errors I am receiving from QGIS.

I am basing my actions off of the accepted answer to the accepted answer to this question, howeverSetting QGIS Python version? However I'm having trouble where the accepted answer says "you must modify the symlinks in usr/bin". I am just learning about the file system and I am not really sure how I should go about modifying the symlinks.

I do have VirtualBox with Linux on my computer, so if all else fails I could just install QGIS with Conda on Linux (as right now the Conda QGIS install is only for Linx), but I feel like that would be taking the easy way out and I want to try and figure this out first.

How can I get QGIS to work with my Python2.7 Anaconda Distribution

I use Python 2.7 from Anaconda installed in a python environment on my computer (MacOS Sierra 10.12). QGIS is installed from the KyngChaos framework, and I know that there are problems with mixing other python distributions (besides the standard mac installed one) with QGIS, but I had the Anaconda Python2.7 working with QGIS up until today when I randomly received an error that the python console could not be loaded.

I then, 1) Uninstalled QGIS 2.16. 2) Installed QGIS 2.18. 3) Added this to my path: /Users/ron/anaconda/envs/python2/bin/, which is the location of my Python distribution from Anaconda.

These are the errors I am receiving from QGIS.

I am basing my actions off of the accepted answer to this question, however I'm having trouble where the accepted answer says "you must modify the symlinks in usr/bin". I am just learning about the file system and I am not really sure how I should go about modifying the symlinks.

I do have VirtualBox with Linux on my computer, so if all else fails I could just install QGIS with Conda on Linux (as right now the Conda QGIS install is only for Linx), but I feel like that would be taking the easy way out and I want to try and figure this out first.

Getting QGIS to work with Python2.7 Anaconda Distribution?

I use Python 2.7 from Anaconda installed in a python environment on my computer (MacOS Sierra 10.12). QGIS is installed from the KyngChaos framework, and I know that there are problems with mixing other python distributions (besides the standard mac installed one) with QGIS, but I had the Anaconda Python2.7 working with QGIS up until today when I randomly received an error that the python console could not be loaded.

I then, 1) Uninstalled QGIS 2.16. 2) Installed QGIS 2.18. 3) Added this to my path: /Users/ron/anaconda/envs/python2/bin/, which is the location of my Python distribution from Anaconda.

These are the errors I am receiving from QGIS.

I am basing my actions off of the accepted answer to Setting QGIS Python version? However I'm having trouble where the accepted answer says "you must modify the symlinks in usr/bin". I am just learning about the file system and I am not really sure how I should go about modifying the symlinks.

I do have VirtualBox with Linux on my computer, so if all else fails I could just install QGIS with Conda on Linux (as right now the Conda QGIS install is only for Linx), but I feel like that would be taking the easy way out and I want to try and figure this out first.

replaced http://gis.stackexchange.com/ with https://gis.stackexchange.com/
Source Link

I use Python 2.7 from Anaconda installed in a python environment on my computer (MacOS Sierra 10.12). QGIS is installed from the KyngChaos framework, and I know that there are problems with mixing other python distributions (besides the standard mac installed one) with QGIS, but I had the Anaconda Python2.7 working with QGIS up until today when I randomly received an error that the python console could not be loaded.

I then, 1) Uninstalled QGIS 2.16. 2) Installed QGIS 2.18. 3) Added this to my path: /Users/ron/anaconda/envs/python2/bin/, which is the location of my Python distribution from Anaconda.

These are the errors I am receiving from QGIS.

I am basing my actions off of the accepted answer to this questionthe accepted answer to this question, however I'm having trouble where the accepted answer says "you must modify the symlinks in usr/bin". I am just learning about the file system and I am not really sure how I should go about modifying the symlinks.

I do have VirtualBox with Linux on my computer, so if all else fails I could just install QGIS with Conda on Linux (as right now the Conda QGIS install is only for Linx), but I feel like that would be taking the easy way out and I want to try and figure this out first.

I use Python 2.7 from Anaconda installed in a python environment on my computer (MacOS Sierra 10.12). QGIS is installed from the KyngChaos framework, and I know that there are problems with mixing other python distributions (besides the standard mac installed one) with QGIS, but I had the Anaconda Python2.7 working with QGIS up until today when I randomly received an error that the python console could not be loaded.

I then, 1) Uninstalled QGIS 2.16. 2) Installed QGIS 2.18. 3) Added this to my path: /Users/ron/anaconda/envs/python2/bin/, which is the location of my Python distribution from Anaconda.

These are the errors I am receiving from QGIS.

I am basing my actions off of the accepted answer to this question, however I'm having trouble where the accepted answer says "you must modify the symlinks in usr/bin". I am just learning about the file system and I am not really sure how I should go about modifying the symlinks.

I do have VirtualBox with Linux on my computer, so if all else fails I could just install QGIS with Conda on Linux (as right now the Conda QGIS install is only for Linx), but I feel like that would be taking the easy way out and I want to try and figure this out first.

I use Python 2.7 from Anaconda installed in a python environment on my computer (MacOS Sierra 10.12). QGIS is installed from the KyngChaos framework, and I know that there are problems with mixing other python distributions (besides the standard mac installed one) with QGIS, but I had the Anaconda Python2.7 working with QGIS up until today when I randomly received an error that the python console could not be loaded.

I then, 1) Uninstalled QGIS 2.16. 2) Installed QGIS 2.18. 3) Added this to my path: /Users/ron/anaconda/envs/python2/bin/, which is the location of my Python distribution from Anaconda.

These are the errors I am receiving from QGIS.

I am basing my actions off of the accepted answer to this question, however I'm having trouble where the accepted answer says "you must modify the symlinks in usr/bin". I am just learning about the file system and I am not really sure how I should go about modifying the symlinks.

I do have VirtualBox with Linux on my computer, so if all else fails I could just install QGIS with Conda on Linux (as right now the Conda QGIS install is only for Linx), but I feel like that would be taking the easy way out and I want to try and figure this out first.

edited tags
Link
underdark
  • 84.5k
  • 22
  • 233
  • 415
Source Link
nukenine
  • 201
  • 1
  • 6
Loading