cppminer
cppminer copied to clipboard
ModuleNotFoundError
Hi,
I am trying to train the model and I am getting this error message.
error: No module named 'cppminer.cpp_parser'
I am not able to resolve the issue .
Thanks
Hi @TenzinJinpa2019 It seems that you didn't add cppminer/cpp_parser
module to your Python module search path, consider to update the PYTHONPATH
environmental variable or projects settings for your IDE.
Hi @TenzinJinpa2019 It seems that you didn't add
cppminer/cpp_parser
module to your Python module search path, consider to update thePYTHONPATH
environmental variable or projects settings for your IDE.
Hello @Kolkir , I have the same issue, but I am not using any IDE, just command line, what is it I have to do exactly to resolve the issue ? Or should I use an IDE like pycharm ?
Hi @OscarMouches as I said you have to configure PYTHONPATH environmental variable to point to the cppminer/cpp_parser
module. For POSIX systems the command line can looks like this: export PYTHONPATH="/home/someuser/cppminer/cpp_parser"
Hi @Kolkir , I'm having the same issue, but I'm using Google Colab. Can you tell, how to configure PYTHONPATH env variable in colab? Stacks solution does not seem to work.