Giter Site home page Giter Site logo

No module named 'urllib2' about evilosx HOT 15 CLOSED

marten4n6 avatar marten4n6 commented on July 20, 2024
No module named 'urllib2'

from evilosx.

Comments (15)

tinamina12 avatar tinamina12 commented on July 20, 2024 1

screen shot 2018-06-25 at 3 12 45 pm
still getting this error. may be i am not setting environment properly.

from evilosx.

Marten4n6 avatar Marten4n6 commented on July 20, 2024

The client side is written in python2, you should be using the command:
python Launcher-915353.py
You don't need to use sudo.

Thanks!

from evilosx.

tinamina12 avatar tinamina12 commented on July 20, 2024

screen shot 2018-06-22 at 2 27 10 pm
still getting the same error. this is maybe because i have only python3 in my system?

from evilosx.

tinamina12 avatar tinamina12 commented on July 20, 2024

its saying command not found.

from evilosx.

Marten4n6 avatar Marten4n6 commented on July 20, 2024

Can you try the command:
/usr/bin/python Launcher-X.py

I think the issue is that the shebang in the Launcher is currently
#!/usr/bin/env python
but should be
#!/usr/bin/env python2

from evilosx.

tinamina12 avatar tinamina12 commented on July 20, 2024

i have no idea, i tried but still getting the same error. when i do python -V i get 3.6.4 only.

from evilosx.

Marten4n6 avatar Marten4n6 commented on July 20, 2024

It's having trouble finding python2 which should be installed by default on every Mac.
Have you uninstalled it by chance? Also can you post the output of:

which -a python python3

from evilosx.

tinamina12 avatar tinamina12 commented on July 20, 2024

screen shot 2018-06-25 at 8 41 31 am

from evilosx.

tinamina12 avatar tinamina12 commented on July 20, 2024

and i noticed one thing more, when i downloaded this code there was no folder of builds and output. i manually created both. Any idea why is it so? what wrong i am doing?

from evilosx.

Marten4n6 avatar Marten4n6 commented on July 20, 2024

Yeah, my mistake, the newest version automatically creates those directories when running builder.py or start.py (redownload this repository). Try specify the full path to python (which should be version 2):

/usr/bin/python -V

Hopefully this command gives you python2.X.X if so please let me know.

from evilosx.

tinamina12 avatar tinamina12 commented on July 20, 2024

yes finally it is giving Python 2.7.10. But still its giving the same error, no module named urlib2. i cant understand how to use both python 2 and 3 in macos.

from evilosx.

Marten4n6 avatar Marten4n6 commented on July 20, 2024

Can you let me know if the latest version fixes this?
Please redownload the repository and create the launcher again.

Thanks!

from evilosx.

tinamina12 avatar tinamina12 commented on July 20, 2024

yes i identified my mistake, i was not setting environment properly due to which launcher was not working properly. thank you so so so much for your help 👍

from evilosx.

Marten4n6 avatar Marten4n6 commented on July 20, 2024

The python launcher deletes itself after you run it, you were trying to run a file which didn't exist.
Thanks.

from evilosx.

Woogie20 avatar Woogie20 commented on July 20, 2024

Can you please explain what you did to 'set the environment properly?' No matter what I do I cannot get the launcher to do anything except say: No module named 'urllib2'

from evilosx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.