datawolf
datawolf

Reputation: 51

Install Python3.7 on Ubuntu Machine, dist-packages empty

I've installed Python3.7 on Ubuntu using sudo apt-get install python3.7. Python3.7 installs, but the dist-packages folder is empty and pip and other packages cannot be installed.

Is there a way to build out the dist-packages folder?

Upvotes: 0

Views: 1476

Answers (2)

ti7
ti7

Reputation: 18792

You should install pip3 through apt too!

sudo apt install python3-pip

Upvotes: 1

Joshh156
Joshh156

Reputation: 53

You could try and start again following the guide given by python or see if there's anything you've missed. https://docs.python-guide.org/starting/install3/linux/

Also I'm not sure if this will work, but try sudo apt-get install python.

Upvotes: 0

Related Questions