2 Answers
- Newest
- Most votes
- Most comments
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.
answered 4 years ago
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.
answered 4 years ago
Relevant content
- asked 4 months ago
- asked a month ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago