plain-sundown-25537
01/17/2020, 4:11 PMipython_requirements: ['ipython~=5.8.0; python_version<3']
?hundreds-father-404
01/17/2020, 4:13 PMplain-sundown-25537
01/17/2020, 6:10 PMhundreds-father-404
01/17/2020, 7:39 PMipython_requirements: ['ipython==5.8.0; python_version<3', 'ipython==6.2.0; python_version>=3',]
Does that work?calm-artist-46894
01/17/2020, 8:34 PMTraceback (most recent call last):
File "/home/zxiong/cruise/mlp-ark/.pants.d/repl/py/CPython-2.7.15/8f140806ba7bbfd55992eb790c58eb4cd2b37b59/.bootstrap/pex/pex.py", line 397, in execute
exit_code = self._wrap_coverage(self._wrap_profiling, self._execute)
File "/home/zxiong/cruise/mlp-ark/.pants.d/repl/py/CPython-2.7.15/8f140806ba7bbfd55992eb790c58eb4cd2b37b59/.bootstrap/pex/pex.py", line 329, in _wrap_coverage
return runner(*args)
File "/home/zxiong/cruise/mlp-ark/.pants.d/repl/py/CPython-2.7.15/8f140806ba7bbfd55992eb790c58eb4cd2b37b59/.bootstrap/pex/pex.py", line 360, in _wrap_profiling
return runner(*args)
File "/home/zxiong/cruise/mlp-ark/.pants.d/repl/py/CPython-2.7.15/8f140806ba7bbfd55992eb790c58eb4cd2b37b59/.bootstrap/pex/pex.py", line 442, in _execute
return self.execute_entry(self._pex_info.entry_point)
File "/home/zxiong/cruise/mlp-ark/.pants.d/repl/py/CPython-2.7.15/8f140806ba7bbfd55992eb790c58eb4cd2b37b59/.bootstrap/pex/pex.py", line 540, in execute_entry
return runner(entry_point)
File "/home/zxiong/cruise/mlp-ark/.pants.d/repl/py/CPython-2.7.15/8f140806ba7bbfd55992eb790c58eb4cd2b37b59/.bootstrap/pex/pex.py", line 554, in execute_pkg_resources
runner = entry.resolve()
File "/home/zxiong/cruise/mlp-ark/.pants.d/repl/py/CPython-2.7.15/8f140806ba7bbfd55992eb790c58eb4cd2b37b59/.bootstrap/pex/vendor/_vendored/setuptools/pkg_resources/__init__.py", line 2385, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
ImportError: No module named IPython
For py3, it works but resolve ipython to 7.11.1
(not the one specified, so I guess it is the default value or latest)
ps. I am not hijacking leozc’s thread, I work with himhappy-kitchen-89482
01/21/2020, 3:27 PMipython_requirements
is in the repl.py
section?hundreds-father-404
01/21/2020, 10:56 PM[repl.py]
ipython_requirements: [
"ipython==5.8.0 ; python_version<'3'",
"ipython==7.11.1 ; python_version>='3'",
]
Also run ./pants clean-all
the first time. We forgot to set fingerprint=True
so the cache is not invalidated 🤦♂️ I’ll put up a fix today for this. (Also, it’s not an issue with V2 🎉)ipython
subsystem, which will allow us to port ./pants repl
to V2 🙂