PyYoshi / cChardet

universal character encoding detector
Other
383 stars 51 forks source link

Error while installing Twint via pip #88

Open Mohsen-Amiri opened 6 months ago

Mohsen-Amiri commented 6 months ago

Dear experts I have installed Python 3.6 (see: https://github.com/twintproject/twint) and tried to install Twint via pip, but it could not do it and the following message appeared: Downloading https://files.pythonhosted.org/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl (118kB) 100% |████████████████████████████████| 122kB 70kB/s Installing collected packages: charset-normalizer, idna, idna-ssl, asynctest, frozenlist, attrs, aiosignal, async-timeout, multidict, yarl, aiohttp, pycparser, cffi, pycares, aiodns, soupsieve, beautifulsoup4, cchardet, certifi, urllib3, dataclasses, elastic-transport, elasticsearch, pysocks, pytz, six, python-dateutil, numpy, pandas, python-socks, aiohttp-socks, schedule, geogException: Traceback (most recent call last): File "c:\program files\python36\lib\site-packages\pip\basecommand.py", line 215, in main status = self.run(options, args) File "c:\program files\python36\lib\site-packages\pip\commands\install.py", line 342, in run prefix=options.prefix_path, File "c:\program files\python36\lib\site-packages\pip\req\req_set.py", line 784, in install **kwargs File "c:\program files\python36\lib\site-packages\pip\req\req_install.py", line 851, in install self.move_wheel_files(self.source_dir, root=root, prefix=prefix) File "c:\program files\python36\lib\site-packages\pip\req\req_install.py", line 1064, in move_wheel_files isolated=self.isolated, File "c:\program files\python36\lib\site-packages\pip\wheel.py", line 345, in move_wheel_files clobber(source, lib_dir, True) File "c:\program files\python36\lib\site-packages\pip\wheel.py", line 316, in clobber ensure_dir(destdir) File "c:\program files\python36\lib\site-packages\pip\utils\__init__.py", line 83, in ensure_dir os.makedirs(path) File "c:\program files\python36\lib\os.py", line 220, in makedirs mkdir(name, mode) PermissionError: [WinError 5] Access is denied: 'c:\\program files\\python36\\Lib\\site-packages\\charset_normalizer' If you have any idea, let me know please. What is wrong?

uelquis commented 5 months ago

same here