Home > Software design >  Failure to import python package 'primers'
Failure to import python package 'primers'

Time:09-29

I think I'm having a simple import command problem, or possibly a permissions problem?

I installed the package "primers" with pip3 install primers as per the docs here It's definitely installed, because it runs in the CLI

but in python, the command from primers import primers results in the error "ModuleNotFoundError: No module named 'primers'"

which python and which primers point to adjacent locations in bin/

so... what should i be trying to try to fix this and import this package? ideas?

CodePudding user response:

Maybe you can check these:

  1. Please make sure you are in the same environment
  2. check if the module is installed in your env: pip3 list
  3. check your default python version.

CodePudding user response:

Use the pip3 uninstall primers command then use pip3 install primers command. Answer me back if you still have a error

  • Related