Closed paranoya closed 5 years ago
@paranoya Installing software directly into the system's site-package directory could potentially break your OS. Here's a safer way to do this:
$ sudo apt-get update
$ sudo apt-get install -y python3-venv
$ mkdir ~/venvs
$ python3 -m venv ~/venvs/science
$ source ~/venvs/science/bin/activate
(science) $ pip install --upgrade pip setuptools
(science) $ pip install pysynphot
Please let us know if you're still seeing errors after doing this.
Upgrading setuptools did indeed solve the problem. I was not aware of the point about Python environments; thanks a lot for both tips!
Hi,
I get the following error when trying to install pysynphot with pip3:
¿Could you please provide any help?
Thanks a lot, Yago
This is the full output of the "sudo -H pip3 install pysynphot" command, run under Ubuntu 18.04: