tried re-installing more than once. tried opening from cmd and get the following error: python error
Am new to programming so stuck trying to solve this.
things tried: re-installing (user only, all users), previous version 3.8
things i know: a previous software seems to use python files under 2.8 something.
any help is much appreciated.
Thanks
Related
Good morning everyone,
MacBook Air 2017.
I am new to code, and I have just started to learn a few lines of Python. I had installed version 3.8 a few months ago, and now I have started learning a bit more seriously. I found out about the pip command, but trying to install the docx pip through "pip install python-docx" showed me an error.
To be completely honest, I started to watch on the internet how to fix this problem, but I didn't really understand what I was doing. I tried to install Pyenv to somehow correct the error by making Python 3.9.4 the default version for the Mac, following this website https://opensource.com/article/19/5/python-3-default-mac. I tried to modify the .bash trough "touch ~/.bash_profile; open ~/.bash_profile", hoping this would somehow fix the issue following How do I edit $PATH (.bash_profile) on OSX?. In the end, I just decided to uninstall both 3.8 and 3.9.4 to somehow start again through https://apple.stackexchange.com/questions/284824/remove-and-reinstall-python-on-mac-can-i-trust-these-old-references, but nothing happened. At this moment in time, I have no clue what happened and if somehow I have made things even worse (which I probably did).
Right now, whenever I use any command with pip an error comes up, and I don't know how to fix it in order to be able to use modules & pip in Python. The error could be the same as the following one that I have attached to the post, which comes up after writing commands in terminal:
Image with a few errors
Thanks a lot, Bye.
it might be a pathing issue since the first error I got on script was the pygame module not existing and after trying to install the module on the terminal i keep getting a DEPRECATION message saying python 2.7 reached the end of it's life.......
I'm trying to figure out how to set my atom text editor path right and figure out how to use pip 3 on the terminal any advice on what to do?
just for context this was all working until sometime ago. I haven't downloaded anything since then.
Have u tried simply uninstalling python and reinstalling the newest version? Had this issue some times when teaching python, and uninstalling + reinstalling plus considering the correct environment variable path ( https://discuss.atom.io/t/running-python-on-atom/49460) solved it always so far, good luck!
I am trying to convert my .py file to an exe file. I've done it in the past but for some reason it isn't working anymore. I am using Python 2.7 and have other versions installed as well but my application won't work without 2.7. If I do python activityKivy.py it runs perfectly. I also tried with py2exe but was unsuccessful, it gave me too many dll warnings and would crash each time I open it. I prefer to stick with pyinstaller because thats what always worked for me. Some help would greatly be appreciates!
error screenshot
**Update: I wasn't able to figure out exactly what the problem was but I was playing around with my environment variables and changing my pip names to pip2 pip3 and thats when this problem started happening and even when I reverted all my changes it still showed me this.I was able to fix it by simply uninstalling pyinstaller and redownloading it.
I recently installed python-3.6.3-amd64.exe and PyScripter-v3.0.2-Setup.exe
However PyScripter fails to load with message
Phyton could not be initialized.
I need an python IDE. Actually I do not care so much which to use as long as they work and start without trouble. How can I fix this problem?
After messing around with Python this evening I've managed to get the error message in the title.
I'm new to Python so I wasn't expecting to master it overnight but somehow I've managed to break the most rudimentary feature.
The last thing that happened before it broke was installing Lapack.
Running Windows 10, Python 2.7
Any advice? Hoping not to have to uninstall and start again.
Thanks.