Python Forum
REGEX Install Error in PyCharm
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
REGEX Install Error in PyCharm
#1
Hello, I started learning Python about a month ago.
However, I have been stuck at a spot for some weeks now because I have trying to install the Python package, REGEX.
Each time I try to install the REGEX package from pypi.org in my PyCharm as I learnt in your video, I get the following errors:

1. error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/


After downloading and installing the Microsoft Visual C++ Build Tools, I still got the following error:

2. Command ""C:\Users\Charles Auspicks\PycharmProjects\HelloWorld\venv\Scripts\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\Charles Auspicks\\AppData\\Local\\Temp\\pip-i
nstall-keqdcde3\\regex\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record "C:\Users
\Charles Auspicks\AppData\Local\Temp\pip-record-ix6pnwq0\install-record.txt" --single-version-externally-managed --compile --install-headers "C:\Users\Charles Auspicks\PycharmProjects\Hello
World\venv\include\site\python3.8\regex"" failed with error code 1 in C:\Users\Charles Auspicks\AppData\Local\Temp\pip-install-keqdcde3\regex\



What have I left out or could have been doing wrongly?

Please help me. What do I need to do to get past this?

Anybody please?
Reply
#2
you can download and use pre-build binary from Gohlke: https://www.lfd.uci.edu/~gohlke/pythonlibs/#regex

however the new version from today is not thee yet
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pycharm error zuri 1 474 Nov-01-2023, 03:38 PM
Last Post: deanhystad
  Install error middlestudent 1 754 Sep-23-2023, 08:26 AM
Last Post: middlestudent
  wxPython install error carlomscalisi 3 3,620 Jan-17-2023, 11:04 AM
Last Post: snippsat
  Error with pip install coffeeguy 1 2,279 Sep-08-2022, 01:27 AM
Last Post: snippsat
  Pandas - error when running Pycharm, but works on cmd line zxcv101 1 1,359 Jun-18-2022, 01:09 PM
Last Post: snippsat
  kmeans install error (please help me) muratuzun 3 5,488 May-06-2022, 02:14 PM
Last Post: snippsat
  Install any library via pip get an error cannot import name 'SCHEME_KEYS' from 'pip. Anldra12 2 10,613 Jan-04-2022, 01:05 PM
Last Post: Anldra12
  Anaconda pip install mpyc Error pip-script.py is not present Anldra12 2 7,813 Dec-13-2021, 06:59 PM
Last Post: Anldra12
  Cannot install tensorflow, numpy etc in Pycharm with Python 3.10 plumberpy 2 3,422 Oct-07-2021, 05:33 AM
Last Post: plumberpy
  Minecraft Python install error SomeAcandKid 1 2,343 Oct-06-2021, 06:22 PM
Last Post: Ronhamas

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020