H
H
heIIfire2017-11-30 17:18:58
Python
heIIfire, 2017-11-30 17:18:58

What if packages have different dependency versions?

For example one package requires [email protected] and another requires [email protected] ?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Developer, 2019-09-15
@duzive

You need to install this module
pip install requests

A
Andrey_Dolg, 2019-09-15
@Andrey_Dolg

Due to the paucity of knowledge about imports and the scope of what your main file sees, I can only suggest that you define requests in the executable file. Since you are importing a function, you can also take a link to the module from the same file or explicitly write an import.

I
iBird Rose, 2017-11-30
@iiiBird

well, write the required version in package.json

R
RidgeA, 2017-11-30
@RidgeA

2 versions of the module will be installed.
Read more here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question