Trinity Morphy
Trinity Morphy

Reputation: 1

I receive an import error saying "DLL load failed while importing _path: The specified module could not be found in pycharm when I run matplotlib

import matplotlib.pyplot as plt
import pandas as pd

number1 = 1
number2 = 5
number3 = 6
x = [-10,-9,-7,-6,-5,-4]
mid = [(i**2) * number1 for i in x]
mid2 = [i*number2 for i in x]
constant = [number3*1 for i in x]

plt.plot(x, mid)

Upvotes: 0

Views: 6724

Answers (2)

Efremenkov Eugene
Efremenkov Eugene

Reputation: 1

I noticed that i have multiple python versions (3.10 from clean python installation and 3.9 from Git installation)

I deinstalled Git, deinstalled python 3.10, clean PATH environment variable and reinstalled python.

Upvotes: 0

Vipul Krishna Mathuria
Vipul Krishna Mathuria

Reputation: 106

Download Microsoft Visual C++ Redistributable from this link

Upvotes: 2

Related Questions