Python Forum
Can't install pip for Python 3.7.4 in Ubuntu virtual OS
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't install pip for Python 3.7.4 in Ubuntu virtual OS
#9
Okay, I decided to scrap Ubuntu and install Linux Mint Cinnamon 18.0 instead. This seems to have gotten me much farther than I was before. Python 3.5 is already installed. Pip 8 was already installed, but I updated it to version 19. Before doing that, however, I installed click because the script I'm using imports click as the first step followed by re. So then I tried to run my script but got the same error I was getting on Windows 10, which is that Python couldn't find click. This didn't make sense to me because I just installed it. So, I had to search and found that it was installed in the site-packages directory for Python 2.7, which is also installed. However, I need to use Python 3.5. So, I've been trying to figure out how to install click into Python 3.5 dist-packages folder but haven't been able to. Another option would be to modify the system path for Python 3.5 to find click where it's currently located, but the articles I've read don't tell me how to do that either. Is there someone here who can explain one of these options to me? I'll repeat them below:

1. How do I install click into Python 3.5 dist-packages directory?
or
2. How do I change the system path so that Python 3.5 can find click in the site-packages directory under Python 2.7?
Reply


Messages In This Thread
RE: Can't install pip for Python 3.7.4 in Ubuntu virtual OS - by netbids - Dec-31-2019, 03:24 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Best practice on using virtual environments in Python bytecrunch 6 1,042 Feb-14-2024, 03:22 PM
Last Post: snippsat
  Virtual Env changing mysql connection string in python Fredesetes 0 420 Dec-20-2023, 04:06 PM
Last Post: Fredesetes
  Installing python packages in a virtual environment Led_Zeppelin 1 826 Aug-15-2023, 08:18 PM
Last Post: deanhystad
  Python in Singularity Container on Ubuntu erdemath 0 945 Aug-31-2022, 02:17 PM
Last Post: erdemath
  Python icons in Ubuntu KatManDEW 4 86,934 Aug-12-2022, 08:33 AM
Last Post: rob101
  can not install pymesh in ubuntu jerry 2 2,237 Mar-23-2022, 02:04 AM
Last Post: jerry
  Python 3.8 on Ubuntu 20.04 erdemath 1 1,411 Mar-07-2022, 09:31 PM
Last Post: Larz60+
  How do I link the virtual environment of that project to the 3.9.2 version of python? Bryant11 1 1,427 Feb-26-2022, 11:15 AM
Last Post: Larz60+
  install apache-airflow[postgres,google] on Python 3.8.12 virtual env ShahajaK 1 9,048 Oct-07-2021, 03:05 PM
Last Post: Larz60+
  Python script in Ubuntu core Nithin_Kumar 1 3,417 May-11-2021, 01:14 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020