No module named pycurl on mac terminal - python

When I start .py file I got this error? Why?
Traceback (most recent call last):
File "/Users/omercancelikler/webstagram.py", line 3, in <module>
import pycurl
ImportError: No module named pycurl

Related

Gives this error when importing utils.sql what could be the problem?

This error is displayed in the console
Traceback (most recent call last):
File "main.py", line 12, in <module>
from utils.sql import ManagerDB
ModuleNotFoundError: No module named 'utils.sql'
check your project if "utils" is your own python package, name "utils" is too generic,unlikely is a PYPI package which you install by pip

Facing import builtins ImportError during installation of pgadmin4 in centos7?

Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/pgadmin4-web/setup.py", line 17, in import builtins ImportError: No module named builtins
Execute it with python3. IE:
python3 /usr/lib/python3.6/site-packages/pgadmin4-web/setup.py

test_ssl.py and test_urllib2.py tests are failing in python2.7

test_ssl.py
root#yasir:/home/yasir/PYTHON/python2.7-2.7.6/Lib/test# python python test_ssl.py
Traceback (most recent call last):
File "test_ssl.py", line 7, in <module>
from test.script_helper import assert_python_ok
ImportError: No module named script_helper
test_urllib2.py
root#yasir:/home/yasir/PYTHON/python2.7-2.7.6/Lib/test# python test_urllib2.py
Traceback (most recent call last):
File "test_urllib2.py", line 3, in <module>
from test import test_urllib
ImportError: cannot import name test_urllib
I'm not able to understand which module is missing so facing this error
tests failed due to missing python module libpython2.7-testsuite

ImportError: cannot import name main

I recently rearranged some folders around and a python file I used to run is no longer working. When I try to run the file I get:
Traceback (most recent call last):
File "twitter_stream.py", line 9, in <module>
from tweepy import Stream
ImportError: No module named tweepy
I don't understand why I no longer have tweepy installed because I just had it When I do a simple 'pip3 install tweepy' I get:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.5/bin/pip3", line
7, in <module>
from pip import main
ImportError: cannot import name main
I'm not sure what happened here. Any help would be greatly appreciated

xlwings - import error

Python 3.5 On Mac OS 10.12.2
When importing xlwings module i get a:
traceback (most recent call last):
File "<pyshell#5>", line 1, in <module>
import xlwings
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/xlwings/__init__.py", line 24, in <module>
from . import _xlmac as xlplatform
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/xlwings/_xlmac.py", line 10, in <module>
import aem
ImportError: No module named 'aem'
I have appscript installed already.
Any idea what i am missing here please?

Categories

Resources