Код: Выделить всё
/
├─ data/
│ ├─ dataset_2017/
│ │ ├─ dataset_2017_8_formatted_macrosremoved/
│ │ └─ libtoolingfeatures_for_public_testing/
│ └─ ClassificationModels/
├─ evaluations/
│ ├─ blackbox/
│ │ └─ attack/
│ ├─ tutorial_classification.py
│ ├─ tutorial_classification_2.py
│ └─ learning/
│ ├─ post_learning_steps/
│ └─ rf_usenix/
├─ classification/
├─ featureextractionV2/
| |- __init__.py
├─ rnn_css/
├─ UnitTests/
└─ PyProject/
< /code>
Например, если я хочу запустить классификационный тест, я использую < /p>
conda activate myenv
cd .\evaluations\
python.exe tutorial_classification.py
< /code>
возвращает эту ошибку: < /p>
python.exe tutorial_classification.py
Traceback (most recent call last):
File "tutorial_classification.py", line 33, in
from featureextractionV2.StyloFeaturesProxy import StyloFeaturesProxy
ModuleNotFoundError: No module named 'featureextractionV2'
The same thing happens when I try to run other tests in other folders and running those files returns the same error saying that no module named evasion
For more details
I'm running Windows 11 и я использую сообщество Pycharm в качестве редактора.
Подробнее здесь: https://stackoverflow.com/questions/795 ... al-modules