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
#5
snippsat, I tried your suggestion but got an error after the first line, which is as follows:

Error: need a single repository as argument.

I have two other questions that occurred to me this morning. Originally, I had installed the version of Python that came with Ubuntu 15.04, which is version 3.4. But that version didn't install pip, and I wasn't able to install pip because it couldn't be found. That's why I decided to install a newer version. The reason I chose version 3.7.4 is that the developer of the script that I want to use has version 3.7. However, I couldn't find version 3.7 for Ubuntu, so I had to go with 3.7.4. Anyway, during the installation of version 3.7.4, I remember seeing a lot of messages scroll by that appeared to be errors. But my version inquiry returned the correct version number. So, if I ever do get pip installed but end up having problems running Python, I'm wondering if I'll have to revert back to version 3.4 and, if I do have to do that, will I be able to install pip and click for that version?

My second question pertains to the Windows 10 version of Python 3.7. I read somewhere that the best way to install that version is to do so from the Microsoft Store because it will automatically set up the correct path for running Python from any directory. So, I decided to install that version in place of the version 3.8 that I had previously installed from the Python download page because of the possibility that the reason I couldn't get the script to work is that I had a newer version of Python than was used for creating the script (3.8 vs. 3.7). But when I tried to run the script with version 3.7 for Windows 10, I got the same results that I got with version 3.8. Here's my question. Is it typical for scripts that are created in one OS environment (Linux, for example) to not work properly in another OS environment (Windows 10, for example), or am I not doing something right?
Reply


Messages In This Thread
RE: Can't install pip for Python 3.7.4 in Ubuntu virtual OS - by netbids - Dec-30-2019, 04:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Best practice on using virtual environments in Python bytecrunch 6 1,008 Feb-14-2024, 03:22 PM
Last Post: snippsat
  Virtual Env changing mysql connection string in python Fredesetes 0 417 Dec-20-2023, 04:06 PM
Last Post: Fredesetes
  Installing python packages in a virtual environment Led_Zeppelin 1 816 Aug-15-2023, 08:18 PM
Last Post: deanhystad
  Python in Singularity Container on Ubuntu erdemath 0 942 Aug-31-2022, 02:17 PM
Last Post: erdemath
  Python icons in Ubuntu KatManDEW 4 85,080 Aug-12-2022, 08:33 AM
Last Post: rob101
  can not install pymesh in ubuntu jerry 2 2,226 Mar-23-2022, 02:04 AM
Last Post: jerry
  Python 3.8 on Ubuntu 20.04 erdemath 1 1,409 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,420 Feb-26-2022, 11:15 AM
Last Post: Larz60+
  install apache-airflow[postgres,google] on Python 3.8.12 virtual env ShahajaK 1 8,862 Oct-07-2021, 03:05 PM
Last Post: Larz60+
  Python script in Ubuntu core Nithin_Kumar 1 3,407 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