Re: problems when installing Modules in python

2019-08-22 Thread AudioGames . net Forum — Developers room : kaigoku via Audiogames-reflector


  


Re: problems when installing Modules in python

My recommendation is to first, before running any script, jump into the Python environment. Just type python in cmd, and trying importing the library. This is just to verify that your imports are either working or not working, even after pip install. If this does not work, one of a number of things could be wrong: you may have conflicting copies of Python (for example, another Python version you explicitly installed, another python version pulled in by a POSIX-like subsystem like Cygwin or Msys2, or python from somewhere in Visual Studio or similar IDE), or Pip is not properly aligned with your Python version. One last measure you can try is typing "python -m pip install library" (without the quotes) and then try importing again. Doing that command ensures that the pip module that actually corresponds to the python version you are using gets used. Finally, if all advice given here does not work, just uninstall and reinstall Python. Also, if you uninstall, make sure you delete all traces of the program, including Pip, pip cache, etc. Usually it can be found under c:\users\your_user_name\appdata\local . A few other things can be found depdning on your Python version. I hope this helps.

URL: https://forum.audiogames.net/post/457151/#p457151




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: problems when installing Modules in python

2019-08-22 Thread AudioGames . net Forum — Developers room : Hijacker via Audiogames-reflector


  


Re: problems when installing Modules in python

So, it seems like Python and Pip are not running under the same Python version in your case. Try this instead:python -m pip install pyperclipThis will make sure to run pip under the very same python you use to run your script.Best Regards.Hijacker

URL: https://forum.audiogames.net/post/457148/#p457148




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: problems when installing Modules in python

2019-08-22 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector


  


Re: problems when installing Modules in python

Type pip install pyperclip

URL: https://forum.audiogames.net/post/457146/#p457146




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: problems when installing Modules in python

2019-08-22 Thread AudioGames . net Forum — Developers room : Remi via Audiogames-reflector


  


Re: problems when installing Modules in python

hi@Ethin, I tryed to run your  script , and when I run it, I get this error.Traceback (most recent call last):                                                                                        File "C:\Users\remik\Documents\test2.py", line 1, in                                                              import pyperclip                                                                                                    ModuleNotFoundError: No module named 'pyperclip'                                                                        should I try uninstalling python, and reinstall it again, and then install all the modules again and see if it works?

URL: https://forum.audiogames.net/post/457123/#p457123




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: problems when installing Modules in python

2019-08-22 Thread AudioGames . net Forum — Developers room : zakc93 via Audiogames-reflector


  


Re: problems when installing Modules in python

Yeah I thought it's unlikely because just using python and pip would both use the default python installation, but couldn't really think of another reason why this would happen. One more thing actually, when you try to install a module again after having already done so (without uninstalling it), does it give you the whole installation message again or just say requirement already satisfied?

URL: https://forum.audiogames.net/post/457093/#p457093




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: problems when installing Modules in python

2019-08-21 Thread AudioGames . net Forum — Developers room : pauliyobo via Audiogames-reflector


  


Re: problems when installing Modules in python

Usually when you type python and pip they point to the same version, even if that's a different version that you installed. So unless you're calling a different python version maybe using even the abbreviation py, when you use the command python and pip they should theorically point to the same version. If you don't have pip fo that version, that's an other topic.

URL: https://forum.audiogames.net/post/457090/#p457090




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: problems when installing Modules in python

2019-08-21 Thread AudioGames . net Forum — Developers room : zakc93 via Audiogames-reflector


  


Re: problems when installing Modules in python

Is there any chance you have multiple installations of python on your system and you're installing modules in a different python than you're using to run the script? Only thing I can think of off the top of my head.

URL: https://forum.audiogames.net/post/457083/#p457083




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: problems when installing Modules in python

2019-08-21 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector


  


Re: problems when installing Modules in python

Yeah, I figured that out pretty quickly after I posted the information. I will update the guide to use pyperclip, Though it may be sometime before I do so, I am quite busy these days.

