python - Error when installing python3 packages in Virtualenv using pip -


i trying install pytrend (included packages eg: numpy , pandas, ... ) in virtual environment, after activating venv , running

pip install pytrends 

the command line troughs error :

> command /root/environments/my_env/bin/python3 -c "import setuptools, > tokenize;__file__='/root/environments/my_env/build/lxml/setup.py';exec(compile(getattr(tokenize, > 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, > 'exec'))" install --record /tmp/pip-ibvjaren-record/install-record.txt > --single-version-externally-managed --compile --install-headers /root/environments/my_env/include/site/python3.4 failed error > code 1 in /root/environments/my_env/build/lxml storing debug log > failure in /root/.pip/pip.log 

i using python3.4 , ubuntu 14.04, did missed something?

edit 1: here /root/.pip/pip.log contents

> cleaning up...   removing temporary dir > /root/environments/my_env/build... command > /root/environments/my_env/bin/python3 -c "import setuptools, > tokenize;__file__='/root/environments/my_env/build/lxml/setup.py';exec(compile(getattr($ > exception information: traceback (most recent call last):   file > "/root/environments/my_env/lib/python3.4/site-packages/pip/basecommand.py", > line 122, in main >     status = self.run(options, args)   file "/root/environments/my_env/lib/python3.4/site-packages/pip/commands/install.py", > line 283, in run >     requirement_set.install(install_options, global_options, root=options.root_path)   file > "/root/environments/my_env/lib/python3.4/site-packages/pip/req.py", > line 1436, in install >     requirement.install(install_options, global_options, *args, **kwargs)   file "/root/environments/my_env/lib/python3.4/site-packages/pip/req.py", > line 707, in install >     cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=false)   file > "/root/environments/my_env/lib/python3.4/site-packages/pip/util.py", > line 715, in call_subprocess >     % (command_desc, proc.returncode, cwd)) pip.exceptions.installationerror: command > /root/environments/my_env/bin/python3 -c "import setuptools, > tokenize;__file__='/root/environments/my_env/build/lx$ 

ps : rebuilt vps os, issue not solved yet.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -