holoviz / geoviews

Simple, concise geographical visualization in Python
http://geoviews.org
BSD 3-Clause "New" or "Revised" License
577 stars 75 forks source link

setuptools not found when pip install #494

Open yougis opened 3 years ago

yougis commented 3 years ago

I have multiple python version on my debian 9:

I use also virtualenv.

When I want to install geoviews in my python 3.9 env with : pip install git+https://github.com/holoviz/geoviews.git it's installed to my 3.7 python, because this version is certainly configured to be my python 3 master.

So with : python3.9 -m pip install git+https://github.com/holoviz/geoviews.git

I get :

File "/home/***/p39_lumen/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'setuptools'

I resoled by changing the pyproject.toml file by adding: "setuptools>=30.3.0" in the requiers`

philippjfr commented 3 years ago

Damn, I had removed it since it was causing issues in CI and seemed to get satisfied anyway but looks like I was wrong. Could you try readding?

yougis commented 3 years ago

not sure what are you mean about "Could you try readding?"