May-14-2020, 11:45 AM
Hello,
I need to run a Python script that contains the following lines :
1. What do the first lines do?
2. Can I get rid of them to run the script on Windows?
3. How do I check which packages I need to run it? Trial and error until it runs?
Thank you.
I need to run a Python script that contains the following lines :
#! /usr/bin/env nix-shell #! nix-shell -i python3 -p "python3.withPackages(ps: with ps; [pandas scipy requests (python3Packages.callPackage ./openrouteservice-py.nix {})])" import sys import os import pandas as pd import requests from time import sleep from scipy.spatial import Delaunay from threading import Lock import pickle from pathlib import Path import openrouteservice import jsonI have the following questions:
1. What do the first lines do?
2. Can I get rid of them to run the script on Windows?
3. How do I check which packages I need to run it? Trial and error until it runs?
Thank you.