Speak now
Please Wait Image Converting Into Text...
Embark on a journey of knowledge! Take the quiz and earn valuable credits.
Challenge yourself and boost your learning! Start the quiz now to earn credits.
Unlock your potential! Begin the quiz, answer questions, and accumulate credits along the way.
General Tech Bugs & Fixes 2 years ago
Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.
Turn Your Knowledge into Earnings.
I'm using a RPI 3B
uname -a returns: 4.14.98-v7+ #1200 armv71
uname -a
4.14.98-v7+ #1200 armv71
OS is stretch
stretch
gcc version is 4.9.3
I'm attempting to setup my RPi to be a BLE gateway as per this project on hackster.io. I executed the first few commands:
git clone --recurse-submodules https://github.com/Wolkabout/WolkGateway.git
sudo apt-get install mosquitto cmake python python-pip && python -m pip install conan
then I ran a bash script (configure.sh) that contains the following:
!/usr/bin/env bash cp tools/git/pre-commit .git/hooks/pre-commit chmod +x .git/hooks/pre-commit pushd out conan install -s compiler.libcxx=libstdc++11 --build=missing .. cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release .. popd
the terminal outputs:
line 21: conan: command not found
line 21 is the line with conan.
conan
Then I get a CMake error:
CMakeLists.txt:(20) (include): include could not find load file: /home/pi/Wolk...conanbuildinfo.cmake
PATH
My thought was that the command conan isn't in my $PATH so I checked PIP:
$PATH
PIP
pip show conan
this gave me the location of conan:
/home/pi/.local/lib/python2.7/site-packages
I then added that path to my $PATH:
export PATH=$PATH:/home/pi/.local/lib/python2.7/site-packages
This didn't work, causing the same error when re-running the aforementioned bash script (configure.sh)
I went here and installed conan from source:
git clone https://github.com/conan-io/conan.git cd conan pip install -r conans/requirements.txt
#!/usr/bin/env python import sys conan_repo_path = "/home/pi/conan" # ABSOLUTE PATH TO CONAN REPOSITORY FOLDER sys.path.append(conan_repo_path) from conans.client.command import main main(sys.argv
When installing conan:
the later half:
python -m pip install conan
should be installed using sudo:
sudo python -m pip install conan
If this doesn't work, try uninstalling conan:
pip uninstall conan
and then reinstall:
sudo pip install conan
Currently my RPi is running the configure.sh script successfully.
No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
General Tech 9 Answers
General Tech 7 Answers
General Tech 3 Answers
General Tech 2 Answers
Ready to take your education and career to the next level? Register today and join our growing community of learners and professionals.