MaltegoTech / maltego-trx

Maltego Transform library for Python
MIT License
218 stars 45 forks source link

'maltego-trx' is not recognized as an internal or external command, #57

Open RehanShakir opened 11 months ago

RehanShakir commented 11 months ago

Issue on Mac and Windows

After successfully installing maltego-trx using command pip install maltego-trx

Getting error while running this command maltego-trx start <project-name>.

Error on Mac WhatsApp Image 2023-09-17 at 12 33 47

Error on Windows image

tendai-zw commented 11 months ago

Are you using a python virtual env? if you are please make sure you execute it in the same venv as you installed. Also try restarting you shell/terminal and let us know how it goes.

RehanShakir commented 11 months ago

No, I am not using a python virtual env

RehanShakir commented 11 months ago

How can I set maltego-trx Environment Variable on mac?

crest42 commented 10 months ago

Have you tried re-opening your terminal? Also could you maybe provide the output of "pip freeze" so we can check the packet is actually installed. In any case we always recommend to use a python virtual environment for your trx projects.

crest42 commented 10 months ago

Also please check the output of "pip install maltego-trx" for something like this:

WARNING: The script maltego-trx.exe is installed in 'C:\Users...\Python311\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

If you experience this warning we suggest installing the trx package in a virtual envrionment or manually adding the folder to your PATH environment variable.

wichhartech commented 10 months ago

I am having this same problem. even after maltego-trx shows up in the pip freeze command.

crest42 commented 10 months ago

Please see my last message @wichhartech. Can you confirm you are not seeing the above output on "pip install" and that you are using a virtual environment?