2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
Hi Darren,
Install with command pip3 install --user -r requirements.txt
makes it install in the user home directory and not in some system path.
Few things you can try (In the order)
- Try to install the requirements without the
--user
option. ie,pip3 install -r requirements.txt
- If the above does not work, then I suspect some sought of mismatch in the python version (multiple installation?). You can be explicit about the python version and use python to install the requirements via pip. ie
python3.7 -m pip install -r requirements.txt
I know pip3 install --user -r requirements.txt
is in the documentation. Once you confirm that this works for you, I will get that rectified.
beantwortet vor 3 Jahren
0
Thanks. I didn't realize that cbor2 was getting installed to my user profile. #1 fixed the issue, but, I needed to use 'sudo pip3 install -r requirements.txt' Without sudo, it still installed to the ~/.local/lib/python3.6/site-packages location. Now, both stream-manager and cbor are in /usr/local/lib/python3.6/dist-packages.
I'm using ubuntu 18.04, fyi.
beantwortet vor 3 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 5 Monaten
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 9 Monaten