can't get textpad.textbox library to install - python

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.

Related

Error in Python 3.9.12 while using input command

I am using spyder in anaconda to run my python program (added the figure below to show my version ) .
When I type input() command in editor window, an error pops up .
(above)I have attached the screenshots of the same.
If I retain first part alone, there is no error.
Can someone help me as to why this error pops up.
I reinstalled the anan conda several times, thinking it was an installation error
I think its a bug in anaconda-spyder which a lot of users have reported. I suggest one of the two appraoches :
Install 'non-anaconda' distribution of python and do pip install spyder.
Or check if your anaconda version is 5.1.5, if yes then check this - link or downgrade spyder or search other relevant links.

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.

Getting "no module named builtin" ImportError

I'm getting:
"ImportError: No module named builtins"
that has only started happening after I installed a later version of PsychoPy (an application that uses Python that is used for writing psychology experiments). I was not getting this problem with an older version
I tried doing "sudo pip install future" like someone else recommended for fixing a similar problem. However, when I do this I get an "invalid syntax" error, and don't know of any other way around the problem. I would greatly appreciate any help on this.
Edit
Could it be you enter the command into a Python prompt? You are supposed to enter that command on the command line of your operating system shell. Which means not inside Python.
Original Answer
Like Deesha already mentioned in their comment, you must install the future package into the Python environment you wish to run PsychoPy in, e.g. via pip:
pip install future
or via conda:
conda install future
This is because newer versions of PsychoPy support both Python 2.7 and 3. The future package is used to ensure the code runs on both platforms.

Can't get ipython notebook to work

I'm fairly new to programming. I am a student of Mathematics and one of my modules has python programming as part of it. I was told to download python 3.5 and, using cmd and pip, to download the following packages which I did:
matplotlib,
ipython,
notebook,
numpy,
scipy,
After downloading them I entered, in cmd, ipython notebook but an error message saying "The program can;t start because MSVCP140.dll is missing from your compute. Try reinstalling the program to fix this problem." I have tried to reinstall python and the aforementioned packages but the same message keeps popping up. What can I do to fix this?
Sorry if my post is in the wrong section of the forum, this is my first time on Stackexchange.

Python install failed windows 8.1- Error 0x80240017: Failed to execute MSU package

I have windows 8.1 and tried installing: python-3.5.0rc3-amd64
I tried running as admin to no avail.
Here is the log of the failed install: http://pastebin.com/Y465P6zi.
Manually install the Universal C Runtime update from Microsoft:
https://support.microsoft.com/en-us/kb/2999226
and then re-attempt installation of Python 3.5.
I too had the same issue. Try installing Python 3.4.3. It worked for me.
You may try some older version. I had similar issues and I tried a lot to update but not succeed. Then I tried for python-3.4.3. It's works fine for me. There are not much different between 3.4.3 and 3.5.0.
Please update the window version from windows update(if you have blocked auto windows update).
This problem have nothing to do with product key.
Installing older version might help but, won't solve the purpose of installing the 3.5.X version
I had this problem because I was trying to install Python on a computer that had its Windows Updates downloaded, yet not yet installed and configured.
Solution: reboot your computer so that all Windows updates are installed and configured, then try again.
Download python-2.7.14 following link:
https://www.python.org/downloads/release/python-2714/
Install "python-2.7.14" and set PATH variable manual in windows.
Create a New folder in the root of windows drive -> windows ( for example C:\windows\ ) and name it "installer", it's done. install again. it worked for me.

Categories