Can't install pychalk: "FileNotFoundError: [Errno 2] No such file or directory: '..\\MarkupSafe-1.1.1.dist-info\\METADATA"'

Viewed 1429

I'm getting the following error when trying to install pychalk:

pip install pychalk --user
FileNotFoundError: [Errno 2] No such file or directory: 'c:\\users\\jokzc\\appdata\\roaming\\python\\python38\\site-packages\\MarkupSafe-1.1.1.dist-info\\METADATA'
2 Answers

You are using Python 3.8.

...python\\python38\\site-packages\...

The last release for pychalk was 2018, before the releases for Python3.8 came out.
The package is probably not updated yet to support Python 3.8.

You will have to downgrade your Python version.

From the repo's README on Testing, it seems they only tested on 2.7, 3.5, 3.6.
I tried it and it seems it can also install successfully on Python 3.7.

So...

  • Use Python3.7
  • Report the issue to the package authors so that they can support Python 3.8

you just need to delete the OpenCV-python folder from the(path=C:\Users\rahul\AppData\Local\Programs\Python\Python37\Lib\site-packages\opencv_python-3.4.2.17.dist-info) and then again you have to install that library you can see the picture below. here I have attached two pics in which first is showing error messages and the second one is not showing any errors

first image

second image

Related