While I try to install dso package (https://github.com/brendenpetersen/deep-symbolic-optimization), I get this error :
MY COMMAND:
pip install -e ./dso[all]
THE OUTPUT:
Obtaining file:///home/remi/deep-symbolic-optimization-master/dso
Preparing metadata (setup.py) ... done
Requirement already satisfied: pytest in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from dso==1.0.dev0) (7.0.1)
Requirement already satisfied: cython in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from dso==1.0.dev0) (0.29.30)
Requirement already satisfied: numpy<=1.19 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from dso==1.0.dev0) (1.19.0)
Requirement already satisfied: tensorflow==1.14 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from dso==1.0.dev0) (1.14.0)
Requirement already satisfied: numba==0.53.1 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from dso==1.0.dev0) (0.53.1)
Requirement already satisfied: sympy in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from dso==1.0.dev0) (1.9)
Requirement already satisfied: pandas in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from dso==1.0.dev0) (1.1.5)
Requirement already satisfied: scikit-learn in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from dso==1.0.dev0) (0.24.2)
Requirement already satisfied: click in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from dso==1.0.dev0) (8.0.4)
Requirement already satisfied: deap in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from dso==1.0.dev0) (1.3.1)
Requirement already satisfied: pathos in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from dso==1.0.dev0) (0.2.8)
Requirement already satisfied: seaborn in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from dso==1.0.dev0) (0.11.2)
Requirement already satisfied: progress in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from dso==1.0.dev0) (1.6)
Requirement already satisfied: tqdm in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from dso==1.0.dev0) (4.64.0)
Requirement already satisfied: commentjson in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from dso==1.0.dev0) (0.9.0)
Requirement already satisfied: PyYAML in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from dso==1.0.dev0) (6.0)
Requirement already satisfied: mpi4py in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from dso==1.0.dev0) (3.1.1)
Requirement already satisfied: pybullet in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from dso==1.0.dev0) (3.2.5)
Requirement already satisfied: gym[box2d]==0.15.4 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from dso==1.0.dev0) (0.15.4)
Requirement already satisfied: stable-baselines[mpi]==2.10.0 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from dso==1.0.dev0) (2.10.0)
Requirement already satisfied: pyglet<=1.3.2,>=1.2.0 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from gym[box2d]==0.15.4->dso==1.0.dev0) (1.3.2)
Requirement already satisfied: cloudpickle~=1.2.0 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from gym[box2d]==0.15.4->dso==1.0.dev0) (1.2.2)
Requirement already satisfied: opencv-python in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from gym[box2d]==0.15.4->dso==1.0.dev0) (4.6.0.66)
Requirement already satisfied: six in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from gym[box2d]==0.15.4->dso==1.0.dev0) (1.16.0)
Requirement already satisfied: scipy in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from gym[box2d]==0.15.4->dso==1.0.dev0) (1.5.4)
Requirement already satisfied: box2d-py~=2.3.5 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from gym[box2d]==0.15.4->dso==1.0.dev0) (2.3.8)
Requirement already satisfied: llvmlite<0.37,>=0.36.0rc1 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from numba==0.53.1->dso==1.0.dev0) (0.36.0)
Requirement already satisfied: setuptools in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from numba==0.53.1->dso==1.0.dev0) (59.6.0)
Requirement already satisfied: matplotlib in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from stable-baselines[mpi]==2.10.0->dso==1.0.dev0) (3.3.4)
Requirement already satisfied: joblib in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from stable-baselines[mpi]==2.10.0->dso==1.0.dev0) (1.1.0)
Requirement already satisfied: gast>=0.2.0 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from tensorflow==1.14->dso==1.0.dev0) (0.5.3)
Requirement already satisfied: tensorflow-estimator<1.15.0rc0,>=1.14.0rc0 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from tensorflow==1.14->dso==1.0.dev0) (1.14.0)
Requirement already satisfied: google-pasta>=0.1.6 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from tensorflow==1.14->dso==1.0.dev0) (0.2.0)
Requirement already satisfied: protobuf>=3.6.1 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from tensorflow==1.14->dso==1.0.dev0) (3.19.4)
Requirement already satisfied: termcolor>=1.1.0 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from tensorflow==1.14->dso==1.0.dev0) (1.1.0)
Requirement already satisfied: keras-applications>=1.0.6 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from tensorflow==1.14->dso==1.0.dev0) (1.0.8)
Requirement already satisfied: wrapt>=1.11.1 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from tensorflow==1.14->dso==1.0.dev0) (1.14.1)
Requirement already satisfied: grpcio>=1.8.6 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from tensorflow==1.14->dso==1.0.dev0) (1.47.0)
Requirement already satisfied: wheel>=0.26 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from tensorflow==1.14->dso==1.0.dev0) (0.37.1)
Requirement already satisfied: tensorboard<1.15.0,>=1.14.0 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from tensorflow==1.14->dso==1.0.dev0) (1.14.0)
Requirement already satisfied: absl-py>=0.7.0 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from tensorflow==1.14->dso==1.0.dev0) (1.1.0)
Requirement already satisfied: keras-preprocessing>=1.0.5 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from tensorflow==1.14->dso==1.0.dev0) (1.1.2)
Requirement already satisfied: astor>=0.6.0 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from tensorflow==1.14->dso==1.0.dev0) (0.8.1)
Requirement already satisfied: importlib-metadata in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from click->dso==1.0.dev0) (4.8.3)
Requirement already satisfied: lark-parser<0.8.0,>=0.7.1 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from commentjson->dso==1.0.dev0) (0.7.8)
Requirement already satisfied: pytz>=2017.2 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from pandas->dso==1.0.dev0) (2022.1)
Requirement already satisfied: python-dateutil>=2.7.3 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from pandas->dso==1.0.dev0) (2.8.2)
Requirement already satisfied: pox>=0.3.0 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from pathos->dso==1.0.dev0) (0.3.0)
Requirement already satisfied: multiprocess>=0.70.12 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from pathos->dso==1.0.dev0) (0.70.12.2)
Requirement already satisfied: dill>=0.3.4 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from pathos->dso==1.0.dev0) (0.3.4)
Requirement already satisfied: ppft>=1.6.6.4 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from pathos->dso==1.0.dev0) (1.6.6.4)
Requirement already satisfied: tomli>=1.0.0 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from pytest->dso==1.0.dev0) (1.2.3)
Requirement already satisfied: attrs>=19.2.0 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from pytest->dso==1.0.dev0) (21.4.0)
Requirement already satisfied: iniconfig in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from pytest->dso==1.0.dev0) (1.1.1)
Requirement already satisfied: py>=1.8.2 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from pytest->dso==1.0.dev0) (1.11.0)
Requirement already satisfied: packaging in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from pytest->dso==1.0.dev0) (21.3)
Requirement already satisfied: pluggy<2.0,>=0.12 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from pytest->dso==1.0.dev0) (1.0.0)
Requirement already satisfied: threadpoolctl>=2.0.0 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from scikit-learn->dso==1.0.dev0) (3.1.0)
Requirement already satisfied: mpmath>=0.19 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from sympy->dso==1.0.dev0) (1.2.1)
Requirement already satisfied: importlib-resources in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from tqdm->dso==1.0.dev0) (5.4.0)
WARNING: gym 0.15.4 does not provide the extra 'classic-control'
Requirement already satisfied: Pillow in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from gym[box2d]==0.15.4->dso==1.0.dev0) (8.4.0)
Requirement already satisfied: atari-py~=0.2.0 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from gym[box2d]==0.15.4->dso==1.0.dev0) (0.2.9)
Requirement already satisfied: zipp>=0.5 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from importlib-metadata->click->dso==1.0.dev0) (3.6.0)
Requirement already satisfied: typing-extensions>=3.6.4 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from importlib-metadata->click->dso==1.0.dev0) (4.1.1)
Requirement already satisfied: h5py in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from keras-applications>=1.0.6->tensorflow==1.14->dso==1.0.dev0) (3.1.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from matplotlib->stable-baselines[mpi]==2.10.0->dso==1.0.dev0) (1.3.1)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from matplotlib->stable-baselines[mpi]==2.10.0->dso==1.0.dev0) (3.0.9)
Requirement already satisfied: cycler>=0.10 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from matplotlib->stable-baselines[mpi]==2.10.0->dso==1.0.dev0) (0.11.0)
Requirement already satisfied: future in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from pyglet<=1.3.2,>=1.2.0->gym[box2d]==0.15.4->dso==1.0.dev0) (0.18.2)
Requirement already satisfied: werkzeug>=0.11.15 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from tensorboard<1.15.0,>=1.14.0->tensorflow==1.14->dso==1.0.dev0) (2.0.3)
Requirement already satisfied: markdown>=2.6.8 in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from tensorboard<1.15.0,>=1.14.0->tensorflow==1.14->dso==1.0.dev0) (3.3.7)
Requirement already satisfied: dataclasses in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from werkzeug>=0.11.15->tensorboard<1.15.0,>=1.14.0->tensorflow==1.14->dso==1.0.dev0) (0.8)
Requirement already satisfied: cached-property in /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages (from h5py->keras-applications>=1.0.6->tensorflow==1.14->dso==1.0.dev0) (1.5.2)
Installing collected packages: dso
Running setup.py develop for dso
ERROR: Command errored out with exit status 1:
command: /home/remi/anaconda3/envs/DSO_env/bin/python3.6 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/remi/deep-symbolic-optimization-master/dso/setup.py'"'"'; __file__='"'"'/home/remi/deep-symbolic-optimization-master/dso/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps
cwd: /home/remi/deep-symbolic-optimization-master/dso/
Complete output (19 lines):
running develop
running egg_info
writing dso.egg-info/PKG-INFO
writing dependency_links to dso.egg-info/dependency_links.txt
writing requirements to dso.egg-info/requires.txt
writing top-level names to dso.egg-info/top_level.txt
reading manifest file 'dso.egg-info/SOURCES.txt'
writing manifest file 'dso.egg-info/SOURCES.txt'
running build_ext
building 'dso.cyfunc' extension
gcc -pthread -B /home/remi/anaconda3/envs/DSO_env/compiler_compat -Wl,--sysroot=/ -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -| /home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages/numpy/core/include -fPIC -I/home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages/numpy/core/include -I/home/remi/anaconda3/envs/DSO_env/include/python3.6m -I/home/remi/anaconda3/envs/DSO_env/include/python3.6m -c dso/cyfunc.c -o build/temp.linux-x86_64-3.6/dso/cyfunc.o
gcc: error: unrecognized command-line option ‘-|’
/home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages/setuptools/dist.py:493: UserWarning: Normalizing '1.0dev' to '1.0.dev0'
warnings.warn(tmpl.format(**locals()))
/home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages/setuptools/command/easy_install.py:159: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
EasyInstallDeprecationWarning,
/home/remi/anaconda3/envs/DSO_env/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /home/remi/anaconda3/envs/DSO_env/bin/python3.6 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/remi/deep-symbolic-optimization-master/dso/setup.py'"'"'; __file__='"'"'/home/remi/deep-symbolic-optimization-master/dso/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.
I am a complete noob in computer science, so the only thing I get is that it fails due to gcc not recognizing the command -| as stated by this line in the error message:
gcc: error: unrecognized command-line option ‘-|’
Can someone help me on this ?
Thanks and regards,
Rémi
just reading the command that fails, it seems there's a | (pipe) instead of a I (capital i).
I'm not sure if you've entered a | somewhere in your configuration?
Related
It shows that everything is propper installed
(storefront) (base) ...#MacBook-Pro storefront % pip install drf-nested-routers
Requirement already satisfied: drf-nested-routers in /Users/.../.local/share/virtualenvs/storefront-JGOY8xqq/lib/python3.10/site-packages (0.93.4)
Requirement already satisfied: Django>=1.11 in /Users/.../.local/share/virtualenvs/storefront-JGOY8xqq/lib/python3.10/site-packages (from drf-nested-routers) (4.1.3)
Requirement already satisfied: djangorestframework>=3.6.0 in /Users/.../.local/share/virtualenvs/storefront-JGOY8xqq/lib/python3.10/site-packages (from drf-nested-routers) (3.14.0)
Requirement already satisfied: sqlparse>=0.2.2 in /Users/.../.local/share/virtualenvs/storefront-JGOY8xqq/lib/python3.10/site-packages (from Django>=1.11->drf-nested-routers) (0.4.3)
Requirement already satisfied: asgiref<4,>=3.5.2 in /Users/.../.local/share/virtualenvs/storefront-JGOY8xqq/lib/python3.10/site-packages (from Django>=1.11->drf-nested-routers) (3.5.2)
Requirement already satisfied: pytz in /Users/../.local/share/virtualenvs/storefront-JGOY8xqq/lib/python3.10/site-packages (from djangorestframework>=3.6.0->drf-nested-routers) (2022.6)
(storefront) (base) ...#MacBook-Pro storefront %
But still get the Error:
in
from rest_framework_nested import routers
ModuleNotFoundError: No module named 'rest_framework_nested'
When I right-click on a .py file in Visual Studio Code and say Run Current File in Python Interactive Window I get the error Error attempting to locate jupyter. Then I click install and it tells me all requirements already met.
What do I do?
Here's the details from the command line too:
pip install jupyter
Requirement already satisfied: jupyter in c:\users\rje\appdata\roaming\python\python38\site-packages (1.0.0)
Requirement already satisfied: notebook in c:\users\rje\appdata\roaming\python\python38\site-packages (from jupyter) (6.0.2)
Requirement already satisfied: jupyter-console in c:\users\rje\appdata\roaming\python\python38\site-packages (from jupyter) (6.0.0)
Requirement already satisfied: ipywidgets in c:\users\rje\appdata\roaming\python\python38\site-packages (from jupyter) (7.5.1)
Requirement already satisfied: nbconvert in c:\users\rje\appdata\roaming\python\python38\site-packages (from jupyter) (5.6.1)
Requirement already satisfied: ipykernel in c:\users\rje\appdata\roaming\python\python38\site-packages (from jupyter) (5.1.3)
Requirement already satisfied: qtconsole in c:\users\rje\appdata\roaming\python\python38\site-packages (from jupyter) (4.6.0)
Requirement already satisfied: jupyter-client>=5.3.4 in c:\users\rje\appdata\roaming\python\python38\site-packages (from notebook->jupyter) (5.3.4)
Requirement already satisfied: tornado>=5.0 in c:\users\rje\appdata\roaming\python\python38\site-packages (from notebook->jupyter) (6.0.3)
Requirement already satisfied: terminado>=0.8.1 in c:\users\rje\appdata\roaming\python\python38\site-packages (from notebook->jupyter) (0.8.3)
Requirement already satisfied: prometheus-client in c:\users\rje\appdata\roaming\python\python38\site-packages (from notebook->jupyter) (0.7.1)
Requirement already satisfied: ipython-genutils in c:\users\rje\appdata\roaming\python\python38\site-packages (from notebook->jupyter) (0.2.0)
Requirement already satisfied: jinja2 in c:\users\rje\appdata\roaming\python\python38\site-packages (from notebook->jupyter) (2.10.3)
Requirement already satisfied: pyzmq>=17 in c:\users\rje\appdata\roaming\python\python38\site-packages (from notebook->jupyter) (18.1.1)
Requirement already satisfied: nbformat in c:\users\rje\appdata\roaming\python\python38\site-packages (from notebook->jupyter) (4.4.0)
Requirement already satisfied: traitlets>=4.2.1 in c:\users\rje\appdata\roaming\python\python38\site-packages (from notebook->jupyter) (4.3.3)
Requirement already satisfied: jupyter-core>=4.6.0 in c:\users\rje\appdata\roaming\python\python38\site-packages (from notebook->jupyter) (4.6.1)
Requirement already satisfied: Send2Trash in c:\users\rje\appdata\roaming\python\python38\site-packages (from notebook->jupyter) (1.5.0)
Requirement already satisfied: pygments in c:\users\rje\appdata\roaming\python\python38\site-packages (from jupyter-console->jupyter) (2.4.2)
Requirement already satisfied: ipython in c:\users\rje\appdata\roaming\python\python38\site-packages (from jupyter-console->jupyter) (7.9.0)
Requirement already satisfied: prompt-toolkit<2.1.0,>=2.0.0 in c:\users\rje\appdata\roaming\python\python38\site-packages (from jupyter-console->jupyter) (2.0.10)
Requirement already satisfied: widgetsnbextension~=3.5.0 in c:\users\rje\appdata\roaming\python\python38\site-packages (from ipywidgets->jupyter) (3.5.1)
Requirement already satisfied: bleach in c:\users\rje\appdata\roaming\python\python38\site-packages (from nbconvert->jupyter) (3.1.0)
Requirement already satisfied: mistune<2,>=0.8.1 in c:\users\rje\appdata\roaming\python\python38\site-packages (from nbconvert->jupyter) (0.8.4)
Requirement already satisfied: pandocfilters>=1.4.1 in c:\users\rje\appdata\roaming\python\python38\site-packages (from nbconvert->jupyter) (1.4.2)
Requirement already satisfied: testpath in c:\users\rje\appdata\roaming\python\python38\site-packages (from nbconvert->jupyter) (0.4.4)
Requirement already satisfied: defusedxml in c:\users\rje\appdata\roaming\python\python38\site-packages (from nbconvert->jupyter) (0.6.0)
Requirement already satisfied: entrypoints>=0.2.2 in c:\users\rje\appdata\roaming\python\python38\site-packages (from nbconvert->jupyter) (0.3)
Requirement already satisfied: python-dateutil>=2.1 in c:\users\rje\appdata\roaming\python\python38\site-packages (from jupyter-client>=5.3.4->notebook->jupyter) (2.8.1)
Requirement already satisfied: pywin32>=1.0; sys_platform == "win32" in c:\users\rje\appdata\roaming\python\python38\site-packages (from jupyter-client>=5.3.4->notebook->jupyter) (227)
Requirement already satisfied: pywinpty>=0.5; os_name == "nt" in c:\users\rje\appdata\roaming\python\python38\site-packages (from terminado>=0.8.1->notebook->jupyter) (0.5.5)
Requirement already satisfied: MarkupSafe>=0.23 in c:\users\rje\appdata\roaming\python\python38\site-packages (from jinja2->notebook->jupyter) (1.1.1)
Requirement already satisfied: jsonschema!=2.5.0,>=2.4 in c:\users\rje\appdata\roaming\python\python38\site-packages (from nbformat->notebook->jupyter) (3.2.0)
Requirement already satisfied: six in c:\users\rje\appdata\roaming\python\python38\site-packages (from traitlets>=4.2.1->notebook->jupyter) (1.13.0)
Requirement already satisfied: decorator in c:\users\rje\appdata\roaming\python\python38\site-packages (from traitlets>=4.2.1->notebook->jupyter) (4.4.1)
Requirement already satisfied: backcall in c:\users\rje\appdata\roaming\python\python38\site-packages (from ipython->jupyter-console->jupyter) (0.1.0)
Requirement already satisfied: setuptools>=18.5 in c:\users\rje\appdata\local\programs\python\python38\lib\site-packages (from ipython->jupyter-console->jupyter) (41.2.0)
Requirement already satisfied: pickleshare in c:\users\rje\appdata\roaming\python\python38\site-packages (from ipython->jupyter-console->jupyter) (0.7.5)
Requirement already satisfied: jedi>=0.10 in c:\users\rje\appdata\roaming\python\python38\site-packages (from ipython->jupyter-console->jupyter) (0.15.1)
Requirement already satisfied: colorama; sys_platform == "win32" in c:\users\rje\appdata\roaming\python\python38\site-packages (from ipython->jupyter-console->jupyter) (0.4.1)
Requirement already satisfied: wcwidth in c:\users\rje\appdata\roaming\python\python38\site-packages (from prompt-toolkit<2.1.0,>=2.0.0->jupyter-console->jupyter) (0.1.7)
Requirement already satisfied: webencodings in c:\users\rje\appdata\roaming\python\python38\site-packages (from bleach->nbconvert->jupyter) (0.5.1)
Requirement already satisfied: pyrsistent>=0.14.0 in c:\users\rje\appdata\roaming\python\python38\site-packages (from jsonschema!=2.5.0,>=2.4->nbformat->notebook->jupyter) (0.15.5)
Requirement already satisfied: attrs>=17.4.0 in c:\users\rje\appdata\roaming\python\python38\site-packages (from jsonschema!=2.5.0,>=2.4->nbformat->notebook->jupyter) (19.3.0)
Requirement already satisfied: parso>=0.5.0 in c:\users\rje\appdata\roaming\python\python38\site-packages (from jedi>=0.10->ipython->jupyter-console->jupyter) (0.5.1)
but then
python -m jupyter notebook --version
Traceback (most recent call last):
File "C:\Users\rje\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 192, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\rje\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\rje\AppData\Roaming\Python\Python38\site-packages\jupyter.py", line 10, in <module>
run_module('jupyter_core')
File "C:\Users\rje\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 208, in run_module
return _run_code(code, {}, init_globals, run_name, mod_spec)
File "C:\Users\rje\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\rje\AppData\Roaming\Python\Python38\site-packages\jupyter_core\__main__.py", line 3, in <module>
main()
File "C:\Users\rje\AppData\Roaming\Python\Python38\site-packages\jupyter_core\command.py", line 247, in main
command = _jupyter_abspath(subcommand)
File "C:\Users\rje\AppData\Roaming\Python\Python38\site-packages\jupyter_core\command.py", line 133, in _jupyter_abspath
raise Exception(
Exception: Jupyter command `jupyter-notebook` not found.
I have met some error when running pip install google-api-python-client --proxy http://10.10.40.10:80 , as follow details.
Downloading/unpacking google-api-python-client
Downloading google_api_python_client-1.6.6-py2.py3-none-any.whl (53kB): 53kB downloaded
Downloading/unpacking oauth2client>=1.5.0,<5.0.0dev (from google-api-python-client)
Real name of requirement oauth2client is oauth2client
however, it's no problem when installing 'future' package which don't deploy packages ( like enum, futures, six, rsa.,),
need to update pip with resolved: pip install google-api-python-client --proxy http://10.10.40.10:80
'Requirement already satisfied: google-api-python-client in ./lib/python2.7/site-packages (1.6.6)
Requirement already satisfied: six<2dev,>=1.6.1 in ./lib/python2.7/site-packages (from google-api-python-client) (1.11.0)
Requirement already satisfied: uritemplate<4dev,>=3.0.0 in ./lib/python2.7/site-packages (from google-api-python-client) (3.0.0)
Requirement already satisfied: oauth2client<5.0.0dev,>=1.5.0 in ./lib/python2.7/site-packages (from google-api-python-client) (4.1.2)
Requirement already satisfied: httplib2<1dev,>=0.9.2 in ./lib/python2.7/site-packages (from google-api-python-client) (0.11.3)
Requirement already satisfied: rsa>=3.1.4 in ./lib/python2.7/site-packages (from oauth2client<5.0.0dev,>=1.5.0->google-api-python-client) (3.4.2)
Requirement already satisfied: pyasn1-modules>=0.0.5 in ./lib/python2.7/site-packages (from oauth2client<5.0.0dev,>=1.5.0->google-api-python-client) (0.2.1)
Requirement already satisfied: pyasn1>=0.1.7 in ./lib/python2.7/site-packages (from oauth2client<5.0.0dev,>=1.5.0->google-api-python-client) (0.4.2)'
I'm working on a Mac with python 2.7.
Whenever i'm trying to install scikit-image
Command used to install : sudo pip install scikit-image, i'm getting the below error :
Requirement already satisfied: python-dateutil in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from matplotlib>=1.3.1->scikit-image) (1.5)
Requirement already satisfied: tornado in /Library/Python/2.7/site-packages (from matplotlib>=1.3.1->scikit-image) (5.0.2)
Requirement already satisfied: pyparsing>=1.5.6 in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from matplotlib>=1.3.1->scikit-image) (2.0.1)
Requirement already satisfied: nose in /Library/Python/2.7/site-packages (from matplotlib>=1.3.1->scikit-image) (1.3.7)
Requirement already satisfied: futures in /Library/Python/2.7/site-packages (from tornado->matplotlib>=1.3.1->scikit-image) (3.2.0)
Requirement already satisfied: singledispatch in /Library/Python/2.7/site-packages (from tornado->matplotlib>=1.3.1->scikit-image) (3.4.0.3)
Requirement already satisfied: backports_abc>=0.4 in /Library/Python/2.7/site-packages (from tornado->matplotlib>=1.3.1->scikit-image) (0.5)
Installing collected packages: numpy, PyWavelets, scipy, six, decorator, networkx, scikit-image
Found existing installation: numpy 1.8.0rc1
Cannot uninstall 'numpy'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
If I check my version of pipenv it always shows 5.3.5, but I know there is newer version 11.0.2. How can I update it using pip?
C:\hello_world>pip search pipenv
dh-pipenv (0.1.1) - Shim between dh-virtualenv and pipenv
pipenv-package-requirements (0.2) - Pipenv tools for requirements.txt
pipenv-tools (0.0.1) - The missing tools for pipenv.
tox-pipenv (1.3.0) - A pipenv plugin for tox
pipenv-to-requirements (0.3.1) - Generate requirements[-dev].txt from
Pipfile using pipenv
pipenv (11.0.2) - Python Development Workflow for Humans.
INSTALLED: 5.3.5
LATEST: 11.0.2
When installing, all I get is:
C:\hello_world>pip install pipenv
Requirement already satisfied: pipenv in c:\users\administrator\appdata\roaming\
python\python36\site-packages
Requirement already satisfied: virtualenv in c:\users\administrator\appdata\roam
ing\python\python36\site-packages (from pipenv)
Requirement already satisfied: semver in c:\users\administrator\appdata\roaming\
python\python36\site-packages (from pipenv)
Requirement already satisfied: pip in c:\python36\lib\site-packages (from pipenv
)
Requirement already satisfied: pip-tools>=1.9.0 in c:\users\administrator\appdat
a\roaming\python\python36\site-packages (from pipenv)
Requirement already satisfied: background in c:\users\administrator\appdata\roam
ing\python\python36\site-packages (from pipenv)
Requirement already satisfied: setuptools>=36.3.0 in c:\users\administrator\appd
ata\roaming\python\python36\site-packages (from pipenv)
Requirement already satisfied: pew>=0.1.26 in c:\users\administrator\appdata\roa
ming\python\python36\site-packages (from pipenv)
Requirement already satisfied: click>=6 in c:\users\administrator\appdata\roamin
g\python\python36\site-packages (from pip-tools>=1.9.0->pipenv)
Requirement already satisfied: six in c:\python36\lib\site-packages (from pip-to
ols>=1.9.0->pipenv)
Requirement already satisfied: first in c:\users\administrator\appdata\roaming\p
ython\python36\site-packages (from pip-tools>=1.9.0->pipenv)
Requirement already satisfied: futures in c:\users\administrator\appdata\roaming
\python\python36\site-packages (from background->pipenv)
Requirement already satisfied: virtualenv-clone>=0.2.5 in c:\users\administrator
\appdata\roaming\python\python36\site-packages (from pew>=0.1.26->pipenv)
Requirement already satisfied: pythonz-bd>=1.10.2 in c:\users\administrator\appd
ata\roaming\python\python36\site-packages (from pew>=0.1.26->pipenv)
Requirement already satisfied: resumable-urlretrieve; python_version == "3.6" in
c:\users\administrator\appdata\roaming\python\python36\site-packages (from pyth
onz-bd>=1.10.2->pew>=0.1.26->pipenv)
Requirement already satisfied: requests in c:\python36\lib\site-packages (from r
esumable-urlretrieve; python_version == "3.6"->pythonz-bd>=1.10.2->pew>=0.1.26->
pipenv)
The question is very simple, but mostly code to show you guy what I'm seeing. So this is basically filler text so that StackOverflow stops flagging that the question is mostly code. Please help.
The right way to upgrade is upgrade:
pip install --upgrade pipenv