2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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.
répondu il y a 3 ans
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.
répondu il y a 3 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 4 ans
- AWS OFFICIELA mis à jour il y a 6 mois
- AWS OFFICIELA mis à jour il y a 4 ans