• Register

Recent questions tagged x

0 votes
1 answer 2 views
Problem: typeerror: unicode-objects must be encoded before hashing.
asked 10 hours ago Ethan ross 1.8k points
0 votes
1 answer 5 views
Problem: attributeerror: could not find pyaudio; check installation.
asked 2 days ago Dan phillip 1.8k points
0 votes
1 answer 9 views
Problem: attributeerror: 'series' object has no attribute 'reshape'
asked 5 days ago charles mathews 3.8k points
0 votes
1 answer 5 views
Probelm: parent module '' not loaded, cannot perform relative import.
asked Feb 17 charles mathews 3.8k points
0 votes
1 answer 19 views
Problem: dataframe' objects are mutable, thus they cannot be hashed.
asked Feb 16 charles mathews 3.8k points
0 votes
1 answer 9 views
Problem: runtimewarning: divide by zero encountered in double_scalars
asked Feb 16 Ethan ross 1.8k points
0 votes
1 answer 29 views
Problem: I've install Python 3.4 and Python 3.6 on my local machine successfully, but am unable to install packages with pip3. When I execute pip3 install <package>, I get the following SSL related error: pip is configured with locations that require TLS/SSL, ... matching distribution found for <package> How can I fix my Python3.x install so that I can install packages with pip install <package>?
asked Jan 9 Mashhoodch 9.1k points
0 votes
1 answer 28 views
Problem : I just installed Python 3.5 and upon running the following code pip install mysql-python I am getting an error, which says: error: Microsoft Visual C++ 14.0 is required (Unable to find vcvarsall.bat) I have used the following lines of code to my PATH C:\ ... (x86)\Microsoft Visual Studio 12.0\VC; C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC My PC has 64bit window 7 setup.
asked Oct 8, 2020 sikandar 2.4k points
0 votes
1 answer 219 views
Problem: I have only basic knowledge in python and urllib. Currently I am trying to write the program which should download the mp3's from the website and after that join them together but on every occasion I try to download the mp3 files I face below error: Traceback ( ... usc.edu/~chiso/oldspice/m-b1-hello.mp3") Looking for the python and urlllib expert who can help me in fixing my above error.
asked Jul 22, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 120 views
Problem: I have freshly migrated my project from the old python2 to the new python3 and it has hundreds of the ForeignKey relations. I have very basic knowledge related to python. Using a solution to go line by line and add on_delete argument is not the possible. What ... it does not look like catching it somehow. Looking for a Python expert who can try to fix my above Python error very quickly.
asked Jul 15, 2020 Raphael Pacheco 4.9k points
1 vote
1 answer 88 views
Problem : I want to learn the python programming and also want to work on projects. One of my projects is to code the voting system so that it can select the best player among 23 players of a match by using the lists. I am currently using the Python3. Please ... any of the strings in my above code all my variables are of the type integers. Please guide me in fixing above python related error.
asked May 14, 2020 Martin K 6.6k points
1 vote
1 answer 262 views
Problem : I am beginner to Python. Currently if I try to use the request module to have the urls text then I often face below Error: Traceback (most recent call last):  File "/usr/local/lib/python3.6/site-packages/requests-2.18.1-py3.5.egg/requests/adapters.py" ... to get the url's text to parse it. Please find below my line of code for your reference: mytext = requests.get(detail_path).mytext
asked May 2, 2020 stewart 4k points
1 vote
2 answers 818 views
Problem : I am beginner to Ancaconda3 and Tensorflow. I have also recently installed Ancaconda3 and Tensorflow. But if I try to import the Tensorflow in the python shell then I often face the below error: ModuleNotFoundError: No module named 'numpy.core._multiarray_umath ... also installed on my box and it can be very successfully imported in the python. Please note currently I am using Windows10.
asked Apr 22, 2020 stewart 4k points
1 vote
3 answers 2.8K views
Problem : I am very new to Python. Now I am trying to import my function from the another file in a same directory. I am able to do it sometimes with the use of .mymodule import myfunction but most of the times I face below error: Importerror: attempted relative ... . It seems completely random to me. I am looking for someone who is expert in Python and who can help me in fixing above error.
asked Apr 20, 2020 stewart 4k points
1 vote
2 answers 3.1K views
Problem : I am very new to Python. Currently I have one textfile and now I am trying to load it and then want to make the list which should contain each and every line from the text file. I have already tried to use the split() procedure. But I am facing ... I have already wasted a lot of time in understanding and finding workaround for above error.So I am looking for the quick fix on above error.
asked Apr 8, 2020 morrisBson 3.2k points
1 vote
2 answers 352 views
Problem : I am beginner to numpy. I am trying to execute my code but I am facing below error. &ldquo;Valueerror: all the input arrays must have same number of dimensions&rdquo;. I want to have my all the arrays with a same shape. I am trying to fix above error from past couple of days but still unable to fix it. I am looking for some help in fixing above error.
asked Apr 4, 2020 morrisBson 3.2k points
1 vote
1 answer 169 views
Problem: Hi all This is a question from a noob who started coding a few hours back. print("Hello") print("name") print("hello") print("Let's do some math!") print(5 + "a") print("5 + 5") print("Thanks for playing along!") It says, &ldquo;typeerror: unsupported operand type(s) for +: 'int' and 'str'&rdquo; What does it mean?
asked Mar 9, 2020 Gavin 15.3k points
1 vote
1 answer 30 views
Problem: I have multiple files that I need to load so I'm using a dict to shorten things. When I run my code it throws me back an error &ldquo; type' object is not subscriptable &rdquo; m1 = pygame.image.load(dict[1]) m2 = pygame.image.load(dict[2]) m3 = pygame. ... "walk3.png"} playerxy = (375,130) window.blit(m1, (playerxy)) I am not sure about the error. Where is the problem in my program?
asked Mar 8, 2020 Gavin 15.3k points
0 votes
2 answers 101 views
Problem : I have recently installed the cuda 8.0 and cuda 9.0 in the Gpu support system. I encountered the below error while importing from the keras module. It says it is unable to load the native tensorflow runtime. I have received the error log as below: Traceback ... is, Cuda compilation tools, release 8.0, V8.0.61 Is it the clash between two cuda versions? Have anyone solved this before?
asked Feb 18, 2020 mphil 2.3k points