• Register

Recent questions tagged python-python3-typeerror

0 votes
1 answer 1 view
Problem: I am using beautiful soup with requests package in python3 for web scraping. This is my code. import csv from datetime import datetime import requests import csv from datetime import datetime from bs4 import BeautifulSoup quote_page = ['http://10.69.161.179:8080']; data = ... adapters were found for '['http://10.69.161.179:8080/#/main/dashboard/metrics']' Can anyone help me with this? :(
asked 6 days ago ochena 23.3k points
1 vote
1 answer 6 views
Problem: I’m getting this error after running my code Error: unsupported operand type(s) for /: 'list' and 'int' Code: def func(xdata_1,cc,dd,gg): return cc*(xdata_1**(dd))* (10**(-1.572*gg*( (185/((xdata_1/420)**2 + (420/xdata_1)** ... ,pcov = curve_fit(func,xdata_1,ydata_1, sigma=err_1, absolute_sigma=True) fc_1 = func(xdata_1, *params)Can somebody tell me what is wrong with my program ?
asked Apr 18 Raj Tyagi 14.9k points
0 votes
1 answer 4 views
Problem: Here is the block of code that has been creating errors: >>> Enter muzzle velocity (m/2): 60 Enter angle (degrees): 45 Traceback (most recent call last): File "F:/Python31/Lib/idlelib/test", line 9, in <module> range() File "F:/Python31/Lib/idlelib/test", line 7, ... by non-int of type 'str' I'm only new, so don't be too harsh if this is really obvious, but why am i getting this error?
asked Apr 18 munim01 21k points
0 votes
1 answer 12 views
Problem: I'm only new, so don't be too harsh if this is really obvious, but why am i getting this error? >>> Enter muzzle velocity (m/2): 60 Enter angle (degrees): 45 Traceback (most recent call last): File "F:/Python31/Lib/idlelib/test", line 9, in <module> range() File " ... (2*(x*x))((decimal(math.zsin(y)))*(decimal(math.acos(y)))))/2) TypeError: can't multiply sequence by non-int of type 'str'
asked Apr 18 munim01 21k points
0 votes
0 answers 3 views
Poblem: Need help so to get rid of this error. Error unsupported video type or invalid file path.
asked Apr 18 PkGuy 23.5k points
0 votes
1 answer 9 views
Problem: I opened my computer and i suffered from this problem, then i think to post question to here, if anyone there who know about this then please answer me.
asked Apr 3 niyatiry 3.9k points
0 votes
1 answer 10 views
Problem: Please help me fix this dilemma &ldquo;What is the use of meta charset= utf-8 in html&rdquo; ?
asked Mar 30 tuhin1 48.9k points
1 vote
1 answer 9 views
Problem: Any ne who canhelp me with the solution please? TypeError: unsupported operand type(s) for ^: 'float' and 'float'.
asked Mar 30 PkGuy 23.5k points
1 vote
1 answer 11 views
Problem: How can I solve this runtime error? Module compiled against API version 0xa but this version of numpy is 0x9.
asked Mar 30 PkGuy 23.5k points
1 vote
1 answer 33 views
Problem: Help is required from some body to convertthis. Typeerror: can't convert 'float' object to str implicitly.
asked Mar 28 PkGuy 23.5k points
0 votes
1 answer 19 views
Problem: Can anyone help me out? If anyone know about this then please answer me.
asked Mar 27 niyatiry 3.9k points
0 votes
1 answer 16 views
Problem: How to convert this ? I am trying but not successful. Typeerror: can't convert complex to float.
asked Mar 22 PkGuy 23.5k points
0 votes
1 answer 11 views
Problem: I need your help; exception: java gateway process exited before sending its port number
asked Mar 19 Wafa Abu Yousef 6.1k points
0 votes
1 answer 56 views
Problem: Any help: sqldatetime overflow. must be between 1/1/1753 12:00:00 am and 12/31/9999 11:59:59 pm.
asked Mar 17 Wafa Abu Yousef 6.1k points
0 votes
1 answer 13 views
Solution: I need help in this: exception: java gateway process exited before sending its port number
asked Mar 17 Wafa Abu Yousef 6.1k points
0 votes
1 answer 40 views
Problem: How to I Solve this: unsupported operand type(s) for ^: 'float' and 'int' HELP! I need help understanding this: unsupported operand type(s) for ^: 'float' and 'int' Can someone please help solve this, I am new in python(). Someone have idea to solve this thanks!
asked Mar 3 Mashhoodch 13k points
0 votes
1 answer 65 views
Problem: How to I Solve this : typeerror: object of type 'map' has no len() HELP! I need help understanding this: typeerror: object of type 'map' has no len() Can someone please help solve this, I am new in python().
asked Mar 2 Mashhoodch 13k points
0 votes
1 answer 138 views
Problem: How to I Solve this : unsupported operand type(s) for ** or pow(): 'list' and 'int' HELP! I need help understanding this : unsupported operand type(s) for ** or pow(): 'list' and 'int' Can someone please help solve this, I am new in python().
asked Mar 2 Mashhoodch 13k points
0 votes
1 answer 16 views
Problem: How to fix this error: socket.error: command python setup.py egg_info failed HELP! I need help understanding this error: command python setup.py egg_info failed Can someone please help fix this, I am new in python() : command python setup.py egg_info failed
asked Mar 1 Mashhoodch 13k points
0 votes
1 answer 111 views
Problem: How to fix this erro: valueerror: bad marshal data (unknown type code) HELP! I need help understanding this error: valueerror: bad marshal data (unknown type code) Any ideas on what I need to do to fix this? Thanks!
asked Feb 28 Mashhoodch 13k points