I somehow screwed this up badly (Python PIP) - python

I was cleaning out my laptop and somehow screwed up my Python installation. Now I'm getting an error that I can't even find the answer to in Google (I usually copy and paste the error msg as a Google search and it usually leads me to an answer on here or other sites). This is the error msg verbatim: Fatal error in launcher: Unable to create process using '"C:\Python310\python.exe" "C:\Python310\Scripts\pip.exe" install Flask': The system cannot find the file specified.
I just reinstalled Python 3.10 via the installer from the Python site (so as not to screw up with Linux install since it likes to auto install 2.7 for some reason)
Any help would be greatly appreciated as always

Related

vscode python extension cant install from any source

Trying to install python extension for vscode but i always encounter an error.
by the way, python 3.10.9 is installed on my pc and works correctly
i tried installing it from the vscode editor but encounterd an error
i downloaded the vsix file using 2 different PCs but that too i always lebeled as corrupt
picture is below
any ideas pleaseenter image description here
After trying for a hours, i got the solution to my case.
for me, the internet connection was slow and caused interuptions in the installation.
I realise this when i got a stronger internet connection and the extension installed properly and without any suffering.

can't get textpad.textbox library to install

For the past few days I've been trying to download the textbox module for curses.textpad. Every attempt has failed (trying to do it on windows with Pycharm). Tried the pip command in CMD, downgrading python versions, but I always end up in a dead end. Searching it online wasn't much help. there's this one site (https://pypi.org/project/textbox/) but I believe it's a guide for the raspberry pi.
Is there a way to get it to work on windows 10 and if yes, how?
thank you in advance!
tried:
pip install in CMD (pip install textbox), downloading and upgrading Microsoft build tools as that was returning an error, downgraded python to 3.6.4 and downloaded rust as it was returning another error. For other details I'll try to be active in the comments
EDIT:
I apologize. I used textbox instead of Textbox so that was causing the error.

When I tried to install sacrebleu, I got an installation error

Description
When I tried to install package sacrebleu, I got an error like this:
Installation Error
It said "System cannot find the specified file". However I have no idea how to solve it.
I have tried installing package mecab-python3. But it confuses me that it was successfully installed in Anaconda but got an error, "Microsoft Visual C++ 14.0 is required", in original python38 environment.
Whether the package mecab-python3 has been installed or not, I still got the same error and cannot install sacrebleu.
I also tried restarting my machine but it does not work.
Is there anyone could solve it? or I want to know if there is any alternative package I can use to calculate BLEU score.
Thanks Anyway!
My Environment
Windows 10
Python 3.8
pip 20.1.1
Anaconda3 v4.8.2
I'm the mecab-python3 maintainer. Sorry it's giving you trouble.
The README has a link to the C++ runtime pack you have to install on Windows, if you install that it should work.
I have heard reports of the package not working with Anaconda on Windows specifically, though it seems to work sometimes. If you have trouble please open an issue and I'll try to fix it. On the other hand, if you aren't processing Japanese there's no reason to import the module and that may be a bug in sacrebleu.
Ah, actually, I just saw your screenshot - didn't notice it before.
Versions before 1.0 don't support Windows. But to keep using the old dictionary, sacrebleu has to make some changes, so they don't support 1.0+ yet. I think they are working on it, see this issue.

Cannot install SSL on Python 3.7.1?

I'll start off with saying I read this post already and could not find an answer.
I am on Windows 10, and have been trying to install pipenv through powershell.
Only, it returns me the following error:
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
So I then downloaded ssl-1.16 from this website, but then ran into another error:
ValueError: This extension should not be used with Python 2.6 or later (already built in), and has not been tested with Python 2.3.4 or earlier.
I checked a few forums and still cannot seem to find an answer. So if anyone would know how to come to terms with that, I'd be truly grateful. :)
Thanks

Fatal Python error after Scipy Superpack installation (Mac)

Instead of using a Python distribution, I decided to install Scipy myself and stumbled upon Scipy Superpack (http://fonnesbeck.github.io/ScipySuperpack/). After installing Python 2.7.6 I followed the instructions on the website and everything seemed to work without any problems. However, once the installation was done I received a "fatal error" message as I tried to look through my modules. More specifically, the following error:
>>> help('modules')
Please wait a moment while I gather a list of all available modules...
Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6
I receive the same error message in the terminal, as well as through IDLE. Despite the error message, I am able to import and use numpy, as well as other modules from the superpack.
I should mention that prior to installing the superpack I installed pip. However, this didn't induce the previously mentioned error.
I am very new to osx, so any advice would be greatly appreciated!
I was also having a lot of problems while trying to install all the python libraries in my mac. I searched on the web for some hours and finally got something that worked out for me.
Scipy is here as well if you want to follow this rules instead:
https://gist.github.com/audy/4012573

Categories