URL: https://forum.audiogames.net/post/457060/#p457060




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: problems when installing Modules in python

2019-08-21 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector


  


Re: problems when installing Modules in python

The clipboard module is pretty useless because pyperclip does everything that the clipboard module does (if I'm not mistaken). Try this to get your copier to work:import pyperclip
copy, paste = pyperclip.determine_clipboard()
copy("text")

URL: https://forum.audiogames.net/post/457042/#p457042




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: problems when installing Modules in python

2019-08-21 Thread AudioGames . net Forum — Developers room : Remi via Audiogames-reflector


  


Re: problems when installing Modules in python

hiso, I tryed to test the module problem using the script that was in post 2.the script isimport clipboard name=input("what is your name")print ("your name is" +name)clipboard.copy(name)when I run it, I get this errorTraceback (most recent call last):                                                                                        File "C:\Users\remik\Documents\test.py", line 1, in                                                               import clipboard                                                                                                    ModuleNotFoundError: No module named 'clipboard'                                                                        so, I tryed reinstalling the clipboard module, and it "successfully installed.but, when I run the script again, I get the same error.Traceback (most recent call last):                                                                                        File "C:\Users\remik\Documents\test.py", line 1, in                                                               import clipboard                                                                                                    ModuleNotFoundError: No module named 'clipboard'

URL: https://forum.audiogames.net/post/457012/#p457012




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: problems when installing Modules in python

2019-08-21 Thread AudioGames . net Forum — Developers room : pauliyobo via Audiogames-reflector


  


Re: problems when installing Modules in python

As the others said we need more informations to actually give valuable response, but here are a few things I could say1. As dumb as it can sounds, check that the spelling is correct, as it is case sensitive.2. Some modules have let's call it a fake name. Means that when you install them to actually use them you have to import the module with an other name. for example you would type pip install BeautifulSoup4 but you'd do import bs4. So I'd recommend to manually check in the site-packages directory.

URL: https://forum.audiogames.net/post/457005/#p457005




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: problems when installing Modules in python

2019-08-21 Thread AudioGames . net Forum — Developers room : cartertemm via Audiogames-reflector


  


Re: problems when installing Modules in python

Without more details, I don't know how you expect us to provide any sort of assistance.Send your script, name of module, whatever else you think might have some relevance the first time around. the more info the better. While you're here, find "asking questions the smart way" on google and give it a good read.Simply saying "hey this doesn't work can you fix it please and thank you" invites continuous prompting by patient developers. Just so happens the world doesn't have too many good ones that aren't being paid. This is seen quite a lot on mailing lists, time is valuable.

URL: https://forum.audiogames.net/post/457000/#p457000




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: problems when installing Modules in python

2019-08-21 Thread AudioGames . net Forum — Developers room : Remi via Audiogames-reflector


  


Re: problems when installing Modules in python

hi.@amerikranian, I was trying to install the clipboard module. the problem is, it says successfully installed, but when I run the script, it still gives me the module error, evin though it was installed successfully.should I try uninstalling python to see if that helps?

URL: https://forum.audiogames.net/post/456989/#p456989




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: problems when installing Modules in python

2019-08-21 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector


  


Re: problems when installing Modules in python

There is also another issue you may run into.Type in the command and check the last line of the output.If it says "successfully installed package_name package_version" or "requirement already satisfied", you know that the module has been successfully installed. You can follow post 2's instructions.If it says anything else, you know that some sort of an error occurred. You can then  google it and see if there is a solution for your problem.May I ask what module were you trying to install?

URL: https://forum.audiogames.net/post/456974/#p456974




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: problems when installing Modules in python

2019-08-21 Thread AudioGames . net Forum — Developers room : Ilya via Audiogames-reflector


  


Re: problems when installing Modules in python

so, you would do pip install name so for example, pip install clipboardthen, open a new python file and do the folowing to test it, import clipboard name=input("what is your name")print ("your name is" +name)clipboard.copy(name)if that doesn't work, there is a problem

URL: https://forum.audiogames.net/post/456970/#p456970




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector