ModuleNotFoundError: No module named ‘Tools’
For example, import the tools library into pcharm of MAC
from Tools.scripts.abitype import classify
from sklearn import datasets
from sklearn.model_selection import train_test_split
from sklearn.metrics import classification_report
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.patches import Patch
from sklearn import datasets
from minisom import MiniSom
The first line will report error!!!
It seems that it is very difficult to change the tools variable in MAC environment. The solutions are as follows
Direct import classify
import classify
The test is effective ~
Read More:
- Record pyinnstaller package file execution error modulenotfoundererror: no module named ‘cmath’ solution
- failed to find Build Tools revision 23.0.2 Install Build Tools 23.0.2 and sync project
- Solve the problem of using in tensoft 2. X tf.contrib.slim No module named appears in the package: tensorflow.contrib problem
- Compiling TPC-H tools for Mac
- Python program uses OS. System () method to call exe program, resulting in no response of main program process
- Configuration (9) to solve the problem of “setup tools PIP wheel failed with error code 1”, create virtual environments with Python of anaconda
- The solution of GDB code designed problem in Mac OS X
- No module named numpy error in Python code
- Python – [encoding] in Python os.system Solution to Chinese garbled code when calling CMD command
- ModuleNotFoundError: No module named ‘numpy.testing.nosetester‘
- Modulenotfounderror: no module named ‘CV2’ – (version problem)
- Error running app:Instant Run requires Tools | Android Enable ADB integration‘ to be enabled.
- ModuleNotFoundError: No module named ‘sklearn.datasets.samples_generator‘
- Error no module named ‘in newly installed Python_ sqlite3‘
- Python:ImportError: No module named indexes.base
- To solve the problem of “failed to load vmmr0. R0” (Verr) of VirtualBox under Mac OS X_ SUPLIB_ WORLD_ Writable) “error
- ModuleNotFoundError: No module named ‘tensorflow_core.estimator‘
- Module not found error: the solution to the problem of no module named ‘MySQL’
- Essay (19) Ubuntu 16 + python2.7 update PIP report error no module named typing
- CentOS solves the problem of modulenotfounderror when salt calls python3 script remotely, and solves the problem that PIP3 module cannot be shared by different users