Can't install pyperclip python3 Mac? - python

I'm trying to run pyperclip module in PyCharm on Mac OS X. I've imported it and got a traceback error. I tried reinstalling it in terminal and it displayed collecting packages but I still get the error:
Traceback (most recent call last):
File "/Users/User/PycharmProjects/numberEmailRetractor/main.py", line 4, in <module>
import pyperclip, re
ImportError: No module named pyperclip

Related

Getting error while importing win32com module

I installed the pywin32 module in my system. But when I import the "win32com" module getting the error as shown below.
Error:-
Traceback (most recent call last):
File "C:\Users\Lenovo\Desktop\script.py", line 1, in <module>
import win32com.client
ModuleNotFoundError: No module named 'win32com'
any idea on this
Try install: pip install pypiwin32

Error "No module name 'ahocorasick'" on PyCharm while importing "contractions" package

I installed "contractions" package through pycharm. However when I compile the following code :
import contractions
It gives me error :
Traceback (most recent call last):
File "/home/wayne/PycharmProjects/sentiment-analysis/venv/expand_contractions.py", line 1, in <module>
import contractions
File "/home/wayne/PycharmProjects/sentiment-analysis/venv/lib/python3.7/site-packages/contractions/__init__.py", line 2, in <module>
from textsearch import TextSearch
File "/home/wayne/PycharmProjects/sentiment-analysis/venv/lib/python3.7/site-packages/textsearch/__init__.py", line 4, in <module>
import ahocorasick
ModuleNotFoundError: No module named 'ahocorasick'
However it works when I install "contractions" package through ubuntu terminal and run the code through terminal.
But still it's not working on PyCharm.
Also "pip install ahocorasick" gives error :
ERROR: No matching distribution found for ahocorasick

Why can't I install pyler module?

I get an error while I try to import the pyler module in python. I have uninstalled and then installed the module many times, and also with the .whl file, but still only the info file is generated.
import pyler
When I write this, I get
Traceback (most recent call last): File "c:\Users\USER\Documents\Tanav\VsCode\tut1\Python proj\smth.py", line 1, in <module> import pyler ModuleNotFoundError: No module named 'pyler'
I use python version 3.8.5 on windows 10 64-bit machine.
Please help

Why is my psycopg2 not working with python3?

I am trying to run a simple python script to connect to my local postgresl db. I am on a mac and after doing a pip install psycopg2 and pip install psycopg2-binary I still get a module not found error in my simple script.
Python 3.8.1
Error:
Traceback (most recent call last):
File "test.py", line 1, in <module>
import psycopg2
ModuleNotFoundError: No module named 'psycopg2'
test.py:
import psycopg2

Quandl import error in Python 3

I'm using Python 3.6.3 on Windows 10 and Quandl module in my pip list, but I get the following error:
import quandl
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
import quandl
File "C:\Users\Kamal\AppData\Local\Programs\Python\Python36-32\lib\quandl\__init__.py", line 3, in <module>
from .api_config import ApiConfig
ModuleNotFoundError: No module named 'quandl.api_config'
Try pip3 install quandl. If you have python2 installed, there may be a mismatch in symlinks related to pip.

Categories