0

I am not able to install connector for Snowflake Python using the below command :

python3 -m pip3 install --upgrade snowflake-connector-python

Its failing with below error :

/home/ssg.petsmart.com/nrahman/python3.8.5/bin/python3: No module named pip3

I have the pip3 packages present in lib location of Python3. I do not know why it is not working.

bad_coder
  • 11,289
  • 20
  • 44
  • 72
Naveed
  • 361
  • 1
  • 7
  • 14

2 Answers2

0

Use if it's the first time you are installing it

python3 -m pip install snowflake-connector-python

otherwise

python3 -m pip install --upgrade snowflake-connector-python
demircioglu
  • 3,069
  • 1
  • 15
  • 22
  • Thanks for responding. I used below : python3 -m pip3 install snowflake-connector-python It failed with error : /home/ssg.petsmart.com/nrahman/python3.8.5/bin/python3: No module named pip3 – Naveed Jul 30 '20 at 20:33
  • Use `python3 -m pip install snowflake-connector-python` as instructed above – demircioglu Jul 30 '20 at 20:57
  • Hi, I had installed pip3 on my linux machine . I do not have pip. – Naveed Jul 30 '20 at 21:27
  • pip is a package manager for python packages, if you are using python 3 you have 2 options. 1 : run `pip3 ...` or 2 : run `python3 -m pip ...` I do not have anything else to add this – demircioglu Jul 30 '20 at 22:30
0

Error might be occurring with the version of python. Python version 3.5 is the best stable version for snowflake connector installation. For me below one worked well.

python3 -m pip install --upgrade snowflake-connector-python==2.1.1

for jupyter notebook use

!pip install --upgrade snowflake-connector-python==2.1.1 --user

Supriya M
  • 14
  • 9