installing pygame in python, but untill now doesnt work [closed] - python

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I try to install pygame. But untill now doesnt work.
If i go to: http://localhost:17714/
I see this:
And if I try to install pygame like this:
I also went to:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame
And I added the .whl file to this directory:
So what I am doing wrong??
Thank you!! Will be nice if somebody can help me.
But I am working on windows 10 - 64bit version
I get this error:
Oke, I could upgrade. But I still get the error:
wowwwwww:
I installed: a other version. And boemmm it works. See:

Try this website:
https://www.webucator.com/blog/2015/03/installing-the-windows-64-bit-version-of-pygame/
I had a look at the comments and it looks like a majority got it to work

Related

Flake8 doesn't work on remote repository on VSCode [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 days ago.
Improve this question
I'm pretty new to Python (and VSCode, and programming, on general...), and i'm getting trouble with Flake8 on VSCode.
When I'm using local repositories, it works properly, but when I'll work with remote repositories from GitHub, I receive the following message:
Couldn't start client Flake8.
I've been searching on the internet for a solution, but can't find anything.
If it matters, I'm using Ubuntu 22.4.
Can anyone help me, please?
Thanks a lot!
I've searched a lot on the internet and couldn't find anything.

Using shodan from the terminal [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I've been looking forward to downloading the command-line interface for "Shodan".
On the website they say that i basically have to type "pip install -U --user shodan" in my cmd, so i did multiple times and it now says that the requirement are already satisfied, which feels normal since i did it multiple times trying to fix said problem.
Now the problem is, next step is to basically type "shodan" in the cmd, problem is it says 'shodan' isn't recognized.
What am i supposed to do ! :(
You need to add the path of the scripts to your system PATH variable:
It is something like this:
C:\Python38\Scripts
When you run pip install, it installs an exe file under the Scripts folder of your python installation. You should add this path to the PATH variable as described in the link. This makes the exe available in the terminal.
See this guide for more information:
https://datatofish.com/add-python-to-windows-path/

I can't install the nmap module on python [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
enter image description here
hello I have a problem with my python code that I am creating I wanted to import the nmap module on my code but I have a problem with line 5 of the module
someone would have a little idea please
enter image description here
The nmap Python module only works if you actually have nmap installed. It doesn't come by default on Windows. You can get it here.

When ever I try to import any open source library or try to upgrade my pip this error pops up. Can someone please help me? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
This is the error
ImportError: cannot import name 'raise_for_status' from 'pip._internal.network.utils' (c:\users\aditya\appdata\local\pro
grams\python\python39\lib\site-packages\pip_internal\network\utils.py)
Upgrading pip or adding --no-cache-dir to the command might help.

How to import modified library instead of previously installed one? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I am new to GitHub and as in the title I am asking for help.
I originally installed the library using pip install. Then I have to make some changes in the code and forked it and downloaded it local. I have made my changes and I am trying to import the modified code in python. I have tried to push it on GitHub but I couldn't find a way to import it from there.
Thank you for your time
import <module>
And use the module in python.
You should do the following in the terminal:
cd package_dir
pip install .
This will replace the original and install the modified package.
Now you can import your modified package in python
Additionally, if you intend to keep developing the package, you could check this out: https://setuptools.readthedocs.io/en/latest/setuptools.html#development-mode

Categories