You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/02/15 08:25:23 UTC

[GitHub] mcmauro opened a new issue #6886: windows Installation issue: ModuleNotFoundError: No module named 'click' but it is installed

mcmauro opened a new issue #6886: windows Installation issue: ModuleNotFoundError: No module named 'click' but it is installed
URL: https://github.com/apache/incubator-superset/issues/6886
 
 
   <!--
   Licensed to the Apache Software Foundation (ASF) under one
   or more contributor license agreements.  See the NOTICE file
   distributed with this work for additional information
   regarding copyright ownership.  The ASF licenses this file
   to you under the Apache License, Version 2.0 (the
   "License"); you may not use this file except in compliance
   with the License.  You may obtain a copy of the License at
   
     http://www.apache.org/licenses/LICENSE-2.0
   
   Unless required by applicable law or agreed to in writing,
   software distributed under the License is distributed on an
   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
   KIND, either express or implied.  See the License for the
   specific language governing permissions and limitations
   under the License.
   -->
   
   
   Hello there,
   following up the installation procedure https://superset.incubator.apache.org/installation.html
   
   I got into the following error "ModuleNotFoundError: No module named 'click'" when I run the cmd :" python superset db upgrade".
   Pls find below the last successfully cmd  and when I triggered the problem. I tried even to pip the click but it is already available and installed as module but it seems not visible under venv ? I do not know if do I have to configure a special path for...?
   
   from cmd shell:
   (venv) C:\Users\MCM\AppData\Local\Programs\Python\Python36\Scripts>fabmanager create-admin --app superset
   Username [admin]: mauro
   User first name [admin]: susi
   User last name [user]: elisa
   Email [admin@fab.org]:
   Password:
   Repeat for confirmation:
   Recognized Database Authentications.
   Admin User mauro created.
   
   (venv) C:\Users\MCM\AppData\Local\Programs\Python\Python36\Scripts>python superset db upgrade
   Traceback (most recent call last):
     File "superset", line 3, in <module>
       import click
   ModuleNotFoundError: No module named 'click'
   
   (venv) C:\Users\MCM\AppData\Local\Programs\Python\Python36\Scripts>python
   Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)] on win32
   Type "help", "copyright", "credits" or "license" for more information.
   >>> import click
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
   ModuleNotFoundError: No module named 'click'
   >>> ^Z
   
   (venv) C:\Users\MCM\AppData\Local\Programs\Python\Python36\Scripts>pip install click
   Requirement already satisfied: click in c:\users\mcm\appdata\local\programs\python\python36\lib\site-packages (6.7)
   
   (venv) C:\Users\MCM\AppData\Local\Programs\Python\Python36\Scripts>python superset load_examples
   Traceback (most recent call last):
     File "superset", line 3, in <module>
       import click
   ModuleNotFoundError: No module named 'click'
   
   
   
   
   
   ### Superset version
   superset 0.28.1
   
   
   ### Expected results
   No error coming when I run the following cmds ( from https://superset.incubator.apache.org/installation.html) :
   
   ###- Initialize the database
   superset db upgrade
   
   ###- Load some data to play with
   superset load_examples
   
   ###- Create default roles and permissions
   superset init
   
   ###- To start a development web server on port 8088, use -p to bind to another port
   superset runserver -d
   but for all of them I get the following error: " ModuleNotFoundError: No module named 'click'" even if such module is present
   
   ### Actual results
   ModuleNotFoundError: No module named 'click'
   
   ### Steps to reproduce
   over the Installation procedure https://superset.incubator.apache.org/installation.html 
   running the cmd:  (venv) C:\Users\MCM\AppData\Local\Programs\Python\Python36\Scripts>python superset db upgrade
   
   
   Many thanks in advance for your help!
   Ciao,
   Mauro.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org