Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RehanShakir opened this issue Sep 17, 2023 · 7 comments
Open

Comments

@RehanShakir
Copy link

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
Copy link
Contributor

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
Copy link
Author

No, I am not using a python virtual env

@RehanShakir
Copy link
Author

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

@crest42
Copy link
Collaborator

crest42 commented Oct 23, 2023

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
Copy link
Collaborator

crest42 commented Oct 23, 2023

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
Copy link

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

@crest42
Copy link
Collaborator

crest42 commented Nov 9, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants