question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pip install -e . doesn't work + 'manimgl' is not recognized as an internal or external command,

See original GitHub issue

I tried it last night and it worked perfectly, but after a restart it doesn’t work, says:

manimgl is not a recocgnized internal or external command

SO I delete everything, reclone it and do:

Code and Error

pip install -e .

and I get:

WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Defaulting to user installation because normal site-packages is not writeable
Obtaining file:///C:/Users/USER/Desktop/animation/manim
    ERROR: Command errored out with exit status 1:
     command: 'c:\program files\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\USER\\Desktop\\animation\\manim\\setup.py'"'"'; __file__='"'"'C:\\Users\\USER\\Desktop\\animation\\manim\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\USER\AppData\Local\Temp\pip-pip-egg-info-gbw01nwl'
         cwd: C:\Users\USER\Desktop\animation\manim\
    Complete output (16 lines):
    ERROR:root:Error parsing
    Traceback (most recent call last):
      File "c:\users\user\desktop\animation\manim\.eggs\pbr-5.5.1-py3.8.egg\pbr\core.py", line 96, in pbr
        attrs = util.cfg_to_args(path, dist.script_args)
      File "c:\users\user\desktop\animation\manim\.eggs\pbr-5.5.1-py3.8.egg\pbr\util.py", line 271, in cfg_to_args
        pbr.hooks.setup_hook(config)
      File "c:\users\user\desktop\animation\manim\.eggs\pbr-5.5.1-py3.8.egg\pbr\hooks\__init__.py", line 25, in setup_hook
        metadata_config.run()
      File "c:\users\user\desktop\animation\manim\.eggs\pbr-5.5.1-py3.8.egg\pbr\hooks\base.py", line 27, in run
        self.hook()
      File "c:\users\user\desktop\animation\manim\.eggs\pbr-5.5.1-py3.8.egg\pbr\hooks\metadata.py", line 25, in hook
        self.config['version'] = packaging.get_version(
      File "c:\users\user\desktop\animation\manim\.eggs\pbr-5.5.1-py3.8.egg\pbr\packaging.py", line 874, in get_version
        raise Exception("Versioning for this project requires either an sdist"
    Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name manimgl was given, but was not able to be found.
    error in setup command: Error parsing C:\Users\USER\Desktop\animation\manim\setup.cfg: Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name manimgl was given, but was not able to be found.
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
WARNING: You are using pip version 20.3.3; however, version 21.0.1 is available.
You should consider upgrading via the 'c:\program files\python38\python.exe -m pip install --upgrade pip' command.

Environment

Win10 64 bit: 1.0.0devs41: master 3.8:

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Envoy-VCcommented, Mar 8, 2021

i just got the same issue i solved it by reinstalling python (but only for the current user not all users) and then reinstalled manim u could try it and tell me if it works for you

1reaction
naveen521kkcommented, Feb 17, 2021

You need to clone this repository through git, you should not download the .zip file.

That’s a bad way of packaging… Normally, it should be possible to install directly from zip file. Essentially

pip install https://github.com/3b1b/manim/archive/master.zip

should work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

'pip' is not recognized as an internal or external command
Click OK three times, open a new window of cmd and type: pip . ... For me the command: ... It is possible...
Read more >
Manimgl Running error : r/manim - Reddit
'manimgl' is not recognized as an internal or external command, operable program or batch file. Environment: OS System: Windows 10 64 bit manim ......
Read more >
[SOLVED] pip is not recognized as an internal or ... - YouTube
Sometimes this shows up: The term ' pip ' is not recognized as the name of a cmdlet, function, script file, or operable...
Read more >
[SOLVED] pip is not recognized as an internal or ... - YouTube
The error read as: ' pip ' is not recognized as internal or external command, though you have already installed pip along with...
Read more >
HOW TO FIX - PIP IS NOT RECOGNIZED AS INTERNAL OR ...
HOW TO FIX - PIP IS NOT RECOGNIZED AS INTERNAL OR EXTERNAL COMMAND ERROR IN PYTHON || PIP ERRORREASON : IMPROPER SETTING OF...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found