Datalux / Osintgram

Osintgram is a OSINT tool on Instagram. It offers an interactive shell to perform analysis on Instagram account of any users by its nickname
GNU General Public License v3.0
9.76k stars 2.16k forks source link

Creating virtual environment fails - "Error: name 'cmd' is not defined" #668

Closed Vettl5 closed 1 year ago

Vettl5 commented 1 year ago

I am trying to execute "sudo python3 -m venv venv" to create a virtual environment in Osintgram, but all i can get is "Error: name 'cmd' is not defined". Platform is Kali Linux with latest updates.

Unbenannt

Any suggestions? Am i missing something? Thanks for helping advice in advance :)

ImHaashim commented 1 year ago

what I did was cd into the venv, then cd into scripts, then type activate.ps1 and that should load the environment

Vettl5 commented 1 year ago

Unfortunately there is no directory named scripts in venv. Maybe an installation error from my side? I installed and removed it already 2 times

ImHaashim commented 1 year ago

Perhaps, you should have a venv file installed from the previous step, but then again I have no idea about anything about code, I only learned so I can track down a blackmailer lol

1qaz0okm commented 1 year ago

I've never used venv its not necessary

Trice254 commented 1 year ago

have you tried to install the python environment

sudo apt-get install python3-venv

works like a charm

ISaefuloh commented 1 year ago

i had the same problem. try this command to create virtualenv : "virtualenv env" image

Sufyanzaki commented 1 year ago

hi, this problem is because you have not installed python3-venv package , sudo apt-get install python3-venv

Vettl5 commented 1 year ago

have you tried to install the python environment

sudo apt-get install python3-venv

works like a charm

That worked really fine, thanks for your help. But now i've ran into a new problem. In general, i think Osintgram is more buggy than ever before, unfortunately. I switched now to instagent, which is basicly Osintgram but modified. Still not perfect, but more straight forward. (https://github.com/t-abraham/instagent)

Sumanabhi675 commented 9 months ago

Unfortunately there is no directory named scripts in venv. Maybe an installation error from my side? I installed and removed it already 2 times

same here