#StackBounty: #python #python3 #anaconda #ide Cant change python interpreter in Visual Code on Mac

Bounty: 50

In my console (iterm2)
which python gives /Users/anders/anaconda3/bin/python

In Visual Code’s built in terminal
which python gives /usr/bin/python

Since I want to use anacondas python installation I use CMD+SHIFT+P(Python: Select Interpreter) and there I see ~/anaconda3/bin/python so I select that one.

However this does not take effect in my terminal. I have tried the following to make it reflect when doing which python

  • Open a new terminal tab
  • Restart program

And if I go back to confirm active interpreter, it does say anaconda. But still it uses the one from /usr/bin/python. Whats going on here?


Get this bounty!!!

#StackBounty: #python3 #postgresql #python-2.7 Error: could not determine PostgreSQL version from '10.4'

Bounty: 50

getting error while installing uniq

Error message:

Downloading https://engci-maven-master.cisco.com/artifactory/api/pypi/apic-em-pypi-group/packages/86/fd/cc8315be63a41fe000cce20482a917e874cdc1151e62cb0141f5e55f711e/psycopg2-2.6.1.tar.gz (371kB)
    100% |u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588| 378kB 458kB/s 
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info/psycopg2.egg-info
    writing pip-egg-info/psycopg2.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
    writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
    Error: could not determine PostgreSQL version from '10.4'


----------------------------------------

Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-_cf1z03a/psycopg2/

Ubuntu 18.04

how can i install correctly

Command used:
pip3 install uniq==2.1.22.* –no-cache-dir –index-url=https://engci-maven-master.cisco.com/artifactory/api/pypi/apic-em-pypi-group/simple


Get this bounty!!!

#StackBounty: #python3 #postgresql #python-2.7 Error: could not determine PostgreSQL version from '10.4'

Bounty: 50

getting error while installing uniq

Error message:

Downloading https://engci-maven-master.cisco.com/artifactory/api/pypi/apic-em-pypi-group/packages/86/fd/cc8315be63a41fe000cce20482a917e874cdc1151e62cb0141f5e55f711e/psycopg2-2.6.1.tar.gz (371kB)
    100% |u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588| 378kB 458kB/s 
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info/psycopg2.egg-info
    writing pip-egg-info/psycopg2.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
    writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
    Error: could not determine PostgreSQL version from '10.4'


----------------------------------------

Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-_cf1z03a/psycopg2/

Ubuntu 18.04

how can i install correctly

Command used:
pip3 install uniq==2.1.22.* –no-cache-dir –index-url=https://engci-maven-master.cisco.com/artifactory/api/pypi/apic-em-pypi-group/simple


Get this bounty!!!

#StackBounty: #python3 #postgresql #python-2.7 Error: could not determine PostgreSQL version from '10.4'

Bounty: 50

getting error while installing uniq

Error message:

Downloading https://engci-maven-master.cisco.com/artifactory/api/pypi/apic-em-pypi-group/packages/86/fd/cc8315be63a41fe000cce20482a917e874cdc1151e62cb0141f5e55f711e/psycopg2-2.6.1.tar.gz (371kB)
    100% |u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588| 378kB 458kB/s 
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info/psycopg2.egg-info
    writing pip-egg-info/psycopg2.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
    writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
    Error: could not determine PostgreSQL version from '10.4'


----------------------------------------

Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-_cf1z03a/psycopg2/

Ubuntu 18.04

how can i install correctly

Command used:
pip3 install uniq==2.1.22.* –no-cache-dir –index-url=https://engci-maven-master.cisco.com/artifactory/api/pypi/apic-em-pypi-group/simple


Get this bounty!!!

#StackBounty: #python3 #postgresql #python-2.7 Error: could not determine PostgreSQL version from '10.4'

Bounty: 50

getting error while installing uniq

Error message:

Downloading https://engci-maven-master.cisco.com/artifactory/api/pypi/apic-em-pypi-group/packages/86/fd/cc8315be63a41fe000cce20482a917e874cdc1151e62cb0141f5e55f711e/psycopg2-2.6.1.tar.gz (371kB)
    100% |u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588| 378kB 458kB/s 
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info/psycopg2.egg-info
    writing pip-egg-info/psycopg2.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
    writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
    Error: could not determine PostgreSQL version from '10.4'


----------------------------------------

Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-_cf1z03a/psycopg2/

Ubuntu 18.04

how can i install correctly

Command used:
pip3 install uniq==2.1.22.* –no-cache-dir –index-url=https://engci-maven-master.cisco.com/artifactory/api/pypi/apic-em-pypi-group/simple


Get this bounty!!!

#StackBounty: #python3 #postgresql #python-2.7 Error: could not determine PostgreSQL version from '10.4'

Bounty: 50

getting error while installing uniq

Error message:

Downloading https://engci-maven-master.cisco.com/artifactory/api/pypi/apic-em-pypi-group/packages/86/fd/cc8315be63a41fe000cce20482a917e874cdc1151e62cb0141f5e55f711e/psycopg2-2.6.1.tar.gz (371kB)
    100% |u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588| 378kB 458kB/s 
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info/psycopg2.egg-info
    writing pip-egg-info/psycopg2.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
    writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
    Error: could not determine PostgreSQL version from '10.4'


----------------------------------------

Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-_cf1z03a/psycopg2/

Ubuntu 18.04

how can i install correctly

Command used:
pip3 install uniq==2.1.22.* –no-cache-dir –index-url=https://engci-maven-master.cisco.com/artifactory/api/pypi/apic-em-pypi-group/simple


Get this bounty!!!

#StackBounty: #python3 #postgresql #python-2.7 Error: could not determine PostgreSQL version from '10.4'

Bounty: 50

getting error while installing uniq

Error message:

Downloading https://engci-maven-master.cisco.com/artifactory/api/pypi/apic-em-pypi-group/packages/86/fd/cc8315be63a41fe000cce20482a917e874cdc1151e62cb0141f5e55f711e/psycopg2-2.6.1.tar.gz (371kB)
    100% |u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588| 378kB 458kB/s 
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info/psycopg2.egg-info
    writing pip-egg-info/psycopg2.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
    writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
    Error: could not determine PostgreSQL version from '10.4'


----------------------------------------

Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-_cf1z03a/psycopg2/

Ubuntu 18.04

how can i install correctly

Command used:
pip3 install uniq==2.1.22.* –no-cache-dir –index-url=https://engci-maven-master.cisco.com/artifactory/api/pypi/apic-em-pypi-group/simple


Get this bounty!!!

#StackBounty: #python3 #postgresql #python-2.7 Error: could not determine PostgreSQL version from '10.4'

Bounty: 50

getting error while installing uniq

Error message:

Downloading https://engci-maven-master.cisco.com/artifactory/api/pypi/apic-em-pypi-group/packages/86/fd/cc8315be63a41fe000cce20482a917e874cdc1151e62cb0141f5e55f711e/psycopg2-2.6.1.tar.gz (371kB)
    100% |u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588u2588| 378kB 458kB/s 
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info/psycopg2.egg-info
    writing pip-egg-info/psycopg2.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
    writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
    Error: could not determine PostgreSQL version from '10.4'


----------------------------------------

Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-_cf1z03a/psycopg2/

Ubuntu 18.04

how can i install correctly

Command used:
pip3 install uniq==2.1.22.* –no-cache-dir –index-url=https://engci-maven-master.cisco.com/artifactory/api/pypi/apic-em-pypi-group/simple


Get this bounty!!!